[skip-ci] add clear multisrc windows
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clearMultisrc": "find . -type f -wholename \"*plugins*\\[*\\]*.[t,j]s\" -delete",
|
"clearMultisrc": "find . -type f -wholename \"*plugins*\\[*\\]*.[t,j]s\" -delete",
|
||||||
|
"clearMultisrc-windows": "powershell -Command \"Get-ChildItem -Recurse -Include \\\"*].ts\\\",\\\"*].js\\\" | Where-Object { $_.FullName -like \\\"*plugins*\\\" } | Remove-Item\"",
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"generate": "node ./scripts/multisrc/generate.js",
|
"generate": "node ./scripts/multisrc/generate.js",
|
||||||
"host-linux": "chmod +x ./host.sh && ./host.sh",
|
"host-linux": "chmod +x ./host.sh && ./host.sh",
|
||||||
|
|||||||
Reference in New Issue
Block a user