oneuptime/package.json

80 lines
4.4 KiB
JSON
Raw Normal View History

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",
2023-04-25 08:59:11 +00:00
"description": "One Complete Observability platform.",
2022-09-28 10:40:03 +00:00
"main": "ts",
2022-02-25 13:25:16 +00:00
"type": "module",
2022-02-07 18:19:50 +00:00
"dependencies": {
"@types/lodash": "^4.14.201",
2022-09-28 11:48:58 +00:00
"eslint-plugin-progress": "^0.0.1",
2022-12-15 07:06:31 +00:00
"ts-node": "^10.9.1",
"typeorm": "^0.3.17"
2022-02-07 18:19:50 +00:00
},
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",
"@babel/eslint-parser": "^7.11.0",
"ejs-lint": "^1.2.2",
2022-08-14 09:21:38 +00:00
"eslint": "^8.22.0",
2022-03-19 17:00:54 +00:00
"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",
"lint-staged": "^13.2.1",
2022-12-17 07:21:42 +00:00
"nodemon": "^2.0.20",
2022-03-19 17:00:54 +00:00
"prettier": "^2.6.0"
2020-02-27 10:02:58 +00:00
},
"scripts": {
2023-11-03 15:57:05 +00:00
"config-to-dev": "node ./Scripts/Install/ReplaceValueInConfig.js ENVIRONMENT development",
"config-to-ci": "node ./Scripts/Install/ReplaceValueInConfig.js ENVIRONMENT ci",
"config-to-test": "node ./Scripts/Install/ReplaceValueInConfig.js ENVIRONMENT test && node ./Scripts/Install/ReplaceValueInConfig.js APP_TAG test",
"config-to-production": "node ./Scripts/Install/ReplaceValueInConfig.js ENVIRONMENT production",
2023-06-12 09:42:43 +00:00
"prerun": "bash configure.sh",
2022-05-19 12:59:34 +00:00
"typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js",
2022-11-08 18:22:22 +00:00
"uninstall": "bash uninstall.sh",
2023-07-08 13:18:05 +00:00
"lint": "ejslint **/*.ejs && eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore ",
2023-09-22 11:53:26 +00:00
"fix-lint": " node --max_old_space_size=18192 ./node_modules/.bin/eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore --fix --cache",
2021-06-15 18:11:29 +00:00
"fix": "npm run fix-lint",
2023-09-29 13:24:59 +00:00
"status-check": "bash ./Tests/Scripts/status-check.sh $npm_config_services",
"start": "export $(grep -v '^#' config.env | xargs) && docker compose up --remove-orphans -d $npm_config_services && npm run status-check",
2023-10-10 10:16:22 +00:00
"ps": "export $(grep -v '^#' config.env | xargs) && docker compose ps",
2023-07-19 14:13:05 +00:00
"save-logs": "export $(grep -v '^#' config.env | xargs) && docker compose logs --tail=100000 $npm_config_services > logs.txt",
"logs": "export $(grep -v '^#' config.env | xargs) && docker compose logs --tail=100 -f $npm_config_services",
"write-logs": "export $(grep -v '^#' config.env | xargs) && docker compose logs -f $npm_config_services > logs.txt",
2023-10-02 11:13:37 +00:00
"build": "export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.dev.yml build $npm_config_services",
2023-07-21 11:09:46 +00:00
"force-build": "export $(grep -v '^#' config.env | xargs) && npm run prerun && docker compose -f docker-compose.dev.yml build --no-cache $npm_config_services",
2022-11-09 14:05:16 +00:00
"force-build-dev": "npm run config-to-dev && npm run force-build",
2022-11-08 18:22:22 +00:00
"kill": "npm run stop",
2023-07-19 11:42:33 +00:00
"prod": "npm run config-to-prod && export $(grep -v '^#' config.env | xargs) && docker compose up -f docker-compose.yml -d",
2023-07-31 09:51:17 +00:00
"dev": "npm run config-to-dev && npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.dev.yml up --remove-orphans -d $npm_config_services",
2023-09-13 06:56:20 +00:00
"stop": "export $(grep -v '^#' config.env | xargs) && docker compose down --remove-orphans",
"down": "npm run stop",
2023-10-10 12:49:48 +00:00
"exec": "export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.yml exec -it",
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'",
2022-12-12 09:56:01 +00:00
"prepare": "husky install",
2023-07-19 11:25:50 +00:00
"backup": "bash backup.sh",
"update": "npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose pull && npm run start",
"dep-check": "npm install -g depcheck && depcheck ./ --skip-missing=true"
2020-02-27 10:02:58 +00:00
},
"repository": {
"type": "git",
"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": {
"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
}