Skip to content

Commit

Permalink
fix(package.json): install typings only after packages are installed
Browse files Browse the repository at this point in the history
use postinstall hook, not preinstall hook, to run typings install
  • Loading branch information
staltz committed Mar 8, 2016
1 parent 935212a commit a48d796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
},
"scripts": {
"preinstall": "typings install",
"postinstall": "typings install",
"build_all": "npm run build_es6 && npm run build_amd && npm run build_cjs && npm run build_global && npm run generate_packages",
"build_amd": "rm -rf dist/amd && tsc typings/main.d.ts src/Rx.ts src/Rx.DOM.ts src/add/observable/of.ts -m amd --outDir dist/amd --sourcemap --sourceRoot src --target ES5 --diagnostics --pretty --noImplicitAny --suppressImplicitAnyIndexErrors",
"build_cjs": "rm -rf dist/cjs && tsc typings/main.d.ts src/Rx.ts src/Rx.KitchenSink.ts src/Rx.DOM.ts src/add/observable/of.ts -m commonjs --outDir dist/cjs --sourcemap --sourceRoot src --target ES5 -d --diagnostics --pretty --noImplicitAny --suppressImplicitAnyIndexErrors",
Expand Down

0 comments on commit a48d796

Please sign in to comment.