|
6 | 6 | "scripts": { |
7 | 7 | "banner": "./node_modules/.bin/ts-node --fast ./src/console/lib/banner.ts", |
8 | 8 | "pretest": "./node_modules/.bin/tslint -c ./tslint.json -t stylish './test/unit/**/*.ts'", |
9 | | - "test": "npm run banner test && NODE_ENV=test ./node_modules/.bin/jest ./test/unit", |
10 | 9 | "test:pretty": "npm run test -- --verbose", |
11 | 10 | "test:coverage": "npm run test -- --coverage", |
12 | 11 | "pretest:black-box": "./node_modules/.bin/tslint -c ./tslint.json -t stylish './test/black-box/**/*.ts'", |
13 | 12 | "test:black-box": "npm run banner test && NODE_ENV=test ./node_modules/.bin/jest ./test/black-box -i", |
14 | 13 | "test:black-box:pretty": "npm run test:black-box -- --verbose", |
15 | 14 | "lint": "./node_modules/.bin/tslint -c ./tslint.json -p tsconfig.json 'src/**/*.ts' --format stylish", |
16 | | - "build": "npm run banner build && npm run lint && npm run clean:dist && npm run transpile && npm run copy:assets", |
17 | 15 | "transpile": "./node_modules/.bin/tsc", |
18 | 16 | "clean:dist": "./node_modules/.bin/rimraf ./dist", |
19 | 17 | "copy:assets": "npm run copy:swagger && npm run copy:public", |
|
26 | 24 | "console": "./node_modules/.bin/ts-node --fast ./src/console/commander.ts", |
27 | 25 | "console:dev": "./node_modules/.bin/ts-node ./src/console/commander.ts", |
28 | 26 | "console:help": "./node_modules/.bin/ts-node --fast ./src/console/commander.ts --help", |
| 27 | + "setup": "yarn install && npm run db:migrate && npm run db:seed", |
29 | 28 | "serve": "npm run banner serve && ./node_modules/.bin/nodemon --watch 'src/**/*.ts' --watch 'src/**/*.json' --watch '.env'", |
| 29 | + "test": "npm run banner test && NODE_ENV=test ./node_modules/.bin/jest ./test/unit", |
| 30 | + "build": "npm run banner build && npm run lint && npm run clean:dist && npm run transpile && npm run copy:assets", |
30 | 31 | "start": "node dist/app.js" |
31 | 32 | }, |
32 | 33 | "repository": "git+ssh://git@github.com/w3tec/express-typescript-boilerplate.git", |
|
0 commit comments