-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
76 lines (76 loc) · 2.56 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
{
"version": "0.0.1",
"private": true,
"type": "module",
"packageManager": "[email protected]",
"scripts": {
"prepare": "husky install",
"eslint": "npx eslint --ext .ts,.tsx . --fix",
"stylelint": "npx stylelint --aei .less,.css,.scss . --fix",
"lint": "eslint . && stylelint .",
"lint:fix": "pnpm run eslint && pnpm run stylelint",
"docs:dev": "pnpm --filter @yike-design/react-docs dev",
"docs:build": "pnpm --filter @yike-design/react-docs build",
"release": "standard-version",
"preinstall": "npx only-allow pnpm",
"postinstall": "npm-run-all -p cli:build doc-demo:build",
"cli:dev": "pnpm --filter @yike-design/cli dev",
"cli:build": "pnpm --filter @yike-design/cli build",
"generate": "yike generate",
"generate:component": "yike generate --type component",
"generate:document": "yike generate --type document",
"build": "pnpm --filter @yike-design/react build",
"test": "pnpm --filter @yike-design/react test",
"doc-demo:build": "pnpm --filter @yike-design/mdx-demo build",
"icons:build": "pnpm --filter @yike-design/react-icons build",
"icons:generate": "pnpm --filter @yike-design/react-icons generate"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.6.7",
"@testing-library/react": "^14.0.0",
"@types/fs-extra": "^11.0.1",
"@types/node": "^20.4.5",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"@vitejs/plugin-react": "^4.1.0",
"@yike-design/cli": "workspace:*",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.9.0",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unused-imports": "^3.0.0",
"fs-extra": "^11.1.1",
"happy-dom": "^12.9.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"npm-run-all": "^4.1.5",
"postcss-less": "^6.0.0",
"postcss-scss": "^4.0.6",
"prettier": "^3.0.0",
"standard-version": "^9.5.0",
"stylelint": "^15.10.2",
"stylelint-config-recess-order": "^4.3.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^10.0.0",
"stylelint-less": "^1.0.8",
"typescript": "^5.1.6",
"vitest": "^0.34.6"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{css,less,scss}": [
"stylelint --fix",
"prettier --write"
]
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}