-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 2.79 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
{
"name": "k-view-react",
"version": "1.0.0",
"description": "",
"typings": "lib/index.d.ts",
"main": "lib/index.js",
"module": "es/index.js",
"authors": {
"name": "cgj",
"email": "[email protected]"
},
"files": [
"lib",
"es"
],
"scripts": {
"dev": "dumi dev",
"build:preview": "npm run build:site && serve site",
"build:site": "rimraf site && dumi build",
"build:types": "tsc -p tsconfig.build.json && cpr lib es",
"clean": "rimraf lib es dist",
"build": "npm run clean && npm run build:types && gulp",
"deploy:site": "npm run build:site && gh-pages -d site",
"commit": "git add . && git-cz",
"test": "jest --coverage",
"test:watch": "jest --watch",
"test:update": "jest --updateSnapshot",
"gen": "node --experimental-loader esbuild-node-loader .plop/index.ts"
},
"author": "cgj",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.18.0",
"@babel/plugin-proposal-class-properties": "^7.17.12",
"@babel/plugin-transform-runtime": "^7.18.0",
"@babel/preset-env": "^7.18.0",
"@babel/preset-typescript": "^7.17.12",
"@babel/runtime": "^7.18.0",
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.2.0",
"@types/jest": "^27.5.1",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.4",
"@umijs/fabric": "^2.10.2",
"commitizen": "^4.2.4",
"cpr": "^3.0.1",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"dumi": "^1.1.42",
"esbuild": "^0.14.39",
"esbuild-node-loader": "^0.8.0",
"esmo": "^0.16.3",
"gh-pages": "^4.0.0",
"git-cz": "^4.9.0",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^8.0.0",
"gulp-babel": "^8.0.0",
"gulp-cssnano": "^2.1.3",
"gulp-filter": "^7.0.0",
"gulp-less": "^5.0.0",
"husky": "^8.0.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"lint-staged": "^12.4.1",
"plop": "^3.1.0",
"prettier": "^2.6.2",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"serve": "^13.0.2",
"through2": "^4.0.2",
"ts-jest": "^28.0.2",
"ts-node": "^10.8.0",
"typescript": "^4.6.4"
},
"sideEffects": [
"dist/**",
"es/**/style/*",
"lib/**/style/*",
"*.less"
],
"lint-staged": {
"src/**/*.ts?(x)": [
"prettier --write",
"eslint --fix",
"jest --bail --findRelatedTests",
"git add"
],
"src/**/*.less": [
"stylelint --syntax less --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"dependencies": {
"prop-types": "^15.8.1"
}
}