fix pakcage.json

This commit is contained in:
Simon Larsen
2022-11-08 19:02:25 +00:00
parent 57ea26b5d2
commit 91c21d994a

View File

@@ -31,17 +31,19 @@
"prettier": "^2.6.0"
},
"scripts": {
"config-to-dev": "npm run prerun && node ./Scripts/Install/ReplaceValueInConfig.js ENVIRONMENT development",
"config-to-test": "npm run prerun && node ./Scripts/Install/ReplaceValueInConfig.js ENVIRONMENT test",
"config-to-production": "npm run prerun && node ./Scripts/Install/ReplaceValueInConfig.js ENVIRONMENT production",
"prerun": "sudo bash preinstall.sh",
"typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js",
"uninstall": "bash uninstall.sh",
"lint": "ejslint home/views/*.ejs && eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore ",
"fix-lint": " node --max_old_space_size=18192 ./node_modules/.bin/eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore --fix ",
"fix": "npm run fix-lint",
"build": "npm run prerun && node ./Scripts/Install/ReplaceValueInConfig.js ENVIRONMENT development && npm run prerun && docker-compose build",
"build-dev": "npm run prerun && docker-compose build $npm_config_services",
"build": "npm run config-to-dev && docker-compose build",
"ps": "docker-compose ps",
"logs": "docker-compose logs --tail=100 -f $npm_config_services",
"force-build-dev": "npm run prerun && docker-compose build --no-cache $npm_config_services",
"force-build": "npm run config-to-dev && docker-compose build --no-cache $npm_config_services",
"kill": "npm run stop",
"prod": "npm run prerun && docker-compose up -d",
"dev": "npm run prerun && npm run start-enterprise-dev $npm_config_services",