-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
124 lines (124 loc) · 3.34 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "react-single-ui",
"version": "0.0.10",
"description": "A react library developed with dumi",
"keywords": [
"react",
"ui",
"components",
"react components",
"ui library",
"customizable",
"lightweight",
"frontend",
"responsive",
"design system",
"component library"
],
"license": "MIT",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "father build",
"build:watch": "father dev",
"dev": "dumi dev",
"docs:build": "dumi build",
"docs:preview": "dumi preview",
"doctor": "father doctor",
"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",
"prepublishOnly": "father doctor && npm run build",
"start": "npm run dev",
"test": "jest",
"test:coverage": "jest --coverage"
},
"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": {
"@fortawesome/fontawesome-free": "^6.6.0",
"@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-brands-svg-icons": "^6.6.0",
"@fortawesome/free-regular-svg-icons": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/react-fontawesome": "^0.2.2",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.7",
"autoprefixer": "^10.4.20",
"axios": "^1.7.2",
"classnames": "^2.5.1",
"jest": "29.7.0",
"lodash": "^4.17.21",
"postcss": "^8.4.41",
"postcss-import": "^16.1.0",
"tailwindcss": "^3.4.10"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"@umijs/lint": "^4.0.0",
"babel-jest": "^29.7.0",
"babel-plugin-import": "^1.13.8",
"dumi": "^2.3.0",
"dumi-theme-mobile": "^2.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"father": "^4.1.0",
"husky": "^8.0.1",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^13.3.0",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.0.0",
"prettier-plugin-packagejson": "^2.5.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"stylelint": "^14.4.0",
"ts-jest": "^29.0.0",
"typescript": "5.6.3"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"publishConfig": {
"access": "public"
},
"authors": []
}