Skip to content

Commit b2367f2

Browse files
authored
Removed typings install from pre script (#26)
* Removed typings install from pre script * Travis build: 90
1 parent 093b82f commit b2367f2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: node_js
22
node_js:
33
- '4.4'
44
before_script:
5-
- npm install
5+
- npm run contrib
66
script: gulp test
77
after_success:
88
- .travis/push.sh

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"test": "test"
99
},
1010
"scripts": {
11+
"build": "gulp build",
1112
"test": "gulp test",
12-
"preinstall": "npm install -g typings",
13-
"postinstall": "typings install"
13+
"contrib": "typings install && npm run build"
1414
},
1515
"keywords": [
1616
"microsoft",
@@ -53,6 +53,7 @@
5353
"run-sequence": "^1.1.5",
5454
"ts-loader": "^0.8.1",
5555
"tslint": "^3.6.0",
56+
"typings": "^1.3.2",
5657
"webpack": "^1.12.14",
5758
"webpack-stream": "^3.1.0",
5859
"yargs": "^4.4.0"

0 commit comments

Comments
 (0)