Skip to content

Commit ad2c4b4

Browse files
committed
chore: extend postinstall script
1 parent bae3a86 commit ad2c4b4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "ng2lint",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"description": "A set of linters for Angular 2 applications, following https://github.com/mgechev/angular2-style-guide.",
55
"main": "index.js",
66
"scripts": {
77
"test": "mocha --compilers ts:ts-node/register",
88
"tsc": "tsc",
99
"tscw": "tsc -w",
10-
"postinstall": "typings install"
10+
"postinstall": "typings install && tsc"
1111
},
1212
"repository": {
1313
"type": "git",
@@ -32,10 +32,12 @@
3232
"chai": "^3.5.0",
3333
"mocha": "^2.4.5",
3434
"ts-node": "^0.5.5",
35-
"tslint": "^3.3.0",
36-
"typescript": "^1.7.5",
3735
"typings": "^0.6.8"
3836
},
37+
"peerDependencies": {
38+
"tslint": "^3.3.0",
39+
"typescript": "^1.7.5"
40+
},
3941
"dependencies": {
4042
"sprintf-js": "^1.0.3"
4143
}

0 commit comments

Comments
 (0)