Skip to content

Commit

Permalink
chore(package.json): supply third party type definition via typings
Browse files Browse the repository at this point in the history
- closes #2112
  • Loading branch information
kwonoj authored and jayphelps committed Nov 11, 2016
1 parent 4fc55b1 commit c552178
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"lint": "npm-run-all --parallel lint_*",
"perf": "protractor protractor.conf.js",
"perf_micro": "node ./perf/micro/index.js",
"prepublish": "npm run build_all",
"prepublish": "shx rm -rf ./typings && typings install && npm run build_all",
"publish_docs": "./publish_docs.sh",
"test_mocha": "mocha --opts spec/support/default.opts spec-js",
"debug_mocha": "node-debug _mocha --opts spec/support/debug.opts spec-js",
Expand Down Expand Up @@ -144,11 +144,6 @@
},
"homepage": "https://github.com/ReactiveX/RxJS",
"devDependencies": {
"@types/chai": "^3.4.34",
"@types/lodash": "^4.14.37",
"@types/mocha": "^2.2.32",
"@types/sinon": "^1.16.31",
"@types/sinon-chai": "^2.7.27",
"benchmark": "^2.1.0",
"benchpress": "2.0.0-beta.1",
"chai": "^3.5.0",
Expand Down Expand Up @@ -192,6 +187,7 @@
"tslib": "^1.0.0",
"tslint": "^3.15.1",
"typescript": "^2.0.6",
"typings": "^2.0.0",
"validate-commit-msg": "^2.3.1",
"watch": "^1.0.1",
"watchify": "3.7.0",
Expand Down
1 change: 1 addition & 0 deletions spec/helpers/marble-testing.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
///<reference path='../../typings/index.d.ts'/>
import {Observable} from '../../dist/cjs/Observable';
import {SubscriptionLog} from '../../dist/cjs/testing/SubscriptionLog';
import {ColdObservable} from '../../dist/cjs/testing/ColdObservable';
Expand Down
1 change: 1 addition & 0 deletions spec/helpers/test-helper.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
///<reference path='../../typings/index.d.ts'/>
declare const global: any;

import * as Rx from '../../dist/cjs/Rx';
Expand Down
1 change: 1 addition & 0 deletions spec/helpers/testScheduler-ui.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
///<reference path='../../typings/index.d.ts'/>
///<reference path='ambient.d.ts'/>

import * as _ from 'lodash';
Expand Down
11 changes: 11 additions & 0 deletions typings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"devDependencies": {
"chai": "registry:npm/chai#3.5.0+20160723033700",
"lodash": "registry:npm/lodash#4.0.0+20161015015725",
"sinon": "registry:npm/sinon#1.16.0+20160723033700",
"sinon-chai": "registry:npm/sinon-chai#2.8.0+20160310030142"
},
"globalDevDependencies": {
"mocha": "registry:env/mocha#2.2.5+20160926180742"
}
}

0 comments on commit c552178

Please sign in to comment.