[skip-ci] add clear multisrc windows

This commit is contained in:
nyagami
2024-11-29 23:16:47 +07:00
parent c4ef967d0e
commit 195a913998
+1
View File
@@ -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",