-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
65 lines (65 loc) · 1.42 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
{
"name": "@vearvip/giao-hook",
"version": "1.0.5",
"description": "解决useEffect闭包陷阱问题,畅快拿到最新变更的state",
"files": [
"esm",
"es2017",
"cjs",
"dist"
],
"main": "esm/index.js",
"module": "esm/index.js",
"types": "esm/index.d.ts",
"exports": {
".": {
"es2017": {
"types": "./es2017/index.d.ts",
"default": "./es2017/index.js"
},
"default": {
"types": "./esm/index.d.ts",
"default": "./esm/index.js"
}
},
"./*": "./*"
},
"sideEffects": [
"dist/*"
],
"scripts": {
"start": "ice-pkg start",
"build": "ice-pkg build",
"prepublishOnly": "npm run build",
"eslint": "eslint --cache --ext .js,.jsx,.ts,.tsx ./",
"eslint:fix": "npm run eslint -- --fix",
"stylelint": "stylelint \"**/*.{css,scss,less}\"",
"lint": "npm run eslint && npm run stylelint"
},
"keywords": [
"react hooks 陷阱",
"闭包陷阱",
"Trap closure",
"Hooks closure",
"useEffect closure"
],
"dependencies": {
"@swc/helpers": "^0.4.14",
"@ice/jsx-runtime": "^0.2.0"
},
"devDependencies": {
"@ice/pkg": "^1.0.0",
"@iceworks/spec": "^1.0.0",
"eslint": "^7.0.0",
"stylelint": "^13.7.2"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/vearvip/giao-hook"
},
"author": "vear",
"license": "MIT"
}