Skip to content

Commit 02b8490

Browse files
committed
chore(fix): missing deps and scripts for tests
1 parent 345efa3 commit 02b8490

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
"dist"
1818
],
1919
"scripts": {
20+
"dev": "vite",
2021
"build": "unbuild",
21-
"lint": "eslint --cache src test && prettier src test --check",
22-
"lint:fix": "eslint --cache src test --fix && prettier src test --write",
22+
"lint": "eslint --cache src tests && prettier src tests --check",
23+
"lint:fix": "eslint --cache src tests --fix && prettier src tests --write",
2324
"test:types": "tsc --noEmit --skipLibCheck",
24-
"test": "pnpm lint && pnpm test:types && jest test",
25-
"test:dev": "jest test",
25+
"test": "vitest",
2626
"prepare": "husky install",
2727
"release": "release-it",
2828
"prepack": "pnpm build"
@@ -52,7 +52,9 @@
5252
"ts-jest": "^29.4.0",
5353
"typescript": "5.8.3",
5454
"typescript-eslint": "^8.38.0",
55-
"unbuild": "^3.6.0"
55+
"unbuild": "^3.6.0",
56+
"vite": "^7.1.1",
57+
"vitest": "^3.2.4"
5658
},
5759
"lint-staged": {
5860
"*.ts": "pnpm test"

0 commit comments

Comments
 (0)