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