forked from ReactiveX/rxjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
262 lines (262 loc) · 10.7 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
{
"name": "@reactivex/rxjs",
"version": "6.0.0-rc.0",
"description": "Reactive Extensions for modern JavaScript",
"main": "index.js",
"sideEffects": false,
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"nyc": {
"include": [
"src/*.ts",
"src/**/*.ts"
],
"exclude": [
"node_modules",
"dist",
"*.d.ts",
"src/**/MiscJSDoc.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"html"
],
"all": true
},
"lint-staged": {
"*.@(js)": [
"eslint --fix",
"git add"
],
"*.@(ts)": [
"tslint --fix",
"git add"
]
},
"scripts-info": {
"info": "List available script",
"build_all": "Build all packages (ES6, CJS, UMD) and generate packages",
"build_cjs": "Build CJS package with clean up existing build",
"build_esm5": "Build ESM/ES5 package with clean up existing build",
"build_esm2015": "Build ESM/ES2015 package with clean up existing build",
"build_closure_core": "Minify Global core build using closure compiler",
"build_global": "Build Global package, then minify build",
"build_perf": "Build CJS & Global build, run macro performance test",
"build_docs": "Build ESM2015 & global package, create documentation using it",
"clean_dist_cjs": "Clean up existing CJS package output",
"clean_dist_esm5": "Clean up existing ESM/ES5 package output",
"clean_dist_esm2015": "Clean up existing ESM/ES2015 package output",
"clean_dist_global": "Clean up existing Global package output",
"commit": "Run git commit wizard",
"compile_dist_cjs": "Compile codebase into CJS module",
"compile_module_esm5": "Compile codebase into ESM/ES5",
"compile_dist_esm2015": "Compile codebase into ESM/ES2015",
"lint_perf": "Run lint against performance test suite",
"lint_spec": "Run lint against test spec",
"lint_src": "Run lint against source",
"lint": "Run lint against everything",
"perf": "Run macro performance benchmark",
"perf_micro": "Run micro performance benchmark",
"test_browser": "Execute mocha test runner on browser against existing test spec build",
"test": "Execute mocha test runner",
"test:cover": "Execute test coverage",
"tests2png": "Generate marble diagram image from test spec",
"watch": "Watch codebase, trigger compile when source code changes"
},
"scripts": {
"precommit": "lint-staged",
"commitmsg": "validate-commit-msg",
"info": "npm-scripts-info",
"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_legacy_reexport generate_packages copy_for_tests",
"build_cjs": "npm-run-all clean_dist_cjs compile_dist_cjs",
"build_esm5": "npm-run-all clean_dist_esm5 compile_dist_esm5",
"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",
"build_esm2015": "npm-run-all clean_dist_esm2015 compile_dist_esm2015",
"build_esm2015_for_docs": "npm-run-all clean_dist_esm2015 compile_dist_esm2015_for_docs",
"build_legacy_reexport": "npm-run-all compile_legacy_reexport",
"build_closure_core": "node ./tools/make-closure-core.js",
"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",
"build_umd": "npm-run-all clean_dist_global && mkdirp ./dist/global && node ./tools/make-umd-bundle.js && npm-run-all build_closure_core",
"build_perf": "webdriver-manager update && npm-run-all build_cjs build_global perf",
"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",
"build_spec": "npm-run-all build_cjs generate_packages copy_for_tests",
"build_spec_full": "npm-run-all compat_build_cjs compile_legacy_reexport compat_generate_packages build_spec",
"build_spec_browser": "webpack --config spec/support/webpack.mocha.config.js",
"clean_dist": "shx rm -rf ./dist",
"clean_dist_cjs": "shx rm -rf ./dist/cjs",
"clean_dist_esm5": "shx rm -rf ./dist/esm5",
"clean_dist_esm5_for_rollup": "shx rm -rf ./dist/esm5_for_rollup",
"clean_dist_esm2015": "shx rm -rf ./dist/esm2015",
"clean_dist_global": "shx rm -rf ./dist/global",
"commit": "git-cz",
"compile_dist_cjs": "tsc -p ./tsconfig/tsconfig.cjs.json",
"compile_dist_esm5": "tsc -p ./tsconfig/tsconfig.esm5.json",
"compile_dist_esm2015": "tsc -p ./tsconfig/tsconfig.esm2015.json",
"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",
"compile_dist_esm5_for_rollup": "tsc -p ./tsconfig/tsconfig.esm5.rollup.json",
"compile_legacy_reexport": "tsc -p ./tsconfig/tsconfig.legacy-reexport.json",
"copy_sources": "mkdirp dist && shx cp -r ./src/ ./dist/src",
"copy_for_tests": "shx rm -rf ./spec-build && shx cp -r ./spec/ ./spec-build/ && mkdirp ./spec-build/node_modules && shx cp -r ./dist/package/ ./spec-build/node_modules/rxjs && shx cp -r ./dist-compat/package/ ./spec-build/node_modules/rxjs-compat",
"decision_tree_widget": "cd doc/decision-tree-widget && npm run build && cd ../..",
"doctoc": "doctoc CONTRIBUTING.md",
"generate_packages": "node .make-packages.js",
"lint_perf": "eslint perf/",
"lint_spec": "tslint -c tslint.json \"spec/**/*.ts\"",
"lint_src": "tslint -c tslint.json \"src/**/*.ts\"",
"lint": "npm-run-all --parallel lint_*",
"perf": "protractor protractor.conf.js",
"perf_micro": "node ./perf/micro/index.js",
"prepublish": "shx rm -rf ./typings && npm run build_all",
"publish_docs": "./publish_docs.sh",
"test_browser": "npm-run-all build_spec_browser && opn spec/support/mocha-browser-runner.html",
"test": "mocha --require ts-node/register --opts spec-build/support/coverage.opts \"spec-build/**/*-spec.ts\"",
"test:cover": "cross-env TS_NODE_FAST=true nyc npm test",
"test:circular": "dependency-cruise --validate .dependency-cruiser.json -x \"^node_modules\" dist/esm5",
"test:systemjs": "node integration/systemjs/systemjs-compatibility-spec.js",
"tests2png": "mkdirp tmp/docs/img && cross-env TS_NODE_FAST=true mocha --compilers ts:ts-node/register --opts spec/support/tests2png.opts \"spec/**/*-spec.ts\"",
"watch": "watch \"echo triggering build && npm run build_spec && npm run test && echo build completed\" src -d -u -w=15",
"compat_build_all": "npm-run-all compat_clean_dist compat_build_cjs compat_build_esm5 compat_build_esm2015 compat_generate_packages",
"compat_build_cjs": "npm-run-all compat_clean_dist_cjs compat_compile_dist_cjs",
"compat_build_esm5": "npm-run-all compat_clean_dist_esm5 compat_compile_dist_esm5",
"compat_build_esm2015": "npm-run-all compat_clean_dist_esm2015 compat_compile_dist_esm2015",
"compat_clean_dist": "shx rm -rf ./dist-compat",
"compat_clean_dist_cjs": "shx rm -rf ./dist-compat/cjs",
"compat_clean_dist_esm5": "shx rm -rf ./dist-compat/esm5",
"compat_clean_dist_esm2015": "shx rm -rf ./dist-compat/esm2015",
"compat_compile_dist_cjs": "tsc -p ./tsconfig/compat/tsconfig.cjs.json",
"compat_compile_dist_esm5": "tsc -p ./tsconfig/compat/tsconfig.esm5.json",
"compat_compile_dist_esm2015": "tsc -p ./tsconfig/compat/tsconfig.esm2015.json",
"compat_copy_sources": "mkdirp dist-compat && shx cp -r ./compat/ ./dist-compat/",
"compat_generate_packages": "node .make-compat-package.js"
},
"repository": {
"type": "git",
"url": "git@github.com:ReactiveX/RxJS.git"
},
"keywords": [
"Rx",
"RxJS",
"ReactiveX",
"ReactiveExtensions",
"Streams",
"Observables",
"Observable",
"Stream",
"ES6",
"ES2015"
],
"author": "Ben Lesh <ben@benlesh.com>",
"contributors": [
{
"name": "Ben Lesh",
"email": "ben@benlesh.com"
},
{
"name": "Paul Taylor",
"email": "paul.e.taylor@me.com"
},
{
"name": "Jeff Cross",
"email": "crossj@google.com"
},
{
"name": "Matthew Podwysocki",
"email": "matthewp@microsoft.com"
},
{
"name": "OJ Kwon",
"email": "kwon.ohjoong@gmail.com"
},
{
"name": "Andre Staltz",
"email": "andre@staltz.com"
}
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/ReactiveX/RxJS/issues"
},
"homepage": "https://github.com/ReactiveX/RxJS",
"dependencies": {
"tslib": "^1.9.0"
},
"devDependencies": {
"@angular-devkit/build-optimizer": "0.4.6",
"@types/chai": "4.1.2",
"@types/lodash": "4.14.102",
"@types/mocha": "2.2.48",
"@types/node": "9.4.5",
"@types/sinon": "4.1.3",
"@types/sinon-chai": "2.7.29",
"babel-polyfill": "6.26.0",
"benchmark": "2.1.0",
"benchpress": "2.0.0-beta.1",
"chai": "4.1.2",
"color": "3.0.0",
"colors": "1.1.2",
"commitizen": "2.9.6",
"coveralls": "3.0.0",
"cross-env": "5.1.3",
"cz-conventional-changelog": "1.2.0",
"danger": "1.1.0",
"dependency-cruiser": "2.13.0",
"doctoc": "1.3.0",
"escape-string-regexp": "1.0.5",
"esdoc": "0.4.7",
"eslint": "4.17.0",
"fs-extra": "5.0.0",
"get-folder-size": "1.0.1",
"glob": "7.1.2",
"gm": "1.23.1",
"google-closure-compiler-js": "20170218.0.0",
"gzip-size": "4.1.0",
"http-server": "0.11.1",
"husky": "0.14.3",
"klaw-sync": "3.0.2",
"lint-staged": "3.2.5",
"lodash": "4.17.5",
"markdown-doctest": "0.9.1",
"minimist": "1.2.0",
"mkdirp": "0.5.1",
"mocha": "5.0.0",
"mocha-in-sauce": "0.0.1",
"npm-run-all": "4.1.2",
"npm-scripts-info": "0.3.6",
"nyc": "11.4.1",
"opn-cli": "3.1.0",
"platform": "1.3.5",
"promise": "8.0.1",
"protractor": "3.1.1",
"rollup": "0.36.3",
"rollup-plugin-inject": "2.0.0",
"rollup-plugin-node-resolve": "2.0.0",
"rx": "latest",
"rxjs": "^5.5.7",
"shx": "0.2.2",
"sinon": "4.3.0",
"sinon-chai": "2.14.0",
"source-map-support": "0.5.3",
"symbol-observable": "1.0.1",
"systemjs": "^0.21.0",
"ts-node": "4.1.0",
"tslint": "5.9.1",
"tslint-no-unused-expression-chai": "0.0.3",
"typescript": "latest",
"validate-commit-msg": "2.14.0",
"watch": "1.0.2",
"webpack": "1.13.1",
"xmlhttprequest": "1.8.0"
},
"engines": {
"npm": ">=2.0.0"
},
"typings": "./dist/package/Rx.d.ts"
}