package.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. {
  2. "_from": "immer@^9.0.6",
  3. "_id": "immer@9.0.21",
  4. "_inBundle": false,
  5. "_integrity": "sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==",
  6. "_location": "/immer",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "immer@^9.0.6",
  12. "name": "immer",
  13. "escapedName": "immer",
  14. "rawSpec": "^9.0.6",
  15. "saveSpec": null,
  16. "fetchSpec": "^9.0.6"
  17. },
  18. "_requiredBy": [
  19. "/slate"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/immer/-/immer-9.0.21.tgz",
  22. "_shasum": "1e025ea31a40f24fb064f1fef23e931496330176",
  23. "_spec": "immer@^9.0.6",
  24. "_where": "E:\\qinduan\\mallbackinfrontend\\node_modules\\slate",
  25. "author": {
  26. "name": "Michel Weststrate"
  27. },
  28. "bugs": {
  29. "url": "https://github.com/immerjs/immer/issues"
  30. },
  31. "bundleDependencies": false,
  32. "deprecated": false,
  33. "description": "Create your next immutable state by mutating the current one",
  34. "devDependencies": {
  35. "@babel/core": "^7.8.4",
  36. "@babel/node": "^7.8.4",
  37. "@types/jest": "^25.1.2",
  38. "coveralls": "^3.0.0",
  39. "cpx2": "^3.0.0",
  40. "deep-freeze": "^0.0.1",
  41. "flow-bin": "^0.123.0",
  42. "husky": "^1.2.0",
  43. "immutable": "^3.8.2",
  44. "import-size": "^1.0.2",
  45. "jest": "^25.1.0",
  46. "lodash": "^4.17.4",
  47. "lodash.clonedeep": "^4.5.0",
  48. "prettier": "1.19.1",
  49. "pretty-quick": "^1.8.0",
  50. "redux": "^4.0.5",
  51. "rimraf": "^2.6.2",
  52. "seamless-immutable": "^7.1.3",
  53. "semantic-release": "^17.0.2",
  54. "spec.ts": "^1.1.0",
  55. "ts-jest": "^25.2.0",
  56. "tsdx": "^0.12.3",
  57. "typescript": "^4.2.3"
  58. },
  59. "exports": {
  60. ".": {
  61. "types": "./dist/immer.d.ts",
  62. "import": "./dist/immer.esm.mjs",
  63. "require": "./dist/index.js"
  64. },
  65. "./*": "./*"
  66. },
  67. "files": [
  68. "dist",
  69. "compat",
  70. "src"
  71. ],
  72. "funding": {
  73. "type": "opencollective",
  74. "url": "https://opencollective.com/immer"
  75. },
  76. "homepage": "https://github.com/immerjs/immer#readme",
  77. "husky": {
  78. "hooks": {
  79. "pre-commit": "pretty-quick --staged"
  80. }
  81. },
  82. "jsdelivr": "dist/immer.umd.production.min.js",
  83. "jsnext:main": "dist/immer.esm.js",
  84. "keywords": [
  85. "immutable",
  86. "mutable",
  87. "copy-on-write"
  88. ],
  89. "license": "MIT",
  90. "main": "dist/index.js",
  91. "module": "dist/immer.esm.js",
  92. "name": "immer",
  93. "react-native": "dist/immer.esm.js",
  94. "repository": {
  95. "type": "git",
  96. "url": "git+https://github.com/immerjs/immer.git"
  97. },
  98. "scripts": {
  99. "build": "rimraf dist/ && tsdx build --name immer --format esm,cjs,umd && cp dist/immer.esm.js dist/immer.esm.mjs && yarn build:flow",
  100. "build:flow": "cpx 'src/types/index.js.flow' dist -v",
  101. "coverage": "jest --coverage",
  102. "coveralls": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf ./coverage",
  103. "publish-docs": "cd website && GIT_USER=mweststrate USE_SSH=true yarn docusaurus deploy",
  104. "start": "cd website && yarn start",
  105. "test": "jest && yarn test:build && yarn test:flow",
  106. "test:build": "yarn build && NODE_ENV='production' yarn jest --config jest.config.build.js",
  107. "test:flow": "yarn flow check __tests__/flow",
  108. "test:perf": "cd __performance_tests__ && babel-node add-data.js && babel-node todo.js && babel-node incremental.js",
  109. "test:size": "yarn build && yarn import-size --report . produce enableES5 enableMapSet enablePatches enableAllPlugins",
  110. "test:sizequick": "tsdx build --name immer --format esm && yarn import-size . produce",
  111. "watch": "jest --watch"
  112. },
  113. "sideEffects": false,
  114. "source": "src/immer.ts",
  115. "types": "./dist/immer.d.ts",
  116. "typesVersions": {
  117. ">=3.7": {
  118. "*": [
  119. "./*"
  120. ]
  121. },
  122. ">=3.1": {
  123. "*": [
  124. "compat/pre-3.7/*"
  125. ]
  126. }
  127. },
  128. "umd:main": "dist/immer.umd.production.min.js",
  129. "unpkg": "dist/immer.umd.production.min.js",
  130. "version": "9.0.21"
  131. }