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.",
|
2022-03-02 11:18:11 +00:00
|
|
|
"main": "index.ts",
|
2022-02-25 13:25:16 +00:00
|
|
|
"type": "module",
|
2022-02-07 18:19:50 +00:00
|
|
|
"dependencies": {
|
|
|
|
"eslint-plugin-progress": "^0.0.1"
|
|
|
|
},
|
2020-02-27 10:02:58 +00:00
|
|
|
"devDependencies": {
|
2022-03-19 17:00:54 +00:00
|
|
|
"@babel/core": "^7.17.8",
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
|
|
"@babel/plugin-proposal-private-methods": "^7.16.11",
|
2022-03-25 20:24:05 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.16.0",
|
2022-03-22 10:34:57 +00:00
|
|
|
"@typescript-eslint/parser": "^5.16.0",
|
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",
|
2022-03-19 17:00:54 +00:00
|
|
|
"eslint": "^8.11.0",
|
|
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
|
|
"eslint-config-prettier": "^8.5.0",
|
|
|
|
"eslint-plugin-import": "^2.25.4",
|
|
|
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
|
|
"eslint-plugin-react": "^7.29.4",
|
|
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
2022-03-19 17:01:37 +00:00
|
|
|
"eslint-plugin-unused-imports": "^2.0.0",
|
2022-04-25 19:17:48 +00:00
|
|
|
"husky": "^7.0.0",
|
2022-03-19 17:00:54 +00:00
|
|
|
"lint-staged": "^12.3.7",
|
|
|
|
"prettier": "^2.6.0"
|
2020-02-27 10:02:58 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2022-05-19 12:59:34 +00:00
|
|
|
"typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js",
|
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-06-06 13:11:30 +00:00
|
|
|
"lint": "ejslint home/views/*.ejs && eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore ",
|
2022-06-06 13:08:59 +00:00
|
|
|
"fix-lint": "eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore --fix ",
|
2021-06-15 18:11:29 +00:00
|
|
|
"fix": "npm run fix-lint",
|
2022-03-15 22:36:40 +00:00
|
|
|
"build": "docker-compose --env-file ./docker-enterprise.env build",
|
2022-04-23 10:50:27 +00:00
|
|
|
"build-ci": "docker-compose --env-file ./docker-enterprise.env -f docker-compose.ci.yml build $npm_config_services",
|
2022-03-15 22:36:40 +00:00
|
|
|
"build-dev": "docker-compose --env-file ./docker-enterprise.env -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-03-15 22:36:40 +00:00
|
|
|
"force-build-dev": "docker-compose --env-file ./docker-enterprise.env -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",
|
2022-05-05 20:29:22 +00:00
|
|
|
"start-enterprise-ci": "export DOCKER_CLIENT_TIMEOUT=1000 && export COMPOSE_HTTP_TIMEOUT=1000 && docker-compose -f docker-compose.ci.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",
|
2022-05-22 11:38:15 +00:00
|
|
|
"prune": "docker system prune",
|
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",
|
2022-04-11 13:11:16 +00:00
|
|
|
"ci-docker-saas-InitScript": "export NODE_ENV=ci && npm run remove-all-containers && docker-compose build InitScript && docker compose --env-file=./docker-compose-saas-ci.env up -d InitScript",
|
|
|
|
"ci-docker-enterprise-InitScript": "export NODE_ENV=ci && npm run remove-all-containers && docker-compose build InitScript && docker compose --env-file=./docker-compose-enterprise-ci.env up -d InitScript",
|
2022-03-19 17:01:37 +00:00
|
|
|
"prepare": "husky install"
|
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": "",
|
2022-04-30 13:25:36 +00:00
|
|
|
"license": "MIT",
|
2020-02-27 10:02:58 +00:00
|
|
|
"bugs": {
|
2021-11-24 07:42:40 +00:00
|
|
|
"url": "https://gitlab.com/oneuptime/app/issues"
|
2020-02-27 10:02:58 +00:00
|
|
|
},
|
2022-03-19 17:01:37 +00:00
|
|
|
"homepage": "https://gitlab.com/oneuptime/app#readme"
|
2019-12-31 12:49:12 +00:00
|
|
|
}
|