-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
107 lines (107 loc) · 3 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "reactish-state",
"version": "0.11.2",
"description": "Simple, decentralized state management for React.",
"author": "Zheng Song",
"license": "MIT",
"repository": "szhsin/reactish-state",
"homepage": "https://github.com/szhsin/reactish-state#readme",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./types/index.d.ts",
"sideEffects": false,
"files": [
"dist/",
"types/",
"middleware/",
"plugin/"
],
"keywords": [
"react",
"state",
"management",
"redux"
],
"scripts": {
"start": "run-p watch \"types -- --watch\"",
"bundle": "rollup -c",
"watch": "rollup -c -w",
"clean": "rm -Rf dist types",
"types": "tsc",
"posttypes": "rm -Rf types/__tests__",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"pret": "prettier -c .",
"pret:fix": "prettier -w .",
"build": "run-s pret clean lint types bundle",
"test": "jest",
"test:watch": "jest --watch",
"eg": "npm run dev --prefix examples"
},
"exports": {
".": {
"types": "./types/index.d.ts",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
},
"./middleware": {
"types": "./types/middleware/index.d.ts",
"require": "./dist/middleware/cjs/index.js",
"default": "./dist/middleware/esm/index.js"
},
"./middleware/immer": {
"types": "./types/middleware/immer.d.ts",
"require": "./dist/middleware/cjs/immer.js",
"default": "./dist/middleware/esm/immer.js"
},
"./plugin": {
"types": "./types/plugin/index.d.ts",
"require": "./dist/plugin/cjs/index.js",
"default": "./dist/plugin/esm/index.js"
}
},
"peerDependencies": {
"immer": ">=6.0",
"react": "^16.8 || ^17.0 || ^18.0"
},
"peerDependenciesMeta": {
"immer": {
"optional": true
}
},
"dependencies": {
"use-sync-external-store": "^1.2.0"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.23.2",
"@redux-devtools/extension": "^3.2.5",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.2.3",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.7",
"@types/react": "^18.2.34",
"@types/use-sync-external-store": "^0.0.5",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"babel-plugin-pure-annotations": "^0.1.2",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-hooks-addons": "^0.3.1",
"immer": "^10.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^4.3.0",
"typescript": "^5.2.2"
}
}