oneuptime/package.json

77 lines
3.6 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",
2020-07-31 11:39:10 +00:00
"description": "One Complete SRE and DevOps 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",
"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",
"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",
2022-03-19 17:00:54 +00:00
"lint-staged": "^12.3.7",
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",
2022-11-09 13:13:16 +00:00
"prerun": "bash preinstall.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",
2022-06-06 13:11:30 +00:00
"lint": "ejslint home/views/*.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",
2022-12-07 08:38:02 +00:00
"start": "sudo docker compose up -d $npm_config_services",
"ps": "sudo docker compose ps",
2023-03-15 10:38:58 +00:00
"save-logs": "sudo docker compose logs $npm_config_services > logs.txt",
2022-12-07 08:38:02 +00:00
"logs": "sudo docker compose logs --tail=100 -f $npm_config_services",
"write-logs": "sudo docker compose logs -f $npm_config_services > logs.txt",
2022-12-16 06:45:28 +00:00
"build": "npm run prerun && sudo docker compose build $npm_config_services",
2023-02-10 11:08:15 +00:00
"force-build": "npm run prerun && sudo docker compose 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",
2022-12-07 07:49:18 +00:00
"prod": "npm run prerun && docker compose up -d",
2022-11-09 12:53:55 +00:00
"dev": "npm run config-to-dev && npm run prerun && npm run start $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",
2022-12-28 14:35:55 +00:00
"backup": "sudo bash backup.sh",
"update": "npm run prerun && sudo docker compose pull && npm run start"
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
}