mirror of
https://github.com/mapillary/mapillary-js.git
synced 2026-01-25 14:07:28 +00:00
Lint source and install typings on prepublish.
Ensure that build completes correctly without errors by installing typings before building.
This commit is contained in:
parent
90fa0bae0f
commit
de45bd1591
@ -13,7 +13,7 @@
|
||||
"lint": "npm run lint-spec && npm run lint-src",
|
||||
"lint-spec": "tslint -c tslint.json ./spec/**/*.ts ./spec/**/**/*.ts",
|
||||
"lint-src": "tslint -c tslint.json src/*.ts src/**/*.ts src/**/**/*.ts src/**/**/**/*.ts",
|
||||
"prepublish": "npm run clean && npm run build-min && npm run build-dev && gulp css",
|
||||
"prepublish": "npm run clean && npm run lint-src && typings install && npm run build-min && npm run build-dev && gulp css",
|
||||
"start":"node server.js",
|
||||
"test": "karma start --single-run",
|
||||
"test-watch": "karma start",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user