|
4 | 4 | "description": "",
|
5 | 5 | "private": true,
|
6 | 6 | "scripts": {
|
7 |
| - "watch": "NODE_ENV=development HOST_MODE=development tsc-watch --build --onSuccess \"node start-dev.js\"", |
8 |
| - "watch-yaml-parse-test": "NODE_ENV=development HOST_MODE=development tsc-watch --build --onSuccess \"node dist/yamlParseTest.js\"", |
| 7 | + "watch": "tsc-watch --build --onSuccess \"node start-dev.js\"", |
| 8 | + "watch-yaml-parse-test": "tsc-watch --build --onSuccess \"node dist/yamlParseTest.js\"", |
9 | 9 | "build": "tsc --build",
|
10 |
| - "start-bot-dev": "NODE_ENV=development HOST_MODE=development node --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9229 dist/index.js", |
11 |
| - "start-bot-dev-debug": "NODE_ENV=development DEBUG=true clinic heapprofiler --collect-only --dest .clinic-bot -- node --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9229 dist/index.js", |
12 |
| - "start-bot-prod": "cross-env NODE_ENV=production node --enable-source-maps --stack-trace-limit=30 dist/index.js", |
13 |
| - "start-bot-prod-debug": "NODE_ENV=production DEBUG=true clinic heapprofiler --collect-only --dest .clinic-bot -- node --enable-source-maps --stack-trace-limit=30 dist/index.js", |
14 |
| - "watch-bot": "NODE_ENV=development HOST_MODE=development tsc-watch --build --onSuccess \"npm run start-bot-dev\"", |
15 |
| - "start-api-dev": "NODE_ENV=development HOST_MODE=development node --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9239 dist/api/index.js", |
16 |
| - "start-api-dev-debug": "NODE_ENV=development DEBUG=true clinic heapprofiler --collect-only --dest .clinic-api -- node --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9239 dist/api/index.js", |
17 |
| - "start-api-prod": "cross-env NODE_ENV=production node --enable-source-maps --stack-trace-limit=30 dist/api/index.js", |
18 |
| - "start-api-prod-debug": "NODE_ENV=production DEBUG=true clinic heapprofiler --collect-only --dest .clinic-api -- node --enable-source-maps --stack-trace-limit=30 dist/api/index.js", |
19 |
| - "watch-api": "NODE_ENV=development HOST_MODE=development tsc-watch --build --onSuccess \"npm run start-api-dev\"", |
| 10 | + "start-bot-dev": "node --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9229 dist/index.js", |
| 11 | + "start-bot-dev-debug": "DEBUG=true clinic heapprofiler --collect-only --dest .clinic-bot -- node --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9229 dist/index.js", |
| 12 | + "start-bot-prod": "node --enable-source-maps --stack-trace-limit=30 dist/index.js", |
| 13 | + "start-bot-prod-debug": "DEBUG=true clinic heapprofiler --collect-only --dest .clinic-bot -- node --enable-source-maps --stack-trace-limit=30 dist/index.js", |
| 14 | + "watch-bot": "tsc-watch --build --onSuccess \"npm run start-bot-dev\"", |
| 15 | + "start-api-dev": "node --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9239 dist/api/index.js", |
| 16 | + "start-api-dev-debug": "DEBUG=true clinic heapprofiler --collect-only --dest .clinic-api -- node --enable-source-maps --stack-trace-limit=30 --inspect=0.0.0.0:9239 dist/api/index.js", |
| 17 | + "start-api-prod": "node --enable-source-maps --stack-trace-limit=30 dist/api/index.js", |
| 18 | + "start-api-prod-debug": "clinic heapprofiler --collect-only --dest .clinic-api -- node --enable-source-maps --stack-trace-limit=30 dist/api/index.js", |
| 19 | + "watch-api": "tsc-watch --build --onSuccess \"npm run start-api-dev\"", |
20 | 20 | "typeorm": "node ../node_modules/typeorm/cli.js",
|
21 | 21 | "migrate": "npm run typeorm -- migration:run -d dist/data/dataSource.js",
|
22 |
| - "migrate-prod": "NODE_ENV=production npm run migrate", |
23 |
| - "migrate-dev": "(export NODE_ENV=development; export HOST_MODE=development; npm run build && npm run migrate)", |
| 22 | + "migrate-prod": "npm run migrate", |
| 23 | + "migrate-dev": "npm run build && npm run migrate", |
24 | 24 | "migrate-rollback": "npm run typeorm -- migration:revert -d dist/data/dataSource.js",
|
25 |
| - "migrate-rollback-prod": "NODE_ENV=production npm run migrate-rollback", |
26 |
| - "migrate-rollback-dev": "(export NODE_ENV=development; export HOST_MODE=development; npm run build && npm run migrate-rollback)", |
27 |
| - "validate-active-configs": "NODE_ENV=development HOST_MODE=development node --enable-source-maps dist/validateActiveConfigs.js > ../config-errors.txt", |
28 |
| - "export-config-json-schema": "NODE_ENV=development HOST_MODE=development node --enable-source-maps dist/exportSchemas.js > ../config-schema.json", |
| 25 | + "migrate-rollback-prod": "npm run migrate-rollback", |
| 26 | + "migrate-rollback-dev": "npm run build && npm run migrate-rollback", |
| 27 | + "validate-active-configs": "node --enable-source-maps dist/validateActiveConfigs.js > ../config-errors.txt", |
| 28 | + "export-config-json-schema": "node --enable-source-maps dist/exportSchemas.js > ../config-schema.json", |
29 | 29 | "test": "npm run build && npm run run-tests",
|
30 | 30 | "run-tests": "ava",
|
31 | 31 | "test-watch": "tsc-watch --build --onSuccess \"npx ava\""
|
|
0 commit comments