forked from backgron/tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.46 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
{
"private": true,
"name": "tools",
"version": "1.0.0",
"workspaces": [
"packages/*"
],
"scripts": {
"start": "dumi dev",
"docs:build": "dumi build",
"docs:deploy": "gh-pages -d docs-dist",
"build":"father build",
"build-utils": "cross-env NODE_ENV_PACKAGENAME=backgron-utils father build",
"build-ui": "cross-env NODE_ENV_PACKAGENAME=backgron-ui father build",
"deploy": "pnpm run docs:build && pnpm run docs:deploy",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"test": "umi-test",
"test:coverage": "umi-test --coverage",
"prepublishOnly": "pnpm run build",
"preinstall": "npx only-allow pnpm"
},
"files": [
"dist"
],
"module": "dist/esm/index.js",
"typings": "dist/esm/index.d.ts",
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"dependencies": {
"react": "^18.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.15.1",
"@testing-library/react": "^13.0.0",
"@types/jest": "^27.0.3",
"@types/node": "^18.7.18",
"@types/react": "^18.0.20",
"@umijs/fabric": "^2.8.1",
"@umijs/test": "^3.0.5",
"cross-env": "^7.0.3",
"dumi": "^1.1.0",
"father": "^4.0.0-rc.2",
"gh-pages": "^3.0.0",
"lint-staged": "^10.0.7",
"prettier": "^2.2.1",
"yorkie": "^2.0.0"
}
}