1 | {
|
2 | "name": "@reactivex/rxjs",
|
3 | "version": "6.6.7",
|
4 | "description": "Reactive Extensions for modern JavaScript",
|
5 | "main": "index.js",
|
6 | "sideEffects": false,
|
7 | "config": {
|
8 | "commitizen": {
|
9 | "path": "cz-conventional-changelog"
|
10 | }
|
11 | },
|
12 | "nyc": {
|
13 | "include": [
|
14 | "src/*.ts",
|
15 | "src/**/*.ts"
|
16 | ],
|
17 | "exclude": [
|
18 | "node_modules",
|
19 | "dist",
|
20 | "*.d.ts",
|
21 | "src/**/MiscJSDoc.ts"
|
22 | ],
|
23 | "extension": [
|
24 | ".ts"
|
25 | ],
|
26 | "reporter": [
|
27 | "html"
|
28 | ],
|
29 | "all": true
|
30 | },
|
31 | "lint-staged": {
|
32 | "linters": {
|
33 | "*.@(js)": [
|
34 | "eslint --fix",
|
35 | "git add"
|
36 | ],
|
37 | "*.@(ts)": [
|
38 | "tslint --fix",
|
39 | "git add"
|
40 | ]
|
41 | },
|
42 | "ignore": [
|
43 | "spec-dtslint/**/*.{js,ts}",
|
44 | "api_guard/**/*.{js,ts}"
|
45 | ]
|
46 | },
|
47 | "scripts": {
|
48 | "precommit": "lint-staged",
|
49 | "commitmsg": "validate-commit-msg",
|
50 | "build_all": "npm-run-all compat_build_all clean_dist copy_sources build_cjs build_esm5 build_esm2015 build_esm5_for_rollup build_umd build_types build_legacy_reexport build_migrations generate_packages",
|
51 | "build_cjs": "npm-run-all clean_dist_cjs compile_dist_cjs",
|
52 | "build_esm5": "npm-run-all clean_dist_esm5 compile_dist_esm5",
|
53 | "build_esm5_for_rollup": "npm-run-all clean_dist_esm5_for_rollup compile_dist_esm5_for_rollup && mkdirp dist/esm5_for_rollup/node_modules && shx cp -r ./dist-compat/package ./dist/esm5_for_rollup/node_modules/rxjs-compat",
|
54 | "build_esm2015": "npm-run-all clean_dist_esm2015 compile_dist_esm2015",
|
55 | "build_esm2015_for_docs": "npm-run-all clean_dist_esm2015 compile_dist_esm2015_for_docs",
|
56 | "build_legacy_reexport": "npm-run-all compile_legacy_reexport",
|
57 | "build_migrations": "npm-run-all clean_dist_migrations compile_dist_migrations",
|
58 | "build_types": "npm-run-all clean_dist_types compile_dist_types",
|
59 | "build_closure_core": "node ./tools/make-closure-core.js",
|
60 | "build_global": "npm-run-all clean_dist_global build_esm5_for_rollup && mkdirp ./dist/global && node ./tools/make-umd-bundle.js && npm-run-all build_closure_core clean_dist_esm5_for_rollup",
|
61 | "build_umd": "npm-run-all clean_dist_global && mkdirp ./dist/global && node ./tools/make-umd-bundle.js && npm-run-all build_closure_core",
|
62 | "build_perf": "webdriver-manager update && npm-run-all build_cjs build_global perf",
|
63 | "build_docs": "npm-run-all build_global build_esm2015_for_docs build_cjs tests2png decision_tree_widget && esdoc -c esdoc.json && npm-run-all clean_dist_esm2015",
|
64 | "build_spec": "npm-run-all build_cjs generate_packages",
|
65 | "build_spec_full": "npm-run-all compat_build_cjs compile_legacy_reexport compat_generate_packages build_spec",
|
66 | "build:spec:browser": "echo \"Browser test is not working currently\" && exit -1 && webpack --config spec/support/webpack.mocha.config.js",
|
67 | "clean_dist": "shx rm -rf ./dist",
|
68 | "clean_dist_cjs": "shx rm -rf ./dist/cjs",
|
69 | "clean_dist_esm5": "shx rm -rf ./dist/esm5",
|
70 | "clean_dist_esm5_for_rollup": "shx rm -rf ./dist/esm5_for_rollup",
|
71 | "clean_dist_esm2015": "shx rm -rf ./dist/esm2015",
|
72 | "clean_dist_global": "shx rm -rf ./dist/global",
|
73 | "clean_dist_migrations": "shx rm -rf ./dist/migrations",
|
74 | "clean_dist_types": "shx rm -rf ./dist/typings",
|
75 | "commit": "git-cz",
|
76 | "compile_dist_cjs": "tsc -p ./tsconfig/tsconfig.cjs.json",
|
77 | "compile_dist_esm5": "tsc -p ./tsconfig/tsconfig.esm5.json",
|
78 | "compile_dist_esm2015": "tsc -p ./tsconfig/tsconfig.esm2015.json",
|
79 | "compile_dist_esm2015_for_docs": "tsc ./dist/src/internal/Rx.ts ./dist/src/add/observable/of.ts ./dist/src/MiscJSDoc.ts -m es2015 --sourceMap --outDir ./dist/es6 --target es2015 -d --diagnostics --pretty --noImplicitAny --noImplicitReturns --noImplicitThis --suppressImplicitAnyIndexErrors --moduleResolution node",
|
80 | "compile_dist_esm5_for_rollup": "tsc -p ./tsconfig/tsconfig.esm5.rollup.json",
|
81 | "compile_dist_migrations": "tsc -p ./tsconfig/tsconfig.migrations.json",
|
82 | "compile_dist_types": "tsc -p ./tsconfig/tsconfig.types.json",
|
83 | "compile_legacy_reexport": "tsc -p ./tsconfig/tsconfig.legacy-reexport.json",
|
84 | "copy_sources": "mkdirp dist && shx cp -r ./src/ ./dist/src",
|
85 | "decision_tree_widget": "cd doc/decision-tree-widget && npm run build && cd ../..",
|
86 | "doctoc": "doctoc CONTRIBUTING.md",
|
87 | "generate_packages": "node .make-packages.js",
|
88 | "lint_perf": "eslint perf/",
|
89 | "lint_spec": "tslint -c tslint.json \"spec/**/*.ts\"",
|
90 | "lint_src": "tslint -c tslint.json \"src/**/*.ts\"",
|
91 | "lint": "npm-run-all --parallel lint_*",
|
92 | "dtslint": "npm run build_types && node ./spec-dtslint/script.js",
|
93 | "perf:protractor": "echo \"Protractor is not working currently\" && exit -1 && protractor protractor.conf.js",
|
94 | "perf:micro": "node ./perf/micro/index.js",
|
95 | "prepublish": "shx rm -rf ./typings && npm run build_all",
|
96 | "postpublish": "./docs_app/scripts/publish-docs.sh",
|
97 | "publish_docs": "./publish_docs.sh",
|
98 | "test": "cross-env TS_NODE_PROJECT=spec/tsconfig.json mocha --opts spec/support/default.opts \"spec/**/*-spec.ts\"",
|
99 | "test_no_cache": "cross-env TS_NODE_PROJECT=spec/tsconfig.json TS_NODE_CACHE=false mocha --opts spec/support/default.opts \"spec/**/*-spec.ts\"",
|
100 | "test_transpile_only": "cross-env TS_NODE_PROJECT=spec/tsconfig.json TS_NODE_TRANSPILE_ONLY=true mocha --opts spec/support/default.opts \"spec/**/*-spec.ts\"",
|
101 | "test:browser": "echo \"Browser test is not working currently\" && exit -1 && npm-run-all build:spec:browser && opn spec/support/mocha-browser-runner.html",
|
102 | "test:cover": "nyc npm test",
|
103 | "test:circular": "dependency-cruise --validate .dependency-cruiser.json -x \"^node_modules\" dist/esm5",
|
104 | "test:systemjs": "node integration/systemjs/systemjs-compatibility-spec.js",
|
105 | "test:side-effects": "check-side-effects --test integration/side-effects/side-effects.json",
|
106 | "test:side-effects:update": "npm run test:side-effects -- --update",
|
107 | "tests2png": "mkdirp docs_app/content/img && mocha --opts spec/support/tests2png.opts \"spec/**/*-spec.ts\"",
|
108 | "compat_build_all": "npm-run-all compat_clean_dist compat_build_cjs compat_build_esm5 compat_build_esm2015 compat_build_esm5_for_rollup compat_build_umd compat_generate_packages",
|
109 | "compat_build_closure": "node ./tools/make-closure-compat.js",
|
110 | "compat_build_cjs": "npm-run-all compat_clean_dist_cjs compat_compile_dist_cjs",
|
111 | "compat_build_esm5": "npm-run-all compat_clean_dist_esm5 compat_compile_dist_esm5",
|
112 | "compat_build_esm2015": "npm-run-all compat_clean_dist_esm2015 compat_compile_dist_esm2015",
|
113 | "compat_build_esm5_for_rollup": "npm-run-all compat_clean_dist_esm5_for_rollup compat_compile_dist_esm5_for_rollup",
|
114 | "compat_build_umd": "npm-run-all compat_clean_dist_global && mkdirp ./dist-compat/global && node ./tools/make-umd-compat-bundle.js && npm-run-all compat_build_closure",
|
115 | "compat_clean_dist": "shx rm -rf ./dist-compat",
|
116 | "compat_clean_dist_cjs": "shx rm -rf ./dist-compat/cjs",
|
117 | "compat_clean_dist_esm5": "shx rm -rf ./dist-compat/esm5",
|
118 | "compat_clean_dist_esm2015": "shx rm -rf ./dist-compat/esm2015",
|
119 | "compat_clean_dist_esm5_for_rollup": "shx rm -rf ./dist-compat/esm5_for_rollup",
|
120 | "compat_clean_dist_global": "shx rm -rf ./dist-compat/global",
|
121 | "compat_compile_dist_cjs": "tsc -p ./tsconfig/compat/tsconfig.cjs.json",
|
122 | "compat_compile_dist_esm5": "tsc -p ./tsconfig/compat/tsconfig.esm5.json",
|
123 | "compat_compile_dist_esm5_for_rollup": "tsc -p ./tsconfig/compat/tsconfig.esm5.rollup.json",
|
124 | "compat_compile_dist_esm2015": "tsc -p ./tsconfig/compat/tsconfig.esm2015.json",
|
125 | "compat_copy_sources": "mkdirp dist-compat && shx cp -r ./compat/ ./dist-compat/",
|
126 | "compat_generate_packages": "node .make-compat-package.js",
|
127 | "api_guardian:update": "ts-api-guardian --outDir api_guard dist/typings/index.d.ts dist/typings/ajax/index.d.ts dist/typings/fetch/index.d.ts dist/typings/operators/index.d.ts dist/typings/testing/index.d.ts dist/typings/webSocket/index.d.ts",
|
128 | "api_guardian": "ts-api-guardian --verifyDir api_guard dist/typings/index.d.ts dist/typings/ajax/index.d.ts dist/typings/fetch/index.d.ts dist/typings/operators/index.d.ts dist/typings/testing/index.d.ts dist/typings/webSocket/index.d.ts"
|
129 | },
|
130 | "repository": {
|
131 | "type": "git",
|
132 | "url": "https://github.com/reactivex/rxjs.git"
|
133 | },
|
134 | "keywords": [
|
135 | "Rx",
|
136 | "RxJS",
|
137 | "ReactiveX",
|
138 | "ReactiveExtensions",
|
139 | "Streams",
|
140 | "Observables",
|
141 | "Observable",
|
142 | "Stream",
|
143 | "ES6",
|
144 | "ES2015"
|
145 | ],
|
146 | "author": "Ben Lesh <ben@benlesh.com>",
|
147 | "contributors": [
|
148 | {
|
149 | "name": "Ben Lesh",
|
150 | "email": "ben@benlesh.com"
|
151 | },
|
152 | {
|
153 | "name": "Paul Taylor",
|
154 | "email": "paul.e.taylor@me.com"
|
155 | },
|
156 | {
|
157 | "name": "Jeff Cross",
|
158 | "email": "crossj@google.com"
|
159 | },
|
160 | {
|
161 | "name": "Matthew Podwysocki",
|
162 | "email": "matthewp@microsoft.com"
|
163 | },
|
164 | {
|
165 | "name": "OJ Kwon",
|
166 | "email": "kwon.ohjoong@gmail.com"
|
167 | },
|
168 | {
|
169 | "name": "Andre Staltz",
|
170 | "email": "andre@staltz.com"
|
171 | }
|
172 | ],
|
173 | "license": "Apache-2.0",
|
174 | "bugs": {
|
175 | "url": "https://github.com/ReactiveX/RxJS/issues"
|
176 | },
|
177 | "homepage": "https://github.com/ReactiveX/RxJS",
|
178 | "dependencies": {
|
179 | "tslib": "^1.9.0"
|
180 | },
|
181 | "devDependencies": {
|
182 | "@angular-devkit/build-optimizer": "0.4.6",
|
183 | "@angular-devkit/schematics": "^0.5.4",
|
184 | "@types/chai": "4.1.2",
|
185 | "@types/lodash": "4.14.102",
|
186 | "@types/mocha": "2.2.48",
|
187 | "@types/node": "9.4.5",
|
188 | "@types/sinon": "4.1.3",
|
189 | "@types/sinon-chai": "2.7.29",
|
190 | "@types/source-map": "^0.5.2",
|
191 | "babel-polyfill": "6.26.0",
|
192 | "benchmark": "2.1.0",
|
193 | "benchpress": "2.0.0-beta.1",
|
194 | "chai": "4.1.2",
|
195 | "check-side-effects": "0.0.20",
|
196 | "color": "3.0.0",
|
197 | "colors": "1.1.2",
|
198 | "commitizen": "2.9.6",
|
199 | "coveralls": "3.0.0",
|
200 | "cross-env": "5.1.3",
|
201 | "cz-conventional-changelog": "1.2.0",
|
202 | "danger": "1.1.0",
|
203 | "dependency-cruiser": "2.13.0",
|
204 | "doctoc": "1.3.0",
|
205 | "dtslint": "0.6.1",
|
206 | "escape-string-regexp": "1.0.5",
|
207 | "esdoc": "0.4.7",
|
208 | "eslint": "4.17.0",
|
209 | "eslint-plugin-jasmine": "^2.10.1",
|
210 | "fs-extra": "5.0.0",
|
211 | "get-folder-size": "1.0.1",
|
212 | "glob": "7.1.2",
|
213 | "gm": "1.23.1",
|
214 | "google-closure-compiler-js": "20170218.0.0",
|
215 | "gzip-size": "4.1.0",
|
216 | "http-server": "0.11.1",
|
217 | "husky": "0.14.3",
|
218 | "klaw-sync": "3.0.2",
|
219 | "lint-staged": "7.1.1",
|
220 | "lodash": "4.17.5",
|
221 | "markdown-doctest": "0.9.1",
|
222 | "minimist": "1.2.0",
|
223 | "mkdirp": "^1.0.4",
|
224 | "mocha": "5.0.0",
|
225 | "mocha-in-sauce": "0.0.1",
|
226 | "npm-run-all": "4.1.2",
|
227 | "nyc": "11.4.1",
|
228 | "opn-cli": "3.1.0",
|
229 | "platform": "1.3.5",
|
230 | "promise": "8.0.1",
|
231 | "protractor": "3.1.1",
|
232 | "rollup": "0.66.6",
|
233 | "rollup-plugin-alias": "1.4.0",
|
234 | "rollup-plugin-inject": "2.0.0",
|
235 | "rollup-plugin-node-resolve": "2.0.0",
|
236 | "rx": "latest",
|
237 | "rxjs": "^5.5.7",
|
238 | "shx": "^0.3.2",
|
239 | "sinon": "4.3.0",
|
240 | "sinon-chai": "2.14.0",
|
241 | "source-map-support": "0.5.3",
|
242 | "symbol-observable": "1.0.1",
|
243 | "systemjs": "^0.21.0",
|
244 | "ts-api-guardian": "^0.5.0",
|
245 | "ts-node": "6.1.0",
|
246 | "tsconfig-paths": "3.2.0",
|
247 | "tslint": "5.9.1",
|
248 | "tslint-etc": "1.2.6",
|
249 | "tslint-no-toplevel-property-access": "0.0.2",
|
250 | "tslint-no-unused-expression-chai": "0.0.3",
|
251 | "typescript": "^3.0.1",
|
252 | "validate-commit-msg": "2.14.0",
|
253 | "webpack": "1.13.1",
|
254 | "xmlhttprequest": "1.8.0"
|
255 | },
|
256 | "engines": {
|
257 | "npm": ">=2.0.0"
|
258 | },
|
259 | "typings": "./dist/package/Rx.d.ts",
|
260 | "ng-update": {
|
261 | "migrations": "./migrations/collection.json"
|
262 | }
|
263 | }
|