mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
71 lines
4.2 KiB
JSON
71 lines
4.2 KiB
JSON
{
|
|
"name": "app",
|
|
"version": "3.0.2",
|
|
"description": "One Complete SRE and DevOps platform.",
|
|
"main": "index.ts",
|
|
"type": "module",
|
|
"dependencies": {
|
|
"eslint-plugin-progress": "^0.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.17.8",
|
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
"@babel/plugin-proposal-private-methods": "^7.16.11",
|
|
"@typescript-eslint/eslint-plugin": "^5.16.0",
|
|
"@typescript-eslint/parser": "^5.16.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"ejs-lint": "^1.2.1",
|
|
"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",
|
|
"eslint-plugin-unused-imports": "^2.0.0",
|
|
"husky": "^7.0.4",
|
|
"lint-staged": "^12.3.7",
|
|
"prettier": "^2.6.0"
|
|
},
|
|
"scripts": {
|
|
"count-total-lines-of-code": "git grep ^ | wc -l",
|
|
"uninstall": "docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q)",
|
|
"delete-all-local-branches": "git branch | grep -v 'master' | xargs git branch -D",
|
|
"lint": "ejslint home/views/*.ejs && eslint '**/*.ts' -c .eslintrc.json --ignore-path .eslintignore",
|
|
"fix-lint": "eslint '**/*.ts' -c .eslintrc.json --ignore-path .eslintignore --fix",
|
|
"fix": "npm run fix-lint",
|
|
"build": "docker-compose --env-file ./docker-enterprise.env build",
|
|
"build-dev": "docker-compose --env-file ./docker-enterprise.env -f docker-compose.dev.yml build $npm_config_services",
|
|
"ps-dev": "docker-compose -f docker-compose.dev.yml ps",
|
|
"logs-dev": "docker-compose -f docker-compose.dev.yml logs --tail=100 -f $npm_config_services",
|
|
"force-build-dev": "docker-compose --env-file ./docker-enterprise.env -f docker-compose.dev.yml build --no-cache $npm_config_services",
|
|
"prod": "docker-compose up -d",
|
|
"dev": "npm run start-enterprise-dev $npm_config_services",
|
|
"saas-dev": "export IS_SAAS_SERVICE=true && npm run dev $npm_config_services",
|
|
"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",
|
|
"stop-dev": "docker-compose -f docker-compose.dev.yml down --remove-orphans",
|
|
"staging-test": "cd tests && npm run-script staging-test",
|
|
"remove-all-containers": "docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q) || echo 'No running containers'",
|
|
"debug-staging-test": "cd tests && npm run-script debug-staging-test",
|
|
"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",
|
|
"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",
|
|
"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",
|
|
"prepare": "husky install"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://gitlab.com/oneuptime/app.git"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://gitlab.com/oneuptime/app/issues"
|
|
},
|
|
"homepage": "https://gitlab.com/oneuptime/app#readme"
|
|
}
|