package.json
This file
Path
package.json
103 lines · 3.0 KiB · JSON
Last changed by
feature: support importing ES module from Node.js (#901) (#921)Candid Dauthbefore adoptionb2db62b
History of this fileTake it
The walk stopped after 200 commits: lines older than f930ce1 point at it.
feat: general typing improvements for TS 3.7 and upMichel Weststratebefore adoptionf930ce1
lines 1–2why, one step back1{2 "name": "immer",feature: Improved typescript typesMichel Weststratebefore adoption2c2f30e
line 3why, one step back3 "version": "9.0.0-beta.1",feat: general typing improvements for TS 3.7 and upMichel Weststratebefore adoptionf930ce1
line 4why, one step back4 "description": "Create your next immutable state by mutating the current one",Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8
line 5why, one step back5 "main": "dist/index.js",feature: support importing ES module from Node.js (#901) (#921)Candid Dauthbefore adoptionb2db62b
lines 6–13why, one step back6 "module": "dist/immer.esm.mjs",7 "exports": {8 ".": {9 "import": "./dist/immer.esm.mjs",10 "require": "./dist/index.js"11 },12 "./*": "./*"13 },Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8
lines 14–16why, one step back14 "umd:main": "dist/immer.umd.production.min.js",15 "unpkg": "dist/immer.umd.production.min.js",16 "jsdelivr": "dist/immer.umd.production.min.js",feature: support importing ES module from Node.js (#901) (#921)Candid Dauthbefore adoptionb2db62b
lines 17–18why, one step back17 "jsnext:main": "dist/immer.esm.mjs",18 "react-native": "dist/immer.esm.mjs",Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8
lines 19–32why, one step back19 "source": "src/immer.ts",20 "types": "./dist/immer.d.ts",21 "typesVersions": {22 ">=3.7": {23 "*": [24 "./*"25 ]26 },27 ">=3.1": {28 "*": [29 "compat/pre-3.7/*"30 ]31 }32 },fix: mark immer as sideEffect free module (although effects will be limited for now)Michel Weststratebefore adoption21c1597
line 33why, one step back33 "sideEffects": false,feat: general typing improvements for TS 3.7 and upMichel Weststratebefore adoptionf930ce1
line 34why, one step back34 "scripts": {Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8
lines 35–38why, one step back35 "test": "jest && yarn test:build && yarn test:flow",36 "test:perf": "cd __performance_tests__ && babel-node add-data.js && babel-node todo.js && babel-node incremental.js",37 "test:flow": "yarn flow check __tests__/flow",38 "test:build": "yarn build && NODE_ENV='production' yarn jest --config jest.config.build.js",feat: general typing improvements for TS 3.7 and upMichel Weststratebefore adoptionf930ce1
lines 39–41why, one step back39 "watch": "jest --watch",40 "coverage": "jest --coverage",41 "coveralls": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf ./coverage",feature: support importing ES module from Node.js (#901) (#921)Candid Dauthbefore adoptionb2db62b
line 42why, one step back42 "build": "rimraf dist/ && tsdx build --name immer --format esm,cjs,umd && cp dist/immer.esm.js dist/immer.esm.mjs && yarn build:flow",fix: Flow failed to find the Immer typingsMichel Weststratebefore adoptionc2ae050
line 43why, one step back43 "build:flow": "cpx 'src/types/index.js.flow' dist -v",chore: fixes with docusaurus2 setupMichel Weststratebefore adoptione3dfdcd
line 44why, one step back44 "publish-docs": "cd website && GIT_USER=mweststrate USE_SSH=true yarn docusaurus deploy",Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8
lines 45–47why, one step back45 "start": "cd website && yarn start",46 "test:size": "yarn build && yarn import-size --report . produce enableES5 enableMapSet enablePatches enableAllPlugins",47 "test:sizequick": "tsdx build --name immer --format esm && yarn import-size . produce"feat: general typing improvements for TS 3.7 and upMichel Weststratebefore adoptionf930ce1
lines 48–74why, one step back48 },49 "husky": {50 "hooks": {51 "pre-commit": "pretty-quick --staged"52 }53 },54 "repository": {55 "type": "git",56 "url": "https://github.com/immerjs/immer.git"57 },58 "keywords": [59 "immutable",60 "mutable",61 "copy-on-write"62 ],63 "author": "Michel Weststrate",64 "license": "MIT",65 "funding": {66 "type": "opencollective",67 "url": "https://opencollective.com/immer"68 },69 "bugs": {70 "url": "https://github.com/immerjs/immer/issues"71 },72 "homepage": "https://github.com/immerjs/immer#readme",73 "files": [74 "dist",Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8
line 75why, one step back75 "compat",feat: general typing improvements for TS 3.7 and upMichel Weststratebefore adoptionf930ce1
lines 76–78why, one step back76 "src"77 ],78 "devDependencies": {Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8
lines 79–81why, one step back79 "@babel/core": "^7.8.4",80 "@babel/node": "^7.8.4",81 "@types/jest": "^25.1.2",feat: general typing improvements for TS 3.7 and upMichel Weststratebefore adoptionf930ce1
line 82why, one step back82 "coveralls": "^3.0.0",chore: fix cpx usageMichel Weststratebefore adoptionb314b19
line 83why, one step back83 "cpx2": "^3.0.0",feat: general typing improvements for TS 3.7 and upMichel Weststratebefore adoptionf930ce1
line 84why, one step back84 "deep-freeze": "^0.0.1",fix: improve flow typesMichel Weststratebefore adoption427040c
line 85why, one step back85 "flow-bin": "^0.123.0",feat: general typing improvements for TS 3.7 and upMichel Weststratebefore adoptionf930ce1
lines 86–87why, one step back86 "husky": "^1.2.0",87 "immutable": "^3.8.2",Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8
lines 88–89why, one step back88 "import-size": "^1.0.2",89 "jest": "^25.1.0",feat: general typing improvements for TS 3.7 and upMichel Weststratebefore adoptionf930ce1
lines 90–96why, one step back90 "lodash": "^4.17.4",91 "lodash.clonedeep": "^4.5.0",92 "prettier": "1.19.1",93 "pretty-quick": "^1.8.0",94 "redux": "^4.0.5",95 "rimraf": "^2.6.2",96 "seamless-immutable": "^7.1.3",fix: attempt to fix locally not reproducible build issueMichel Weststratebefore adoptionf91bcbb
line 97why, one step back97 "semantic-release": "^17.0.2",feat: general typing improvements for TS 3.7 and upMichel Weststratebefore adoptionf930ce1
line 98why, one step back98 "spec.ts": "^1.1.0",Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8
lines 99–100why, one step back99 "ts-jest": "^25.2.0",100 "tsdx": "^0.12.3",chore: Remove old shizzleMichel Weststratebefore adoptiona607d6c
line 101why, one step back101 "typescript": "^4.2.3"feat: general typing improvements for TS 3.7 and upMichel Weststratebefore adoptionf930ce1
lines 102–103why, one step back102 }103}