build(aio): always compile before running tests
This commit is contained in:
parent
0e9277b4c3
commit
d28ea80db8
|
@ -12,9 +12,12 @@
|
||||||
"clean": "node --eval \"require('shelljs').rm('-rf', 'dist')\"",
|
"clean": "node --eval \"require('shelljs').rm('-rf', 'dist')\"",
|
||||||
"dev": "concurrently --kill-others --raw --success first \"yarn run build-watch\" \"yarn run test-watch\"",
|
"dev": "concurrently --kill-others --raw --success first \"yarn run build-watch\" \"yarn run test-watch\"",
|
||||||
"lint": "tslint --project tsconfig.json",
|
"lint": "tslint --project tsconfig.json",
|
||||||
"pretest": "yarn run lint",
|
"pre~~test-only": "yarn run lint",
|
||||||
"test": "node dist/test",
|
"~~test-only": "node dist/test",
|
||||||
"test-watch": "nodemon --exec \"yarn test\" --watch dist"
|
"pretest": "yarn run build",
|
||||||
|
"test": "yarn run ~~test-only",
|
||||||
|
"pretest-watch": "yarn run build",
|
||||||
|
"test-watch": "nodemon --exec \"yarn run ~~test-only\" --watch dist"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"express": "^4.14.1",
|
"express": "^4.14.1",
|
||||||
|
|
Loading…
Reference in New Issue