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": {
|
2022-08-13 22:01:50 +00:00
|
|
|
"@types/lodash": "^4.14.182",
|
2022-09-28 11:48:58 +00:00
|
|
|
"eslint-plugin-progress": "^0.0.1",
|
2022-12-15 07:06:31 +00:00
|
|
|
"the-new-css-reset": "^1.7.3",
|
|
|
|
"ts-node": "^10.9.1",
|
2023-04-12 10:49:01 +00:00
|
|
|
"typeorm": "^0.3.14"
|
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",
|
2020-02-27 10:02:58 +00:00
|
|
|
"babel-eslint": "^10.1.0",
|
2022-12-18 11:55:03 +00:00
|
|
|
"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",
|
2023-04-25 08:03:17 +00:00
|
|
|
"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": {
|
2022-11-09 12:53:55 +00:00
|
|
|
"config-to-dev": "ts-node-esm ./Scripts/Install/ReplaceValueInConfig.ts ENVIRONMENT development",
|
|
|
|
"config-to-ci": "ts-node-esm ./Scripts/Install/ReplaceValueInConfig.ts ENVIRONMENT ci",
|
2022-11-09 19:23:26 +00:00
|
|
|
"config-to-test": "ts-node-esm ./Scripts/Install/ReplaceValueInConfig.ts ENVIRONMENT test && ts-node-esm ./Scripts/Install/ReplaceValueInConfig.ts APP_TAG test",
|
2022-11-09 12:53:55 +00:00
|
|
|
"config-to-production": "ts-node-esm ./Scripts/Install/ReplaceValueInConfig.ts 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 ",
|
2022-10-19 18:28:08 +00:00
|
|
|
"fix-lint": " node --max_old_space_size=18192 ./node_modules/.bin/eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore --fix ",
|
2021-06-15 18:11:29 +00:00
|
|
|
"fix": "npm run fix-lint",
|
2023-07-19 13:21:39 +00:00
|
|
|
"start": "export $(grep -v '^#' config.env | xargs) && docker compose up --remove-orphans -d $npm_config_services && bash status-check.sh",
|
2023-07-19 11:42:33 +00:00
|
|
|
"ps": "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-07-19 11:25:50 +00:00
|
|
|
"build": "docker compose build -f docker-compose.dev.yml $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-19 13:51:39 +00:00
|
|
|
"dev": "npm run config-to-dev && export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.dev.yml up --remove-orphans -d $npm_config_services",
|
2022-12-07 07:49:18 +00:00
|
|
|
"stop": "docker compose down --remove-orphans",
|
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",
|
2023-07-19 11:44:29 +00:00
|
|
|
"update": "export $(grep -v '^#' config.env | xargs) && docker compose pull && npm run start"
|
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
|
|
|
}
|