-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
126 lines (126 loc) · 3.4 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
125
126
{
"name": "cheesi",
"version": "1.0.3",
"private": false,
"description": "test",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "npm run build:ts && npm run build:css && npm run clean",
"build:css": "lessc ./src/style/index.less ./dist/index.css",
"build:ts": "tsc -p tsconfig.build.json",
"build:watch": "father dev",
"clean": "ts-node ./scripts/deleteLessPath.ts",
"commit": "cz",
"deploy": "gh-pages -d docs-dist",
"dev": "dumi dev",
"docs:build": "dumi build",
"doctor": "father doctor",
"lint": "npm run lint:es && npm run lint:css",
"lint:css": "stylelint \"src/**/*.{css,less}\"",
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
"prepare": "husky install && dumi setup",
"prepublishOnly": "npm run build",
"start": "npm run dev",
"test": "jest"
},
"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"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"@typescript-eslint/parser": "^5.49.0",
"classnames": "^2.3.2",
"cz": "^1.8.2",
"dayjs": "^1.11.7",
"jest-axe": "^7.0.0",
"mockdate": "^3.0.5",
"rc-field-form": "^1.27.4",
"rc-menu": "^9.8.2",
"rc-progress": "^3.4.1"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@babel/runtime": "^7.20.13",
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@jest/globals": "^29.4.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/classnames": "^2.3.1",
"@types/jest": "^29.4.0",
"@types/jest-axe": "^3.5.5",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@umijs/lint": "^4.0.0",
"babel-jest": "^29.4.0",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"dumi": "^2.1.10",
"eslint": "^8.23.0",
"father": "^2.30.23",
"gh-pages": "^5.0.0",
"husky": "^8.0.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.4.0",
"jest-environment-jsdom": "^29.4.0",
"less": "^4.1.3",
"lint-staged": "^13.0.3",
"mini-css-extract-plugin": "^2.7.2",
"prettier": "^2.7.1",
"prettier-plugin-organize-imports": "^3.0.0",
"prettier-plugin-packagejson": "^2.2.18",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-test-renderer": "^18.2.0",
"style-loader": "^3.3.1",
"stylelint": "^14.16.1",
"stylelint-config-standard": "^29.0.0",
"stylelint-order": "^6.0.1",
"stylelint-scss": "^4.3.0",
"ts-jest": "^29.0.5",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"publishConfig": {
"access": "public"
},
"authors": []
}