package.json
This file
Path
package.json
104 lines · 3.1 KiB · JSON
Last changed by
fix: ensure type exports is first in package.json export declaration (#1018)Chenbefore adoptionb6ccd0f
History of this fileTake it
The walk stopped after 200 commits: lines older than f97d037 point at it.
docs: updated sponsor linksMichel Weststratebefore adoptionf97d037
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",docs: updated sponsor linksMichel Weststratebefore adoptionf97d037
lines 4–5why, one step back4 "description": "Create your next immutable state by mutating the current one",5 "main": "dist/index.js",fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219
line 6why, one step back6 "module": "dist/immer.esm.js",feature: support importing ES module from Node.js (#901) (#921)Candid Dauthbefore adoptionb2db62b
lines 7–8why, one step back7 "exports": {8 ".": {fix: ensure type exports is first in package.json export declaration (#1018)Chenbefore adoptionb6ccd0f
line 9why, one step back9 "types": "./dist/immer.d.ts",feature: support importing ES module from Node.js (#901) (#921)Candid Dauthbefore adoptionb2db62b
line 10why, one step back10 "import": "./dist/immer.esm.mjs",fix: ensure type exports is first in package.json export declaration (#1018)Chenbefore adoptionb6ccd0f
line 11why, one step back11 "require": "./dist/index.js"feature: support importing ES module from Node.js (#901) (#921)Candid Dauthbefore adoptionb2db62b
lines 12–14why, one step back12 },13 "./*": "./*"14 },docs: updated sponsor linksMichel Weststratebefore adoptionf97d037
lines 15–17why, one step back15 "umd:main": "dist/immer.umd.production.min.js",16 "unpkg": "dist/immer.umd.production.min.js",17 "jsdelivr": "dist/immer.umd.production.min.js",fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219
lines 18–19why, one step back18 "jsnext:main": "dist/immer.esm.js",19 "react-native": "dist/immer.esm.js",docs: updated sponsor linksMichel Weststratebefore adoptionf97d037
lines 20–42why, one step back20 "source": "src/immer.ts",21 "types": "./dist/immer.d.ts",22 "typesVersions": {23 ">=3.7": {24 "*": [25 "./*"26 ]27 },28 ">=3.1": {29 "*": [30 "compat/pre-3.7/*"31 ]32 }33 },34 "sideEffects": false,35 "scripts": {36 "test": "jest && yarn test:build && yarn test:flow",37 "test:perf": "cd __performance_tests__ && babel-node add-data.js && babel-node todo.js && babel-node incremental.js",38 "test:flow": "yarn flow check __tests__/flow",39 "test:build": "yarn build && NODE_ENV='production' yarn jest --config jest.config.build.js",40 "watch": "jest --watch",41 "coverage": "jest --coverage",42 "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 43why, one step back43 "build": "rimraf dist/ && tsdx build --name immer --format esm,cjs,umd && cp dist/immer.esm.js dist/immer.esm.mjs && yarn build:flow",docs: updated sponsor linksMichel Weststratebefore adoptionf97d037
line 44why, one step back44 "build:flow": "cpx 'src/types/index.js.flow' dist -v",chore: fixes with docusaurus2 setupMichel Weststratebefore adoptione3dfdcd
line 45why, one step back45 "publish-docs": "cd website && GIT_USER=mweststrate USE_SSH=true yarn docusaurus deploy",docs: updated sponsor linksMichel Weststratebefore adoptionf97d037
lines 46–83why, one step back46 "start": "cd website && yarn start",47 "test:size": "yarn build && yarn import-size --report . produce enableES5 enableMapSet enablePatches enableAllPlugins",48 "test:sizequick": "tsdx build --name immer --format esm && yarn import-size . produce"49 },50 "husky": {51 "hooks": {52 "pre-commit": "pretty-quick --staged"53 }54 },55 "repository": {56 "type": "git",57 "url": "https://github.com/immerjs/immer.git"58 },59 "keywords": [60 "immutable",61 "mutable",62 "copy-on-write"63 ],64 "author": "Michel Weststrate",65 "license": "MIT",66 "funding": {67 "type": "opencollective",68 "url": "https://opencollective.com/immer"69 },70 "bugs": {71 "url": "https://github.com/immerjs/immer/issues"72 },73 "homepage": "https://github.com/immerjs/immer#readme",74 "files": [75 "dist",76 "compat",77 "src"78 ],79 "devDependencies": {80 "@babel/core": "^7.8.4",81 "@babel/node": "^7.8.4",82 "@types/jest": "^25.1.2",83 "coveralls": "^3.0.0",chore: fix cpx usageMichel Weststratebefore adoptionb314b19
line 84why, one step back84 "cpx2": "^3.0.0",docs: updated sponsor linksMichel Weststratebefore adoptionf97d037
lines 85–101why, one step back85 "deep-freeze": "^0.0.1",86 "flow-bin": "^0.123.0",87 "husky": "^1.2.0",88 "immutable": "^3.8.2",89 "import-size": "^1.0.2",90 "jest": "^25.1.0",91 "lodash": "^4.17.4",92 "lodash.clonedeep": "^4.5.0",93 "prettier": "1.19.1",94 "pretty-quick": "^1.8.0",95 "redux": "^4.0.5",96 "rimraf": "^2.6.2",97 "seamless-immutable": "^7.1.3",98 "semantic-release": "^17.0.2",99 "spec.ts": "^1.1.0",100 "ts-jest": "^25.2.0",101 "tsdx": "^0.12.3",chore: Remove old shizzleMichel Weststratebefore adoptiona607d6c
line 102why, one step back102 "typescript": "^4.2.3"docs: updated sponsor linksMichel Weststratebefore adoptionf97d037
lines 103–104why, one step back103 }104}