Skip to content

Commit

Permalink
chore(typings): update type definition references
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Mar 1, 2016
1 parent 4bc32b7 commit bdbada0
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 3,091 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

# Installed libs
node_modules/
typings/

# Generated
dist/
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
}
},
"scripts": {
"preinstall": "typings install",
"build_all": "npm run build_es6 && npm run build_amd && npm run build_cjs && npm run build_global && npm run generate_packages",
"build_amd": "rm -rf dist/amd && tsc typings/es6-shim/es6-shim.d.ts src/Rx.ts src/Rx.DOM.ts src/add/observable/of.ts -m amd --outDir dist/amd --sourcemap --sourceRoot src --target ES5 --diagnostics --pretty --noImplicitAny --suppressImplicitAnyIndexErrors",
"build_cjs": "rm -rf dist/cjs && tsc typings/es6-shim/es6-shim.d.ts src/Rx.ts src/Rx.KitchenSink.ts src/Rx.DOM.ts src/add/observable/of.ts -m commonjs --outDir dist/cjs --sourcemap --sourceRoot src --target ES5 -d --diagnostics --pretty --noImplicitAny --suppressImplicitAnyIndexErrors",
"build_amd": "rm -rf dist/amd && tsc typings/main.d.ts src/Rx.ts src/Rx.DOM.ts src/add/observable/of.ts -m amd --outDir dist/amd --sourcemap --sourceRoot src --target ES5 --diagnostics --pretty --noImplicitAny --suppressImplicitAnyIndexErrors",
"build_cjs": "rm -rf dist/cjs && tsc typings/main.d.ts src/Rx.ts src/Rx.KitchenSink.ts src/Rx.DOM.ts src/add/observable/of.ts -m commonjs --outDir dist/cjs --sourcemap --sourceRoot src --target ES5 -d --diagnostics --pretty --noImplicitAny --suppressImplicitAnyIndexErrors",
"build_es6": "rm -rf dist/es6 && tsc src/Rx.ts src/Rx.KitchenSink.ts src/Rx.DOM.ts src/add/observable/of.ts --outDir dist/es6 --sourceMap --sourceRoot src --target ES6 -d --diagnostics --pretty --noImplicitAny --suppressImplicitAnyIndexErrors",
"build_closure_core": "java -jar ./node_modules/google-closure-compiler/compiler.jar --js ./dist/global/Rx.umd.js --language_in ECMASCRIPT5 --create_source_map ./dist/global/Rx.umd.min.js.map --js_output_file ./dist/global/Rx.umd.min.js",
"build_closure_kitchensink": "java -jar ./node_modules/google-closure-compiler/compiler.jar --js ./dist/global/Rx.KitchenSink.umd.js --language_in ECMASCRIPT5 --create_source_map ./dist/global/Rx.KitchenSink.umd.min.js.map --js_output_file ./dist/global/Rx.KitchenSink.umd.min.js",
Expand Down Expand Up @@ -134,6 +135,7 @@
"systemjs-builder": "^0.10.6",
"tslint": "3.4.0",
"typescript": "1.8.2",
"typings": "0.6.8",
"validate-commit-msg": "1.1.1",
"watch": "0.16.0",
"watchify": "3.7.0",
Expand Down
2 changes: 1 addition & 1 deletion spec/helpers/marble-testing.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
///<reference path='../../typings/jasmine/jasmine.d.ts'/>
///<reference path='../../typings/main.d.ts'/>
import {Observable} from '../../dist/cjs/Observable';
import {SubscriptionLog} from '../../dist/cjs/testing/SubscriptionLog';
import {ColdObservable} from '../../dist/cjs/testing/ColdObservable';
Expand Down
4 changes: 1 addition & 3 deletions spec/helpers/test-helper.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
///<reference path='../../typings/es6-shim/es6-shim.d.ts'/>
///<reference path='../../typings/jasmine/jasmine.d.ts'/>
///<reference path='../../typings/lodash/lodash.d.ts'/>
///<reference path='../../typings/main.d.ts'/>
declare const global: any;
declare const Symbol: any;

Expand Down
21 changes: 0 additions & 21 deletions tsd.json

This file was deleted.

10 changes: 10 additions & 0 deletions typings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "@reactivex/rxjs",
"dependencies": {},
"devDependencies": {},
"ambientDependencies": {
"es6-shim": "github:DefinitelyTyped/DefinitelyTyped/es6-shim/es6-shim.d.ts#6697d6f7dadbf5773cb40ecda35a76027e0783b2",
"jasmine": "github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#dd638012d63e069f2c99d06ef4dcc9616a943ee4",
"lodash": "github:DefinitelyTyped/DefinitelyTyped/lodash/lodash-3.10.d.ts#86dbea8fc37d9473fee465da4f0a21bea4f8cbd9"
}
}
Loading

0 comments on commit bdbada0

Please sign in to comment.