fix: add clean command to strapi strapi

This commit is contained in:
Marc-Roig 2023-10-25 14:38:03 +02:00
parent dfc4d17eb4
commit 1c15eeb66f
No known key found for this signature in database
GPG Key ID: FB4E2C43A0BEE249

View File

@ -78,6 +78,7 @@
], ],
"scripts": { "scripts": {
"build": "run pack-up build && run copy-files", "build": "run pack-up build && run copy-files",
"clean": "run -T rimraf ./dist",
"copy-files": "copyfiles -u 1 -a 'src/**/*.html' 'src/**/*.png' dist", "copy-files": "copyfiles -u 1 -a 'src/**/*.html' 'src/**/*.png' dist",
"postinstall": "node ./scripts/postinstall.js", "postinstall": "node ./scripts/postinstall.js",
"lint": "run -T eslint .", "lint": "run -T eslint .",