Skip to content

Commit

Permalink
fix(test): test script
Browse files Browse the repository at this point in the history
  • Loading branch information
lxy-yz committed May 23, 2022
1 parent ee4a7f3 commit a58637b
Show file tree
Hide file tree
Showing 4 changed files with 2,117 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm dlx lint-staged
pnpx lint-staged
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
},
"scripts": {
"prepare": "husky install",
"test": "pnpm --filter lib test",
"build": "pnpm --filter lib build",
"dev": "pnpm dev:lib & pnpm dev:app",
"dev:app": "pnpm --filter app dev",
Expand Down
1 change: 1 addition & 0 deletions packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"tailwindcss": "^3.0.24",
"tslib": "^2.4.0",
"typescript": "^4.6.4",
"vite": "^2.9.9",
"vitest": "latest"
}
}
Loading

0 comments on commit a58637b

Please sign in to comment.