Skip to content

Commit 61ec3d6

Browse files
committed
chore(): add typings files to assist devs
Some editors/IDEs will utilized TypeScript definition files Adding some useful definitions to assist developers
1 parent 0250038 commit 61ec3d6

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules/
22
.idea
33
npm-debug.log
4+
typings/

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
},
1010
"keywords": [],
1111
"scripts": {
12-
"test": "node tests/runner"
12+
"test": "node tests/runner",
13+
"postinstall": "typings install"
1314
},
1415
"repository": {
1516
"type": "git",
@@ -61,6 +62,7 @@
6162
"rewire": "^2.3.4",
6263
"shelljs": "^0.5.3",
6364
"through": "^2.3.8",
65+
"typings": "^0.6.2",
6466
"walk-sync": "^0.2.6"
6567
}
6668
}

typings.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"dependencies": {},
3+
"devDependencies": {
4+
"chalk": "github:typings/typed-chalk#a7e422c5455e70292e5675a727d43a7b05fc3e58"
5+
},
6+
"ambientDevDependencies": {
7+
"assertion-error": "github:DefinitelyTyped/DefinitelyTyped/assertion-error/assertion-error.d.ts#800a7047cf275cc9f695cbd116748cd408a09d6d",
8+
"chai": "github:DefinitelyTyped/DefinitelyTyped/chai/chai.d.ts#9c25433c84251bfe72bf0030a95edbbb2c81c9d5",
9+
"glob": "github:DefinitelyTyped/DefinitelyTyped/glob/glob.d.ts#a14d724826174d1669d4df04c80f4838b7e71fdf",
10+
"minimatch": "github:DefinitelyTyped/DefinitelyTyped/minimatch/minimatch.d.ts#a3900b896f7b3361b79f9b503224777619907d53",
11+
"mocha": "github:DefinitelyTyped/DefinitelyTyped/mocha/mocha.d.ts#d6dd320291705694ba8e1a79497a908e9f5e6617",
12+
"node": "github:DefinitelyTyped/DefinitelyTyped/node/node.d.ts#8cf8164641be73e8f1e652c2a5b967c7210b6729",
13+
"shelljs": "github:DefinitelyTyped/DefinitelyTyped/shelljs/shelljs.d.ts#ce14ae27a020194da3d35aa3468ca1e9e5296316",
14+
"through": "github:DefinitelyTyped/DefinitelyTyped/through/through.d.ts#4ffee4a839f36d4f13ea7b0bc03ed2ca853e79d5"
15+
}
16+
}

0 commit comments

Comments
 (0)