-
Notifications
You must be signed in to change notification settings - Fork 183
/
package.json
74 lines (74 loc) · 2.61 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
{
"name": "yike-design-monorepo",
"version": "0.0.1",
"private": true,
"type": "module",
"scripts": {
"prepare": "pnpm --filter @yike-design/build build && pnpm --filter @yike-design/resolver build && pnpm gen:icon",
"dev:demo": "pnpm --filter demo dev",
"test": "vitest",
"build:demo": "pnpm --filter demo build",
"preview:demo": "pnpm --filter demo preview",
"eslint": "npx eslint --ext .ts,.tsx,.js,.jsx,.vue . --fix",
"stylelint": "npx stylelint --aei .vue,.less,.css,.html . --fix",
"lint": "eslint . && stylelint .",
"lint:fix": "pnpm run eslint && pnpm run stylelint",
"new": "node ./config/script/new-component.mjs",
"postinstall": "npx husky install",
"preinstall": "npx only-allow pnpm",
"version:release": "pnpm run build:comp && pnpm --filter @yike-design/ui release && git push --follow-tags",
"build:comp": "pnpm --filter @yike-design/build build && pnpm --filter @yike-design/ui build:comp && pnpm --filter @yike-design/ui build:less",
"build:less": "pnpm --filter @yike-design/build build && pnpm --filter @yike-design/ui build:less",
"gen:icon": "pnpm --filter @yike-design/ui gen:icon",
"gen:less": "pnpm --filter @yike-design/ui gen:less",
"build:resolver": "pnpm --filter @yike-design/resolver build"
},
"dependencies": {
"dayjs": "^1.11.13",
"vue": "^3.5.3",
"@yike-design/ui": "workspace:*"
},
"devDependencies": {
"@testing-library/vue": "^8.1.0",
"@types/node": "^22.5.4",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"@vitejs/plugin-vue": "^5.1.3",
"@vitejs/plugin-vue-jsx": "^4.0.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-unused-imports": "^4.1.3",
"eslint-plugin-vue": "^9.28.0",
"happy-dom": "^15.7.3",
"husky": "^9.1.5",
"less": "^4.2.0",
"lint-staged": "^15.2.10",
"postcss": "^8.4.45",
"postcss-html": "^1.7.0",
"postcss-less": "^6.0.0",
"prettier": "^3.3.3",
"release-it": "^17.6.0",
"standard-version": "^9.5.0",
"stylelint": "^16.9.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard-vue": "^1.0.0",
"stylelint-less": "^3.0.1",
"stylelint-order": "^6.0.4",
"typescript": "5.5.4",
"vite": "^5.4.3",
"vitest": "^2.0.5",
"vue-tsc": "^2.1.6"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,vue}": [
"prettier --write",
"eslint --fix"
],
"*.{css,less,vue}": [
"prettier --write",
"stylelint --fix"
]
}
}