Add clean script to remove dist and other artifacts (#640)

* Add clean script

* Switch to using yargs
This commit is contained in:
Cooldude2606 authored and GitHub committed 2024-06-08 13:53:00 +01:00
1 parent dbc79779ea
commit 51c450727d
2 files changed
+120 -1

No files matched your search

+6 -1
View File
@@ -1,6 +1,7 @@
{
"name": "root",
"private": true,
"files": [],
"scripts": {
"build": "tsc --build",
"watch": "tsc --build --watch",
@@ -11,6 +12,9 @@
"ci-cover": "nyc --reporter=lcovonly pnpm run-script test",
"lint": "eslint packages plugins test",
"lint-fix": "eslint --fix packages plugins test",
"clean": "node ./clean.js fast",
"clean-tests": "node ./clean.js tests",
"clean-all": "node ./clean.js all",
"docs": "typedoc",
"bundle-dependencies": "bundle-dependencies"
},
@@ -48,6 +52,7 @@
"nyc": "^15.1.0",
"phin": "^3.7.0",
"typedoc": "^0.24.8",
"typescript": "^5.1.6"
"typescript": "^5.1.6",
"yargs": "^17.7.2"
}
}