feat(npm): add typescript block to package.json
This makes it simple to run the `tsd link` command in a project to automatically include paths to typings files. The definitions also include transitive dependencies of rx.d.ts and es6-promise.d.ts. Closes #3590 Closes #3609
This commit is contained in:
parent
7b3cca20d2
commit
b5fb05b735
|
@ -13,5 +13,12 @@
|
|||
"rx": "<%= packageJson.dependencies['rx'] %>",
|
||||
"zone.js": "<%= packageJson.dependencies['zone.js'] %>"
|
||||
},
|
||||
"devDependencies": <%= JSON.stringify(packageJson.defaultDevDependencies) %>
|
||||
"devDependencies": <%= JSON.stringify(packageJson.defaultDevDependencies) %>,
|
||||
"typescript": {
|
||||
"definitions": [
|
||||
"bundles/typings/angular2/angular2.d.ts",
|
||||
"bundles/typings/angular2/http.d.ts",
|
||||
"bundles/typings/angular2/router.d.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue