mirror of
https://github.com/strapi/strapi.git
synced 2025-07-26 18:38:46 +00:00
fix: add clean command to strapi strapi
This commit is contained in:
parent
dfc4d17eb4
commit
1c15eeb66f
@ -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 .",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user