|
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:src && npm run clean:knex", |
19 | | - "clean:src": "./node_modules/.bin/trash './src/**/*.js' './src/**/*.js.map'", |
20 | | - "clean:knex": "./node_modules/.bin/trash knexfile.js knexfile.js.map", |
| 18 | + "clean": "npm run clean:dist", |
| 19 | + "clean:dist": "./node_modules/.bin/trash './dist'", |
21 | 20 | "copy:assets": "npm run copy:swagger && npm run copy:public", |
22 | 21 | "copy:swagger": "./node_modules/.bin/copyup ./src/api/swagger.json ./dist", |
23 | 22 | "copy:public": "./node_modules/.bin/copyup ./src/public/* ./dist", |
|
29 | 28 | "console:dev": "npm run ts-node -- ./src/console/commander.ts", |
30 | 29 | "console:help": "npm run ts-node:fast -- ./src/console/commander.ts --help", |
31 | 30 | "setup": "npm run banner setup && yarn install && npm run db:migrate && npm run db:seed", |
32 | | - "serve": "npm run banner serve && ./node_modules/.bin/nodemon --watch 'src/**/*.ts' --watch 'src/**/*.json' --watch '.env'", |
| 31 | + "serve": "npm run banner serve && npm run clean && ./node_modules/.bin/nodemon --watch 'src/**/*.ts' --watch 'src/**/*.json' --watch '.env'", |
33 | 32 | "test": "npm run banner test && NODE_ENV=test ./node_modules/.bin/jest ./test/unit", |
34 | | - "build": "npm run banner build && npm run lint && npm run clean:dist && npm run transpile && npm run copy:assets", |
| 33 | + "build": "npm run banner build && npm run lint && npm run clean && npm run transpile && npm run copy:assets", |
35 | 34 | "start": "node dist/app.js" |
36 | 35 | }, |
37 | 36 | "repository": "git+ssh://git@github.com/w3tec/express-typescript-boilerplate.git", |
|
130 | 129 | "ts-jest": "^20.0.6", |
131 | 130 | "ts-node": "^3.1.0", |
132 | 131 | "tslint": "^5.4.3", |
133 | | - "typescript": "^2.3.4", |
| 132 | + "typescript": "^2.4.1", |
134 | 133 | "winston": "^2.3.1" |
135 | 134 | }, |
136 | 135 | "jest": { |
|
0 commit comments