Let Travis run typechecks
This commit is contained in:
13
package.json
13
package.json
@@ -9,16 +9,19 @@
|
||||
],
|
||||
"homepage": "https://openlayers.org/",
|
||||
"scripts": {
|
||||
"lint": "eslint tasks test src examples transforms",
|
||||
"pretest": "npm run lint",
|
||||
"lint": "eslint tasks test src/ol examples transforms",
|
||||
"pretest": "npm run lint && npm run typecheck",
|
||||
"test": "npm run karma -- --single-run",
|
||||
"karma": "karma start test/karma.config.js",
|
||||
"serve-examples": "mkdir -p build/examples && webpack --config examples/webpack/config.js --watch & serve build/examples",
|
||||
"build-examples": "webpack --config examples/webpack/config.js --env=prod",
|
||||
"build-index": "node tasks/generate-index.js",
|
||||
"build": "npm run build-index && webpack --config config/webpack.js",
|
||||
"src-closure": "babel --out-dir build/src-closure src/",
|
||||
"typecheck": "npm run build-index && npm run src-closure && node tasks/typecheck"
|
||||
"prebuild": "npm run build-index",
|
||||
"build": "webpack --config config/webpack.js",
|
||||
"presrc-closure": "npm run prebuild",
|
||||
"src-closure": "babel -q --out-dir build/src-closure src/",
|
||||
"pretypecheck": "npm run src-closure",
|
||||
"typecheck": "node tasks/typecheck"
|
||||
},
|
||||
"main": "src/ol/index.js",
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user