build(aio): always compile before running tests

This commit is contained in:
Georgios Kalpakas 2017-03-01 15:18:51 +02:00 committed by Chuck Jazdzewski
parent 0e9277b4c3
commit d28ea80db8
1 changed files with 6 additions and 3 deletions

View File

@ -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",