-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
70 lines (70 loc) · 1.94 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
{
"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",
"eslint": "eslint . --ext .js,.jsx,.ts,.tsx",
"eslint:fix": "eslint . --fix --ext .js,.jsx,.ts,.tsx",
"prepare": "husky install",
"lint-staged": "lint-staged"
},
"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}": [
"npm run eslint",
"prettier --write"
],
"*.ts?(x)": [
"npm run eslint",
"prettier --parser=typescript --write"
]
},
"dependencies": {
"react": "^18.0.0"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@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",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"@umijs/fabric": "^2.8.1",
"@umijs/test": "^3.0.5",
"cross-env": "^7.0.3",
"dumi": "^1.1.0",
"eslint": "^8.24.0",
"eslint-plugin-react": "^7.31.8",
"father": "^4.0.0-rc.2",
"gh-pages": "^3.0.0",
"husky": "^8.0.1",
"lint-staged": "^10.0.7",
"prettier": "^2.2.1",
"yorkie": "^2.0.0"
}
}