fix(router): change postinstall hook to devsetup to not require having 'typings' installed
This commit is contained in:
parent
1c937a10f9
commit
b260eb06f6
|
@ -11,7 +11,7 @@
|
||||||
"build": "rm -rf dist; tsc",
|
"build": "rm -rf dist; tsc",
|
||||||
"build_npm": "rm -rf dist && tsc -p tsconfig.publish.es5.json && tsc -p tsconfig.publish.esm.json",
|
"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",
|
"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",
|
"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",
|
"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\"",
|
"lint": "tslint \"src/**/*.ts\"",
|
||||||
|
|
Loading…
Reference in New Issue