Skip to content

Commit aa3acdc

Browse files
committed
fix: unocss cannot found & postinstall error
1 parent eebfffa commit aa3acdc

File tree

2 files changed

+46
-83
lines changed

2 files changed

+46
-83
lines changed

package.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"lint:fix": "eslint --fix --ext .js,.jsx,.ts,.tsx --quiet ./",
3535
"test": "vitest run",
3636
"prepublishOnly": "pnpm build",
37-
"postinstall": "husky install",
3837
"release": "release-it",
3938
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
4039
"inspect": "serve .vite-inspect"
@@ -92,7 +91,11 @@
9291
"unist-util-visit": "^4.1.1",
9392
"unist-util-visit-children": "^2.0.0",
9493
"vite": "~3.1.4",
95-
"vite-plugin-inspect": "^0.7.4"
94+
"vite-plugin-inspect": "^0.7.4",
95+
"@unocss/preset-attributify": "^0.45.26",
96+
"@unocss/preset-wind": "^0.45.26",
97+
"@unocss/vite": "^0.45.26",
98+
"unocss": "^0.45.26"
9699
},
97100
"devDependencies": {
98101
"@babel/traverse": "^7.19.0",
@@ -116,9 +119,6 @@
116119
"@types/resolve": "^1.20.2",
117120
"@typescript-eslint/eslint-plugin": "^5.36.1",
118121
"@typescript-eslint/parser": "^5.36.1",
119-
"@unocss/preset-attributify": "^0.45.26",
120-
"@unocss/preset-wind": "^0.45.26",
121-
"@unocss/vite": "^0.45.26",
122122
"commitlint": "^17.1.2",
123123
"conventional-changelog-cli": "^2.2.2",
124124
"es-module-lexer": "^1.0.3",
@@ -137,7 +137,6 @@
137137
"tsup": "^6.2.3",
138138
"tsx": "^3.8.2",
139139
"typescript": "^4.7.4",
140-
"unocss": "^0.45.26",
141140
"vitest": "^0.23.1"
142141
},
143142
"files": [

0 commit comments

Comments
 (0)