Skip to content

Commit 01f92a6

Browse files
authored
Merge pull request #49 from exaptis/master
Use local typings installation instead of global one for npm postinstall
2 parents 31b9bc5 + 5e4e598 commit 01f92a6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@
99
"start": "npm run build && npm run lite",
1010
"lite": "lite-server",
1111
"prepublish": "tsc & node make.js",
12-
"postinstall": "typings install",
12+
"postinstall": "npm run typings -- install",
1313
"clean": "rimraf src/*.js && rimraf src/*.d.ts && rimraf ./*scroll.js && rimraf ./*scroll.d.ts",
1414
"build:test": "tsc --project ./src",
1515
"watch": "tsc --project ./src --watch",
1616
"pretest": "npm run clean && npm run build:test",
1717
"test": "karma start karma.conf.js",
18-
"dev": "npm run watch & npm test"
18+
"dev": "npm run watch & npm test",
19+
"typings": "typings"
1920
},
2021
"keywords": [
2122
"angular2",

0 commit comments

Comments
 (0)