-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 2.98 KB
/
Copy pathpackage.json
File metadata and controls
110 lines (110 loc) · 2.98 KB
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
108
109
110
{
"name": "let-hooks",
"version": "0.1.4",
"description": "A react hooks library",
"keywords": [
"let-hooks",
"react",
"hooks",
"typescript"
],
"homepage": "https://let-hooks.vwood.xyz",
"license": "MIT",
"main": "lib/index.js",
"unpkg": "dist/let-hooks.min.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"files": [
"dist",
"lib",
"es",
"package.json",
"README.md"
],
"scripts": {
"build": "father build",
"build:watch": "father dev",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"clean": "rimraf lib es dist",
"clean-dist": "rimraf 'packages/*/{lib,es,node_modules,dist}'",
"coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls",
"dev": "dumi dev",
"docs:build": "dumi build",
"lint": "npm run lint:es && npm run lint:css",
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
"prepare": "husky install && dumi setup",
"pretty": "pretty-quick --staged",
"prod": "pnpm publish",
"prod-beta": "pnpm run build && pnpm publish --tag beta",
"prod-canary": "pnpm run build && pnpm publish --tag canary",
"prepublish": "pnpm clean && pnpm run build",
"test": "jest --coverage",
"version": "standard-version"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{md,json}": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{css,less}": [
"stylelint --fix",
"prettier --write"
],
"*.{js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{ts,tsx}": [
"eslint --fix",
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@babel/runtime": "^7.22.15",
"async-validator": "^4.2.5",
"core-decorators": "^0.20.0",
"js-cookie": "^3.0.5"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@testing-library/jest-dom": "^5.15.1",
"@testing-library/react": "^14.0.0",
"@types/jest": "^27.5.1",
"@types/js-cookie": "^3.0.4",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@umijs/lint": "^4.0.0",
"classnames": "^2.3.2",
"coveralls": "^3.1.1",
"dumi": "^2.2.7",
"eslint": "^8.23.0",
"father": "^4.1.0",
"father-build": "^1.22.5",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"prettier-plugin-organize-imports": "^3.0.0",
"prettier-plugin-packagejson": "^2.2.18",
"pretty-quick": "^3.1.3",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"stylelint": "^14.9.1",
"ts-jest": "^26.5.6",
"typescript": "^5.2.2",
"worker-loader": "^2.0.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"publishConfig": {
"access": "public"
},
"authors": "<1061225829@qq.com>"
}