docs(typings): install into globalDependencies, not globalDevDependencies

This commit is contained in:
Ward Bell 2016-05-21 16:49:00 -07:00
parent 60eeb0123a
commit b25950090d
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{ {
"globalDevDependencies": { "globalDependencies": {
"core-js": "registry:dt/core-js#0.0.0+20160317120654", "core-js": "registry:dt/core-js#0.0.0+20160317120654",
"jasmine": "registry:dt/jasmine#2.2.0+20160412134438", "jasmine": "registry:dt/jasmine#2.2.0+20160505161446",
"node": "registry:dt/node#4.0.0+20160509154515" "node": "registry:dt/node#4.0.0+20160509154515"
} }
} }

View File

@ -118,10 +118,10 @@ code-example(format="").
code-example(format=""). code-example(format="").
npm run typings list npm run typings list
:marked :marked
The following command installs the typings file for the Jasmine test library and updates the `typings.config` The following command installs or updates the typings file for the Jasmine test library from the *DefinitelyTyped* repository
so we that we get it automatically the next time. and updates the `typings.config` so we that we get it automatically the next time we install typings.
code-example(format=""). code-example(format="").
npm run typings -- install jasmine --global --save npm run typings -- install dt~jasmine --save --global
.l-sub-section .l-sub-section
:marked :marked
The [–– option](https://docs.npmjs.com/cli/run-script) is important; The [–– option](https://docs.npmjs.com/cli/run-script) is important;