UNPKG

1.44 kBJSONView Raw
1{
2 "name": "use-immer",
3 "version": "0.11.0",
4 "description": "Use immer with React hooks",
5 "main": "dist/use-immer.js",
6 "umd:main": "dist/use-immer.umd.js",
7 "module": "dist/use-immer.module.mjs",
8 "jsnext:main": "dist/use-immer.module.mjs",
9 "react-native": "dist/use-immer.module.mjs",
10 "typings": "dist/index.d.ts",
11 "source": "src/index.ts",
12 "exports": {
13 ".": {
14 "import": {
15 "types": "./dist/index.d.mts",
16 "default": "./dist/use-immer.module.mjs"
17 },
18 "require": {
19 "types": "./dist/index.d.ts",
20 "default": "./dist/use-immer.js"
21 }
22 }
23 },
24 "sideEffects": false,
25 "scripts": {
26 "build": "microbundle && cp ./dist/index.d.ts ./dist/index.d.mts",
27 "test": "echo \"Error: no test specified\" && exit 1"
28 },
29 "repository": {
30 "type": "git",
31 "url": "git+https://github.com/mweststrate/use-immer.git"
32 },
33 "files": [
34 "dist/"
35 ],
36 "keywords": [
37 "immer",
38 "react",
39 "hooks"
40 ],
41 "author": "Michel Weststrate",
42 "license": "MIT",
43 "bugs": {
44 "url": "https://github.com/mweststrate/use-immer/issues"
45 },
46 "homepage": "https://github.com/mweststrate/use-immer#readme",
47 "peerDependencies": {
48 "immer": ">=8.0.0",
49 "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0"
50 },
51 "devDependencies": {
52 "@types/react": "^16.9.56",
53 "immer": "^9.0.0 || ^10.0.0",
54 "microbundle": "^0.15.1",
55 "typescript": "^4.0.5"
56 }
57}