add archive script tool, which used for packaging to archive and unpacking to restore user data.

This commit is contained in:
PrinOrange
2024-01-01 17:43:09 +08:00
parent d6a6a0cec1
commit a952e24fea
5 changed files with 535 additions and 1 deletions

View File

@@ -20,7 +20,8 @@
"format": "npx prettier . --write",
"lint": "next lint",
"prepare": "husky install",
"newpost": "node ./scripts/newpost.mjs"
"newpost": "node ./scripts/newpost.mjs",
"archive": "node ./scripts/archive.mjs"
},
"dependencies": {
"@giscus/react": "^2.3.0",
@@ -82,12 +83,14 @@
"@types/react-copy-to-clipboard": "^5.0.7",
"@types/react-dom": "^18.2.15",
"@types/remark-prism": "^1.3.7",
"archiver": "^6.0.1",
"feed": "^4.2.2",
"husky": "^8.0.3",
"inquirer": "^9.2.12",
"prettier": "^3.0.3",
"prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-tailwindcss": "^0.5.7",
"tar": "^6.2.0",
"turbo": "^1.11.0",
"webpack-obfuscator": "^3.5.1"
}