Merge pull request #7807 from ahocevar/karma-first

Run typecheck after tests, because of its current verbosity
This commit is contained in:
Andreas Hocevar
2018-02-10 10:46:59 +01:00
committed by GitHub

View File

@@ -10,7 +10,8 @@
"homepage": "https://openlayers.org/", "homepage": "https://openlayers.org/",
"scripts": { "scripts": {
"lint": "eslint tasks test src/ol examples transforms", "lint": "eslint tasks test src/ol examples transforms",
"pretest": "npm run lint && npm run typecheck", "pretest": "npm run lint",
"posttest": "npm run typecheck",
"test": "npm run karma -- --single-run", "test": "npm run karma -- --single-run",
"karma": "karma start test/karma.config.js", "karma": "karma start test/karma.config.js",
"serve-examples": "mkdir -p build/examples && webpack --config examples/webpack/config.js --watch & serve build/examples", "serve-examples": "mkdir -p build/examples && webpack --config examples/webpack/config.js --watch & serve build/examples",