[update] update tool scripts

This commit is contained in:
PrinOrange
2024-08-12 13:53:28 +08:00
parent a3d4cd5a1d
commit 95d119bbc9
9 changed files with 320 additions and 162 deletions

View File

@@ -20,8 +20,8 @@
"format": "npx prettier . --write && npx autocorrect --fix",
"lint": "next lint",
"lint:fix": "npx eslint --fix .",
"newpost": "node ./scripts/newpost.mjs",
"archive": "node ./scripts/archive.mjs"
"newpost": "bun ./scripts/newpost.ts",
"archive": "bun ./scripts/archive.ts"
},
"dependencies": {
"@giscus/react": "^3.0.0",
@@ -83,6 +83,7 @@
"tailwind-merge": "^2.0.0",
"tailwindcss": "^3.4.0",
"tailwindcss-animate": "^1.0.7",
"title-case": "^4.3.1",
"typescript": "5.2.2",
"url-join": "^5.0.0",
"zustand": "^4.4.7"
@@ -103,6 +104,7 @@
"@types/tar": "^6.1.11",
"archiver": "^7.0.1",
"autocorrect-node": "^2.11.1",
"bun": "^1.1.22",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.1",
"feed": "^4.2.2",