2019-12-31 12:49:12 +00:00
|
|
|
{
|
2020-02-27 10:02:58 +00:00
|
|
|
"name": "app",
|
2021-03-06 12:46:51 +00:00
|
|
|
"version": "3.0.2",
|
2020-07-31 11:39:10 +00:00
|
|
|
"description": "One Complete SRE and DevOps platform.",
|
2020-02-27 10:02:58 +00:00
|
|
|
"main": "index.js",
|
2022-02-07 18:19:50 +00:00
|
|
|
"dependencies": {
|
|
|
|
"eslint-plugin-progress": "^0.0.1"
|
|
|
|
},
|
2020-02-27 10:02:58 +00:00
|
|
|
"devDependencies": {
|
2020-06-17 14:20:47 +00:00
|
|
|
"@babel/core": "^7.10.2",
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.10.1",
|
|
|
|
"@babel/plugin-proposal-private-methods": "^7.10.1",
|
2020-02-27 10:02:58 +00:00
|
|
|
"babel-eslint": "^10.1.0",
|
2022-02-07 18:19:50 +00:00
|
|
|
"ejs-lint": "^1.2.1",
|
2020-02-27 10:02:58 +00:00
|
|
|
"eslint": "^6.8.0",
|
2020-12-18 06:34:10 +00:00
|
|
|
"eslint-config-airbnb": "^18.2.1",
|
2020-02-27 10:02:58 +00:00
|
|
|
"eslint-config-prettier": "^6.10.0",
|
2020-12-18 06:34:10 +00:00
|
|
|
"eslint-plugin-import": "^2.22.1",
|
|
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
2020-02-27 10:02:58 +00:00
|
|
|
"eslint-plugin-prettier": "^3.1.2",
|
2020-12-08 09:18:58 +00:00
|
|
|
"eslint-plugin-react": "^7.21.5",
|
2020-12-18 06:34:10 +00:00
|
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
2020-12-08 16:57:55 +00:00
|
|
|
"husky": "^4.3.5",
|
2020-02-27 10:02:58 +00:00
|
|
|
"lint-staged": "^9.5.0",
|
|
|
|
"prettier": "^1.19.1"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2022-02-12 15:57:55 +00:00
|
|
|
"count-total-lines-of-code": "git grep ^ | wc -l",
|
2021-07-13 13:21:20 +00:00
|
|
|
"uninstall": "docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q)",
|
2020-02-27 10:02:58 +00:00
|
|
|
"delete-all-local-branches": "git branch | grep -v 'master' | xargs git branch -D",
|
2022-01-18 17:59:51 +00:00
|
|
|
"lint": "ejslint home/views/*.ejs && eslint '**/*.js' -c .eslintrc.json --ignore-path .eslintignore",
|
2021-04-22 21:26:06 +00:00
|
|
|
"fix-lint": "eslint '**/*.js' -c .eslintrc.json --ignore-path .eslintignore --fix",
|
2021-06-15 18:11:29 +00:00
|
|
|
"fix": "npm run fix-lint",
|
2021-06-21 20:42:05 +00:00
|
|
|
"build": "docker-compose build",
|
2021-06-24 20:33:37 +00:00
|
|
|
"build-dev": "docker-compose -f docker-compose.dev.yml build $npm_config_services",
|
2022-02-05 19:30:34 +00:00
|
|
|
"ps-dev": "docker-compose -f docker-compose.dev.yml ps",
|
2022-02-21 12:08:52 +00:00
|
|
|
"logs-dev": "docker-compose -f docker-compose.dev.yml logs --tail=100 -f $npm_config_services",
|
2022-01-24 19:19:16 +00:00
|
|
|
"force-build-dev": "docker-compose -f docker-compose.dev.yml build --no-cache $npm_config_services",
|
2021-06-22 09:32:09 +00:00
|
|
|
"prod": "docker-compose up -d",
|
2022-01-21 22:49:08 +00:00
|
|
|
"dev": "npm run start-enterprise-dev $npm_config_services",
|
2021-06-24 20:37:57 +00:00
|
|
|
"saas-dev": "export IS_SAAS_SERVICE=true && npm run dev $npm_config_services",
|
2022-01-18 16:38:06 +00:00
|
|
|
"start-enterprise-dev": "export DOCKER_CLIENT_TIMEOUT=1000 && export COMPOSE_HTTP_TIMEOUT=1000 && docker-compose -f docker-compose.dev.yml up -d $npm_config_services",
|
2021-06-22 20:06:27 +00:00
|
|
|
"stop-dev": "docker-compose -f docker-compose.dev.yml down --remove-orphans",
|
2021-04-30 18:56:46 +00:00
|
|
|
"staging-test": "cd tests && npm run-script staging-test",
|
2021-05-19 19:04:05 +00:00
|
|
|
"remove-all-containers": "docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q) || echo 'No running containers'",
|
2021-05-11 19:23:31 +00:00
|
|
|
"debug-staging-test": "cd tests && npm run-script debug-staging-test",
|
2022-02-09 22:14:43 +00:00
|
|
|
"docker-enterprise-test": "npm install && npm run remove-all-containers && docker-compose build && docker-compose --env-file=./docker-compose-enterprise-ci.env up -d && cd tests && npm run-script enterprise-test",
|
|
|
|
"docker-saas-test": "npm install && npm run remove-all-containers && docker-compose build && docker-compose --env-file=./docker-compose-saas-ci.env up -d && cd tests && npm run-script saas-test",
|
2021-06-24 10:59:30 +00:00
|
|
|
"ci-docker-enterprise": "export NODE_ENV=ci && npm run remove-all-containers && docker-compose build && docker-compose --env-file=./docker-compose-enterprise-ci.env up -d",
|
|
|
|
"ci-docker-saas": "export NODE_ENV=ci && npm run remove-all-containers && docker-compose build && docker-compose --env-file=./docker-compose-saas-ci.env up -d",
|
|
|
|
"ci-docker-saas-init-script": "export NODE_ENV=ci && npm run remove-all-containers && docker-compose build init-script && docker compose --env-file=./docker-compose-saas-ci.env up -d init-script",
|
|
|
|
"ci-docker-enterprise-init-script": "export NODE_ENV=ci && npm run remove-all-containers && docker-compose build init-script && docker compose --env-file=./docker-compose-enterprise-ci.env up -d init-script"
|
2020-02-27 10:02:58 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2021-11-24 07:42:40 +00:00
|
|
|
"url": "git+https://gitlab.com/oneuptime/app.git"
|
2020-02-27 10:02:58 +00:00
|
|
|
},
|
|
|
|
"keywords": [],
|
|
|
|
"author": "",
|
|
|
|
"license": "ISC",
|
|
|
|
"bugs": {
|
2021-11-24 07:42:40 +00:00
|
|
|
"url": "https://gitlab.com/oneuptime/app/issues"
|
2020-02-27 10:02:58 +00:00
|
|
|
},
|
2021-11-24 07:42:40 +00:00
|
|
|
"homepage": "https://gitlab.com/oneuptime/app#readme",
|
2020-02-27 10:02:58 +00:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"./**/*.{json,yml,yaml,md}": [
|
|
|
|
"prettier --write --config .prettierrc.json",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"./**/*.{js}": [
|
|
|
|
"eslint -c .eslintrc.json --ignore-path .eslintignore --fix",
|
|
|
|
"git add"
|
|
|
|
]
|
2019-12-31 12:49:12 +00:00
|
|
|
}
|
|
|
|
}
|