Skip to content

Commit 57646fe

Browse files
committed
chore: improve scripts
1 parent fb6de1e commit 57646fe

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
3535
"prettier:checker": "prettier --check .",
3636
"prettier:fix": "prettier --write .github/workflows/*.yml .",
37-
"update": "pu minor && npm i && npm run lint:fix && npm audit",
37+
"update": "pu minor && npm i && npm audit fix",
38+
"postupdate": "npm run lint:fix",
3839
"benchmark": "cd benchmark && npm ci && npm start"
3940
},
4041
"license": "MIT",

website/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@
1515
"typecheck": "tsc",
1616
"lintcheck": "prettier --check . && eslint . --ext .ts,.tsx",
1717
"lint": "prettier --write . && eslint . --fix",
18-
"test:unit": "npx poku --parallel test/unit",
18+
"test:unit": "poku --parallel test/unit",
1919
"test": "npm run typecheck && npm run lintcheck && npm run test:unit && npm run clear && npm run build",
20-
"update": "npx pu minor && npm i && npm run lint",
21-
"deploy": "npx tsx deploy/upload.ts"
20+
"update": "pu minor && npm i && npm audit fix",
21+
"postupdate": "npm run lint",
22+
"deploy": "tsx deploy/upload.ts"
2223
},
2324
"dependencies": {
2425
"@docusaurus/core": "^3.4.0",

0 commit comments

Comments
 (0)