File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 "lint:types" : " pnpm -r --parallel run typecheck || echo 'Type checking finished with errors'" ,
1818 "release" : " tsx script/release.ts" ,
1919 "test" : " pnpm --filter=app test" ,
20- "test:unit" : " vitest run"
20+ "test:unit" : " vitest run" ,
21+ "postinstall" : " simple-git-hooks"
22+ },
23+ "simple-git-hooks" : {
24+ "pre-commit" : " pnpm exec lint-staged"
25+ },
26+ "lint-staged" : {
27+ "*" : [
28+ " prettier --ignore-unknown --write"
29+ ]
2130 },
2231 "keywords" : [],
2332 "author" : " " ,
3544 "eslint-config-unjs" : " ^0.2.1" ,
3645 "eslint-plugin-unicorn" : " 47.0.0" ,
3746 "eslint-plugin-vue" : " ^10.0.0" ,
47+ "lint-staged" : " ^16.4.0" ,
3848 "ohash" : " ^1.1.3" ,
3949 "pkg-pr-new" : " workspace:^" ,
4050 "prettier" : " ^3.2.5" ,
51+ "simple-git-hooks" : " ^2.13.1" ,
4152 "tsx" : " ^4.10.5" ,
4253 "typescript" : " ^5.4.5" ,
4354 "uncrypto" : " ^0.1.3" ,
You can’t perform that action at this time.
0 commit comments