build sass before test

This commit is contained in:
Roman Hotsiy 2016-08-28 23:42:04 +03:00
parent ba233d896d
commit d1579bbee7
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -11,7 +11,7 @@
"test": "npm run lint && node ./build/run_tests.js", "test": "npm run lint && node ./build/run_tests.js",
"branch-release": "git reset --hard && branch-release", "branch-release": "git reset --hard && branch-release",
"lint": "tslint -e \"lib/**/*{ngfactory|css.shim}.ts\" lib/**/*.ts", "lint": "tslint -e \"lib/**/*{ngfactory|css.shim}.ts\" lib/**/*.ts",
"unit": "karma start", "unit": "npm run build:sass && karma start",
"e2e": "npm run build:prod && npm run e2e-copy && npm run webdriver && protractor", "e2e": "npm run build:prod && npm run e2e-copy && npm run webdriver && protractor",
"deploy": "node ./build/prepare_deploy.js && deploy-to-gh-pages --update demo", "deploy": "node ./build/prepare_deploy.js && deploy-to-gh-pages --update demo",
"ngc": "ngc -p .", "ngc": "ngc -p .",