UNPKG

2.63 kBJSONView Raw
1{
2 "name": "immer",
3 "version": "10.1.1",
4 "description": "Create your next immutable state by mutating the current one",
5 "main": "./dist/cjs/index.js",
6 "module": "./dist/immer.legacy-esm.js",
7 "exports": {
8 "./package.json": "./package.json",
9 ".": {
10 "types": "./dist/immer.d.ts",
11 "import": "./dist/immer.mjs",
12 "require": "./dist/cjs/index.js"
13 }
14 },
15 "jsnext:main": "dist/immer.mjs",
16 "react-native": "./dist/immer.legacy-esm.js",
17 "source": "src/immer.ts",
18 "types": "./dist/immer.d.ts",
19 "sideEffects": false,
20 "scripts": {
21 "pretest": "yarn build",
22 "test": "jest && yarn test:build && yarn test:flow",
23 "test:perf": "cd __performance_tests__ && node add-data.mjs && node todo.mjs && node incremental.mjs && node large-obj.mjs",
24 "test:flow": "yarn flow check __tests__/flow",
25 "test:build": "NODE_ENV='production' yarn jest --config jest.config.build.js",
26 "watch": "jest --watch",
27 "coverage": "jest --coverage",
28 "coveralls": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf ./coverage",
29 "build": "tsup",
30 "publish-docs": "cd website && GIT_USER=mweststrate USE_SSH=true yarn docusaurus deploy",
31 "start": "cd website && yarn start",
32 "test:size": "yarn build && yarn import-size --report . produce enableMapSet enablePatches",
33 "test:sizequick": "yarn build && yarn import-size . produce"
34 },
35 "husky": {
36 "hooks": {
37 "pre-commit": "pretty-quick --staged"
38 }
39 },
40 "repository": {
41 "type": "git",
42 "url": "https://github.com/immerjs/immer.git"
43 },
44 "keywords": [
45 "immutable",
46 "mutable",
47 "copy-on-write"
48 ],
49 "author": "Michel Weststrate <info@michel.codes>",
50 "license": "MIT",
51 "funding": {
52 "type": "opencollective",
53 "url": "https://opencollective.com/immer"
54 },
55 "bugs": {
56 "url": "https://github.com/immerjs/immer/issues"
57 },
58 "homepage": "https://github.com/immerjs/immer#readme",
59 "files": [
60 "dist",
61 "compat",
62 "src"
63 ],
64 "devDependencies": {
65 "@babel/core": "^7.21.3",
66 "@types/jest": "^25.1.2",
67 "coveralls": "^3.0.0",
68 "cpx2": "^3.0.0",
69 "deep-freeze": "^0.0.1",
70 "flow-bin": "^0.123.0",
71 "husky": "^1.2.0",
72 "immutable": "^3.8.2",
73 "import-size": "^1.0.2",
74 "jest": "^29.5.0",
75 "lodash": "^4.17.4",
76 "lodash.clonedeep": "^4.5.0",
77 "prettier": "1.19.1",
78 "pretty-quick": "^1.8.0",
79 "redux": "^4.0.5",
80 "rimraf": "^2.6.2",
81 "seamless-immutable": "^7.1.3",
82 "semantic-release": "^17.0.2",
83 "ts-jest": "^29.0.0",
84 "tsup": "^6.7.0",
85 "typescript": "^5.0.2"
86 }
87}