Skip to content

Commit 909c2a3

Browse files
author
hirsch88
committed
Update npm scripts
1 parent 65df08d commit 909c2a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"test:black-box:pretty": "npm run test:black-box -- --verbose",
1616
"lint": "./node_modules/.bin/tslint -c ./tslint.json -p tsconfig.json 'src/**/*.ts' --format stylish",
1717
"transpile": "./node_modules/.bin/tsc",
18-
"clean": "npm run clean:dist",
1918
"clean:dist": "./node_modules/.bin/trash './dist'",
2019
"copy:assets": "npm run copy:swagger && npm run copy:public",
2120
"copy:swagger": "./node_modules/.bin/copyup ./src/api/swagger.json ./dist",
@@ -28,9 +27,10 @@
2827
"console:dev": "npm run ts-node -- ./src/console/commander.ts",
2928
"console:help": "npm run ts-node:fast -- ./src/console/commander.ts --help",
3029
"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",
3232
"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",
3434
"start": "node dist/app.js"
3535
},
3636
"repository": "git+ssh://git@github.com/w3tec/express-typescript-boilerplate.git",

0 commit comments

Comments
 (0)