fix(router): change postinstall hook to devsetup to not require having 'typings' installed

This commit is contained in:
vsavkin 2016-06-16 15:33:40 -07:00
parent 1c937a10f9
commit b260eb06f6
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
"build": "rm -rf dist; tsc",
"build_npm": "rm -rf dist && tsc -p tsconfig.publish.es5.json && tsc -p tsconfig.publish.esm.json",
"postbuild_npm": "cp package.json README.md dist/ && npm run rewrite_npm_package",
"postinstall": "typings install",
"devsetup": "typings install",
"rewrite_npm_package": "node --harmony_destructuring tools/rewrite-published-package.js",
"build_bundle": "cp -r src router && tsc typings/index.d.ts src/router.ts --rootDir . --module system -t es5 --outFile dist/bundles/router.js --moduleResolution node --emitDecoratorMetadata --experimentalDecorators",
"lint": "tslint \"src/**/*.ts\"",