|
21 | 21 | "format": "prettier --write \"src/**/*.ts\"",
|
22 | 22 | "lint": "eslint --ext .ts .",
|
23 | 23 | "start": "nest start",
|
24 |
| - "start:dev": "cross-env NODE_ENV=development SERVER_STATIC_CONTENT=1 nest start --watch", |
| 24 | + "start:dev": "cross-env NODE_ENV=development BUILD_TYPE=DOCKER_ON_PREMISE SERVER_STATIC_CONTENT=1 nest start --watch", |
25 | 25 | "start:debug": "nest start --debug --watch",
|
26 | 26 | "start:stage": "cross-env NODE_ENV=staging SERVER_STATIC_CONTENT=true node dist/src/main",
|
27 | 27 | "start:prod": "cross-env NODE_ENV=production node dist/src/main",
|
|
32 | 32 | "test:e2e": "jest --config ./test/jest-e2e.json -w 1",
|
33 | 33 | "typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -d ./config/ormconfig.ts",
|
34 | 34 | "test:api": "cross-env NODE_ENV=test ts-mocha --paths -p test/api/api.tsconfig.json --config ./test/api/.mocharc.yml",
|
35 |
| - "test:api:cov": "nyc --reporter=html --reporter=text --reporter=text-summary yarn run test:api", |
36 |
| - "test:api:ci:cov": "nyc -r text -r text-summary -r html yarn run test:api --reporter mocha-multi-reporters --reporter-options configFile=test/api/reporters.json && nyc merge .nyc_output ./coverage/test-run-coverage.json", |
| 35 | + "test:api:cov": "cross-env BUILD_TYPE=DOCKER_ON_PREMISE nyc --reporter=html --reporter=text --reporter=text-summary yarn run test:api", |
| 36 | + "test:api:ci:cov": "cross-env BUILD_TYPE=DOCKER_ON_PREMISE nyc -r text -r text-summary -r html yarn run test:api --reporter mocha-multi-reporters --reporter-options configFile=test/api/reporters.json && nyc merge .nyc_output ./coverage/test-run-coverage.json", |
37 | 37 | "typeorm:migrate": "cross-env NODE_ENV=staging yarn typeorm migration:generate ./migration/migration",
|
38 | 38 | "typeorm:run": "yarn typeorm migration:run"
|
39 | 39 | },
|
|
0 commit comments