-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpackage.json
61 lines (61 loc) · 2.11 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
58
59
60
61
{
"name": "state-pool",
"private": true,
"version": "0.10.1",
"description": "Transform your React app with our state management library! Declare global and local states like variables, powered by the magic of React hooks 🪄✨",
"license": "MIT",
"homepage": "https://github.com/yezyilomo/state-pool/blob/master/README.md",
"repository": "https://github.com/yezyilomo/state-pool",
"bugs": "https://github.com/yezyilomo/state-pool/issues",
"keywords": [
"state",
"immutable"
],
"authors": [
"Yezileli Ilomo <[email protected]> (https://github.com/yezyilomo)"
],
"main": "index.js",
"module": "esm/index.js",
"types": "index.d.ts",
"files": [
"**"
],
"sideEffects": false,
"scripts": {
"prebuild": "shx rm -rf dist",
"build": "tsc",
"postbuild": "npm run copy",
"test": "shx rm -rf dist && tsc && jest ./dist/test && shx rm -rf dist",
"copy": "shx mkdir dist/esm && shx cp -r dist/src/* dist/esm && shx mv dist/src/* dist && shx rm -rf dist/{src,tests} && shx cp package.json README.md LICENSE dist && json -I -f dist/package.json -e \"this.private=false; this.devDependencies=undefined; this.scripts=undefined;\"",
"publish:dist": "npm run build && cd dist && npm publish"
},
"exports": {
"./package.json": "./package.json",
".": {
"types": "./index.d.ts",
"module": "./esm/index.js",
"import": "./esm/index.js",
"default": "./index.js"
}
},
"dependencies": {
"immer": ">=10.0.0"
},
"peerDependencies": {
"react": ">=16.8.3"
},
"devDependencies": {
"@babel/preset-env": "latest",
"@babel/preset-react": "latest",
"@testing-library/react-hooks": "latest",
"@types/jest": "latest",
"@babel/eslint-parser": "latest",
"babel-jest": "latest",
"jest": "latest",
"json": "latest",
"react": "latest",
"react-test-renderer": "latest",
"shx": "latest",
"typescript": "latest"
}
}