-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 1.7 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
{
"name": "create-hooks-slice",
"version": "0.0.16",
"description": "",
"files": [
"dist/*"
],
"module": "dist/lib/index.ts",
"types": "dist/type/index.d.ts",
"exports": {
".": "./dist/lib/index.ts",
"./core.ts": "./dist/lib/core.ts"
},
"typesVersions": {
"*": {
"core.ts": [
"dist/type/core.d.ts"
]
}
},
"scripts": {
"build": "npm run build:ts && npm run build:js && npm run build:type",
"build:ts": "babel --extensions .ts,.tsx --keep-file-extension --plugins @babel/plugin-syntax-typescript,./scripts/plugin-remove-ts-extension.js lib -d dist/lib",
"build:js": "babel --extensions .ts,.tsx --plugins @babel/plugin-transform-typescript,./scripts/plugin-remove-ts-extension.js lib -d dist/js",
"build:type": "tsc",
"mod": "babel --extensions .ts,.tsx --keep-file-extension --plugins @babel/plugin-syntax-typescript,./scripts/plugin-import-map.js lib -d mod"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hayond/create-hooks-slice.git"
},
"author": "Jan.Gao",
"license": "MIT",
"bugs": {
"url": "https://github.com/hayond/create-hooks-slice/issues"
},
"homepage": "https://github.com/hayond/create-hooks-slice#readme",
"dependencies": {
"immer": "^9.0.14",
"proxy-memoize": "^1.2.0"
},
"peerDependencies": {
"react": "^17",
"react-redux": "^7",
"redux": "^4"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.18.5",
"@babel/plugin-syntax-typescript": "^7.17.12",
"@babel/plugin-transform-typescript": "^7.18.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.0.2",
"redux": "^4.2.0",
"typescript": "^4.7.4"
}
}