feat: added cleanup script

This commit is contained in:
Haoyu Xu
2025-04-26 18:09:45 +08:00
parent b5c3361dd2
commit 1e7735203d
8 changed files with 39 additions and 10 deletions

View File

@@ -16,6 +16,7 @@
"scripts": {
"build": "mode=build node runner.js",
"download:game": "mode=download node runner.js",
"lint": "eslint \"*.js\" \"**/*.js\" && prettier --check ."
"lint": "eslint \"*.js\" \"**/*.js\" && prettier --check .",
"build:cleanup": "rm -rf ./dist"
}
}

View File

@@ -14,6 +14,7 @@
},
"scripts": {
"build": "mode=build node runner.js",
"lint": "eslint \"*.js\" \"**/*.js\" && prettier --check ."
"lint": "eslint \"*.js\" \"**/*.js\" && prettier --check .",
"build:cleanup": "rm -rf ./dist ./data"
}
}

View File

@@ -15,6 +15,7 @@
"scripts": {
"update": "mode=update node runner.js",
"build": "mode=build node runner.js",
"lint": "eslint \"*.js\" \"**/*.js\" && prettier --check ."
"lint": "eslint \"*.js\" \"**/*.js\" && prettier --check .",
"build:cleanup": "rm -rf ./dist"
}
}

View File

@@ -13,6 +13,7 @@
},
"scripts": {
"update": "mode=update node runner.js",
"lint": "eslint \"*.js\" \"**/*.js\" && prettier --check ."
"lint": "eslint \"*.js\" \"**/*.js\" && prettier --check .",
"build:cleanup": "rm -rf ./data"
}
}

View File

@@ -15,6 +15,7 @@
"scripts": {
"build": "mode=build node runner.js",
"init": "mode=init node runner.js",
"lint": "eslint \"*.js\" \"**/*.js\" && prettier --check ."
"lint": "eslint \"*.js\" \"**/*.js\" && prettier --check .",
"build:cleanup": "rm -rf ./dist ./data"
}
}