|
15 | 15 | "test:black-box:pretty": "npm run test:black-box -- --verbose", |
16 | 16 | "lint": "./node_modules/.bin/tslint -c ./tslint.json -p tsconfig.json 'src/**/*.ts' --format stylish", |
17 | 17 | "transpile": "./node_modules/.bin/tsc", |
18 | | - "clean": "npm run clean:dist", |
19 | 18 | "clean:dist": "./node_modules/.bin/trash './dist'", |
20 | 19 | "copy:assets": "npm run copy:swagger && npm run copy:public", |
21 | 20 | "copy:swagger": "./node_modules/.bin/copyup ./src/api/swagger.json ./dist", |
|
28 | 27 | "console:dev": "npm run ts-node -- ./src/console/commander.ts", |
29 | 28 | "console:help": "npm run ts-node:fast -- ./src/console/commander.ts --help", |
30 | 29 | "setup": "npm run banner setup && yarn install && npm run db:migrate && npm run db:seed", |
31 | | - "serve": "npm run banner serve && npm run clean && ./node_modules/.bin/nodemon --watch 'src/**/*.ts' --watch 'src/**/*.json' --watch '.env'", |
| 30 | + "serve": "npm run banner serve && ./node_modules/.bin/nodemon --watch 'src/**/*.ts' --watch 'src/**/*.json' --watch '.env'", |
| 31 | + "clean": "npm run banner clean && npm run clean:dist", |
32 | 32 | "test": "npm run banner test && NODE_ENV=test ./node_modules/.bin/jest ./test/unit", |
33 | | - "build": "npm run banner build && npm run lint && npm run clean && npm run transpile && npm run copy:assets", |
| 33 | + "build": "npm run banner build && npm run lint && npm run clean:dist && npm run transpile && npm run copy:assets", |
34 | 34 | "start": "node dist/app.js" |
35 | 35 | }, |
36 | 36 | "repository": "git+ssh://git@github.com/w3tec/express-typescript-boilerplate.git", |
|
0 commit comments