package.json 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. {
  2. "name": "rxjs",
  3. "version": "7.8.1",
  4. "description": "Reactive Extensions for modern JavaScript",
  5. "main": "./dist/cjs/index.js",
  6. "module": "./dist/esm5/index.js",
  7. "es2015": "./dist/esm/index.js",
  8. "types": "index.d.ts",
  9. "typesVersions": {
  10. ">=4.2": {
  11. "*": [
  12. "dist/types/*"
  13. ]
  14. }
  15. },
  16. "sideEffects": false,
  17. "exports": {
  18. ".": {
  19. "types": "./dist/types/index.d.ts",
  20. "node": "./dist/cjs/index.js",
  21. "require": "./dist/cjs/index.js",
  22. "es2015": "./dist/esm/index.js",
  23. "default": "./dist/esm5/index.js"
  24. },
  25. "./ajax": {
  26. "types": "./dist/types/ajax/index.d.ts",
  27. "node": "./dist/cjs/ajax/index.js",
  28. "require": "./dist/cjs/ajax/index.js",
  29. "es2015": "./dist/esm/ajax/index.js",
  30. "default": "./dist/esm5/ajax/index.js"
  31. },
  32. "./fetch": {
  33. "types": "./dist/types/fetch/index.d.ts",
  34. "node": "./dist/cjs/fetch/index.js",
  35. "require": "./dist/cjs/fetch/index.js",
  36. "es2015": "./dist/esm/fetch/index.js",
  37. "default": "./dist/esm5/fetch/index.js"
  38. },
  39. "./operators": {
  40. "types": "./dist/types/operators/index.d.ts",
  41. "node": "./dist/cjs/operators/index.js",
  42. "require": "./dist/cjs/operators/index.js",
  43. "es2015": "./dist/esm/operators/index.js",
  44. "default": "./dist/esm5/operators/index.js"
  45. },
  46. "./testing": {
  47. "types": "./dist/types/testing/index.d.ts",
  48. "node": "./dist/cjs/testing/index.js",
  49. "require": "./dist/cjs/testing/index.js",
  50. "es2015": "./dist/esm/testing/index.js",
  51. "default": "./dist/esm5/testing/index.js"
  52. },
  53. "./webSocket": {
  54. "types": "./dist/types/webSocket/index.d.ts",
  55. "node": "./dist/cjs/webSocket/index.js",
  56. "require": "./dist/cjs/webSocket/index.js",
  57. "es2015": "./dist/esm/webSocket/index.js",
  58. "default": "./dist/esm5/webSocket/index.js"
  59. },
  60. "./internal/*": {
  61. "types": "./dist/types/internal/*.d.ts",
  62. "node": "./dist/cjs/internal/*.js",
  63. "require": "./dist/cjs/internal/*.js",
  64. "es2015": "./dist/esm/internal/*.js",
  65. "default": "./dist/esm5/internal/*.js"
  66. },
  67. "./package.json": "./package.json"
  68. },
  69. "config": {
  70. "commitizen": {
  71. "path": "cz-conventional-changelog"
  72. }
  73. },
  74. "lint-staged": {
  75. "*.js": "eslint --cache --fix",
  76. "(src|spec)/**/*.ts": [
  77. "tslint --fix",
  78. "prettier --write"
  79. ],
  80. "*.{js,css,md}": "prettier --write"
  81. },
  82. "scripts": {
  83. "changelog": "npx conventional-changelog-cli -p angular -i CHANGELOG.md -s",
  84. "build:spec:browser": "echo \"Browser test is not working currently\" && exit -1 && webpack --config spec/support/webpack.mocha.config.js",
  85. "lint_spec": "tslint -c spec/tslint.json -p spec/tsconfig.json \"spec/**/*.ts\"",
  86. "lint_src": "tslint -c tslint.json -p src/tsconfig.base.json \"src/**/*.ts\"",
  87. "lint": "npm-run-all --parallel lint_*",
  88. "dtslint": "tsc -b ./src/tsconfig.types.json && tslint -c spec-dtslint/tslint.json -p spec-dtslint/tsconfig.json \"spec-dtslint/**/*.ts\"",
  89. "prepublishOnly": "npm run build:package && npm run lint && npm run test && npm run test:circular && npm run dtslint && npm run test:side-effects",
  90. "publish_docs": "./publish_docs.sh",
  91. "test": "cross-env TS_NODE_PROJECT=tsconfig.mocha.json mocha --config spec/support/.mocharc.js \"spec/**/*-spec.ts\"",
  92. "test:esm": "node spec/module-test-spec.mjs",
  93. "test:browser": "echo \"Browser test is not working currently\" && exit -1 && npm-run-all build:spec:browser && opn spec/support/mocha-browser-runner.html",
  94. "test:circular": "dependency-cruiser --validate .dependency-cruiser.json -x \"^node_modules\" dist/esm5",
  95. "test:systemjs": "node integration/systemjs/systemjs-compatibility-spec.js",
  96. "test:side-effects": "check-side-effects --test integration/side-effects/side-effects.json",
  97. "test:side-effects:update": "npm run test:side-effects -- --update",
  98. "test:import": "ts-node ./integration/import/runner.ts",
  99. "compile": "tsc -b ./src/tsconfig.cjs.json ./src/tsconfig.cjs.spec.json ./src/tsconfig.esm.json ./src/tsconfig.esm5.json ./src/tsconfig.esm5.rollup.json ./src/tsconfig.types.json ./src/tsconfig.types.spec.json ./spec/tsconfig.json",
  100. "build:clean": "shx rm -rf ./dist",
  101. "build:global": "node ./tools/make-umd-bundle.js && node ./tools/make-closure-core.js",
  102. "build:package": "npm-run-all build:clean compile build:global && node ./tools/prepare-package.js && node ./tools/generate-alias.js",
  103. "watch": "nodemon -w \"src/\" -w \"spec/\" -e ts -x npm test",
  104. "watch:dtslint": "nodemon -w \"src/\" -w \"spec-dtslint/\" -e ts -x npm run dtslint"
  105. },
  106. "repository": {
  107. "type": "git",
  108. "url": "https://github.com/reactivex/rxjs.git"
  109. },
  110. "keywords": [
  111. "Rx",
  112. "RxJS",
  113. "ReactiveX",
  114. "ReactiveExtensions",
  115. "Streams",
  116. "Observables",
  117. "Observable",
  118. "Stream",
  119. "ES6",
  120. "ES2015"
  121. ],
  122. "author": "Ben Lesh <ben@benlesh.com>",
  123. "contributors": [
  124. {
  125. "name": "Ben Lesh",
  126. "email": "ben@benlesh.com"
  127. },
  128. {
  129. "name": "Paul Taylor",
  130. "email": "paul.e.taylor@me.com"
  131. },
  132. {
  133. "name": "Jeff Cross",
  134. "email": "crossj@google.com"
  135. },
  136. {
  137. "name": "Matthew Podwysocki",
  138. "email": "matthewp@microsoft.com"
  139. },
  140. {
  141. "name": "OJ Kwon",
  142. "email": "kwon.ohjoong@gmail.com"
  143. },
  144. {
  145. "name": "Andre Staltz",
  146. "email": "andre@staltz.com"
  147. }
  148. ],
  149. "license": "Apache-2.0",
  150. "bugs": {
  151. "url": "https://github.com/ReactiveX/RxJS/issues"
  152. },
  153. "homepage": "https://rxjs.dev",
  154. "dependencies": {
  155. "tslib": "^2.1.0"
  156. },
  157. "devDependencies": {
  158. "@angular-devkit/build-optimizer": "0.4.6",
  159. "@angular-devkit/schematics": "^11.0.7",
  160. "@swc/core": "^1.2.128",
  161. "@swc/helpers": "^0.3.2",
  162. "@types/chai": "^4.2.11",
  163. "@types/lodash": "4.14.102",
  164. "@types/mocha": "^7.0.2",
  165. "@types/node": "^14.14.6",
  166. "@types/shelljs": "^0.8.8",
  167. "@types/sinon": "4.1.3",
  168. "@types/sinon-chai": "2.7.29",
  169. "@types/source-map": "^0.5.2",
  170. "@typescript-eslint/eslint-plugin": "^4.29.1",
  171. "@typescript-eslint/parser": "^4.29.1",
  172. "babel-polyfill": "6.26.0",
  173. "chai": "^4.2.0",
  174. "check-side-effects": "0.0.23",
  175. "color": "3.0.0",
  176. "colors": "1.1.2",
  177. "cross-env": "5.1.3",
  178. "cz-conventional-changelog": "1.2.0",
  179. "dependency-cruiser": "^9.12.0",
  180. "escape-string-regexp": "1.0.5",
  181. "eslint": "^7.8.1",
  182. "eslint-plugin-jasmine": "^2.10.1",
  183. "form-data": "^3.0.0",
  184. "fs-extra": "^8.1.0",
  185. "glob": "7.1.2",
  186. "google-closure-compiler-js": "20170218.0.0",
  187. "husky": "^4.2.5",
  188. "klaw-sync": "3.0.2",
  189. "lint-staged": "^10.2.11",
  190. "lodash": "^4.17.15",
  191. "minimist": "^1.2.5",
  192. "mocha": "^8.1.3",
  193. "nodemon": "^1.9.2",
  194. "npm-run-all": "4.1.2",
  195. "opn-cli": "3.1.0",
  196. "platform": "1.3.5",
  197. "prettier": "^2.5.1",
  198. "promise": "8.0.1",
  199. "rollup": "0.66.6",
  200. "rollup-plugin-alias": "1.4.0",
  201. "rollup-plugin-inject": "2.0.0",
  202. "rollup-plugin-node-resolve": "2.0.0",
  203. "shelljs": "^0.8.4",
  204. "shx": "^0.3.2",
  205. "sinon": "4.3.0",
  206. "sinon-chai": "2.14.0",
  207. "source-map-support": "0.5.3",
  208. "systemjs": "^0.21.0",
  209. "ts-node": "^9.1.1",
  210. "tslint": "^5.20.1",
  211. "tslint-config-prettier": "^1.18.0",
  212. "tslint-etc": "1.13.10",
  213. "tslint-no-toplevel-property-access": "0.0.2",
  214. "tslint-no-unused-expression-chai": "0.0.3",
  215. "typescript": "~4.2.0",
  216. "validate-commit-msg": "2.14.0",
  217. "web-streams-polyfill": "^3.0.2",
  218. "webpack": "^4.31.0"
  219. },
  220. "files": [
  221. "dist/bundles",
  222. "dist/cjs/**/!(*.tsbuildinfo)",
  223. "dist/esm/**/!(*.tsbuildinfo)",
  224. "dist/esm5/**/!(*.tsbuildinfo)",
  225. "dist/types/**/!(*.tsbuildinfo)",
  226. "ajax",
  227. "fetch",
  228. "operators",
  229. "testing",
  230. "webSocket",
  231. "src",
  232. "CHANGELOG.md",
  233. "CODE_OF_CONDUCT.md",
  234. "LICENSE.txt",
  235. "package.json",
  236. "README.md",
  237. "tsconfig.json"
  238. ],
  239. "husky": {
  240. "hooks": {
  241. "pre-commit": "lint-staged",
  242. "commit-msg": "validate-commit-msg"
  243. }
  244. }
  245. }