From 61ec3d68c771854bcc1c4446e7d03c1583b39372 Mon Sep 17 00:00:00 2001 From: Mike Brocchi Date: Tue, 26 Jan 2016 20:29:40 -0500 Subject: [PATCH] chore(): add typings files to assist devs Some editors/IDEs will utilized TypeScript definition files Adding some useful definitions to assist developers --- .gitignore | 1 + package.json | 4 +++- typings.json | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 typings.json diff --git a/.gitignore b/.gitignore index 95e8bbb92032..2676228edb0a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules/ .idea npm-debug.log +typings/ \ No newline at end of file diff --git a/package.json b/package.json index f88d5ae66221..d772b1731f09 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ }, "keywords": [], "scripts": { - "test": "node tests/runner" + "test": "node tests/runner", + "postinstall": "typings install" }, "repository": { "type": "git", @@ -61,6 +62,7 @@ "rewire": "^2.3.4", "shelljs": "^0.5.3", "through": "^2.3.8", + "typings": "^0.6.2", "walk-sync": "^0.2.6" } } diff --git a/typings.json b/typings.json new file mode 100644 index 000000000000..e9093d1857fc --- /dev/null +++ b/typings.json @@ -0,0 +1,16 @@ +{ + "dependencies": {}, + "devDependencies": { + "chalk": "github:typings/typed-chalk#a7e422c5455e70292e5675a727d43a7b05fc3e58" + }, + "ambientDevDependencies": { + "assertion-error": "github:DefinitelyTyped/DefinitelyTyped/assertion-error/assertion-error.d.ts#800a7047cf275cc9f695cbd116748cd408a09d6d", + "chai": "github:DefinitelyTyped/DefinitelyTyped/chai/chai.d.ts#9c25433c84251bfe72bf0030a95edbbb2c81c9d5", + "glob": "github:DefinitelyTyped/DefinitelyTyped/glob/glob.d.ts#a14d724826174d1669d4df04c80f4838b7e71fdf", + "minimatch": "github:DefinitelyTyped/DefinitelyTyped/minimatch/minimatch.d.ts#a3900b896f7b3361b79f9b503224777619907d53", + "mocha": "github:DefinitelyTyped/DefinitelyTyped/mocha/mocha.d.ts#d6dd320291705694ba8e1a79497a908e9f5e6617", + "node": "github:DefinitelyTyped/DefinitelyTyped/node/node.d.ts#8cf8164641be73e8f1e652c2a5b967c7210b6729", + "shelljs": "github:DefinitelyTyped/DefinitelyTyped/shelljs/shelljs.d.ts#ce14ae27a020194da3d35aa3468ca1e9e5296316", + "through": "github:DefinitelyTyped/DefinitelyTyped/through/through.d.ts#4ffee4a839f36d4f13ea7b0bc03ed2ca853e79d5" + } +}