Skip to content

Commit d97f229

Browse files
committed
chore: improve test script
1 parent de5935d commit d97f229

2 files changed

Lines changed: 154 additions & 1 deletion

File tree

package-lock.json

Lines changed: 149 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@
3434
"build": "unbuild",
3535
"stub": "unbuild --stub",
3636
"lint": "eslint --cache --cache-location ./node_modules/.cache/.eslintcache --max-warnings 0",
37+
"publint": "npx -y publint@latest && npx -y @arethetypeswrong/cli@latest --pack",
3738
"type-check": "tsc --noEmit",
38-
"test": "vitest",
39+
"test:unit": "vitest",
40+
"test:unit:run": "vitest run",
41+
"test": "run-s lint type-check build test:unit:run publint",
3942
"release": "standard-version",
4043
"semantic-release": "semantic-release",
4144
"prepack": "npm run build"
@@ -64,6 +67,7 @@
6467
"graphql": "^16.10.0",
6568
"graphql-tag": "^2.12.6",
6669
"jiti": "^2.4.2",
70+
"npm-run-all2": "^8.0.1",
6771
"prettier": "^3.5.1",
6872
"semantic-release": "^24.2.3",
6973
"standard-version": "^9.5.0",

0 commit comments

Comments
 (0)