oneuptime/package.json

86 lines
6.0 KiB
JSON
Raw Normal View History

2019-12-31 12:49:12 +00:00
{
"name": "@oneuptime/root",
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.17.5",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-unused-imports": "^3.2.0",
"globals": "^15.6.0",
"jest": "^29.7.0",
2024-05-30 18:39:07 +00:00
"mailparser": "^3.7.1",
"ts-node": "^10.9.2",
"typeorm": "^0.3.20"
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",
"@eslint/js": "^9.4.0",
"@types/eslint__js": "^8.42.3",
"ejs-lint": "^1.2.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
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",
"prettier": "3.3.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.13.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",
"lint": "export NODE_OPTIONS='--max-old-space-size=8096' && npx eslint .",
"fix-lint": "export NODE_OPTIONS='--max-old-space-size=8096' && npx eslint . --fix",
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",
"dev-llm": "npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.llm.yml up --remove-orphans -d $npm_config_services",
"start-llm": "npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.llm.yml up --remove-orphans -d $npm_config_services",
"build-llm": "npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.llm.yml build $npm_config_services",
"force-build-llm": "npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.llm.yml build --no-cache $npm_config_services",
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",
2024-01-29 13:29:35 +00:00
"pull": "export $(grep -v '^#' config.env | xargs) && docker compose pull",
"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",
"run-probes": "export $(grep -v '^#' config.env | xargs) && docker compose up --remove-orphans -d probe-1 probe-2",
"deploy-test": "kubectl config use-context oneuptime-test && helm upgrade oneuptime ./HelmChart/Public/oneuptime -f ./HelmChart/Public/oneuptime/values.yaml -f ./HelmChart/Values/test.values.yaml",
"template-deploy-test": "kubectl config use-context oneuptime-test && helm template oneuptime ./HelmChart/Public/oneuptime -f ./HelmChart/Public/oneuptime/values.yaml -f ./HelmChart/Values/test.values.yaml --debug",
"deploy-prod": "kubectl config use-context oneuptime-prod && helm upgrade oneuptime ./HelmChart/Public/oneuptime -f ./HelmChart/Public/oneuptime/values.yaml -f ./HelmChart/Values/prod.values.yaml",
"generate-postgres-migration": "export $(grep -v '^#' config.env | xargs) && node --require ts-node/register ./node_modules/typeorm/cli.js migration:generate ./Common/Server/Infrastructure/Postgres/SchemaMigrations/MigrationName -d ./Common/Server/Infrastructure/Postgres/LocalMigrationGenerationDataSource.ts"
2020-02-27 10:02:58 +00:00
},
"repository": {
"type": "git",
"url": "git+https://github.com/oneuptime/oneuptime.git"
2020-02-27 10:02:58 +00:00
},
"keywords": [],
"author": "OneUptime <hello@oneuptime.com> (https://oneuptime.com/)",
"license": "Apache-2.0",
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"
}