summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJose <jvargas@gitlab.com>2018-05-29 11:40:18 -0500
committerJose <jvargas@gitlab.com>2018-05-29 11:40:18 -0500
commit9d2714543a31f48d93241217a68c2cab13775533 (patch)
treec90cef092b022bf9ac8b0a641b07e391df5087ff /package.json
parent65bfec654a1ff2894e7829573d266f8d63c846f2 (diff)
downloadgitlab-ce-9d2714543a31f48d93241217a68c2cab13775533.tar.gz
Add yarn clean step, to delete production compiled assetsadd-yarn-clean-step
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 13be495b702..5285d7efcd6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,7 @@
{
"private": true,
"scripts": {
+ "clean": "rm -rf public/assets tmp/cache/*-loader",
"dev-server": "nodemon -w 'config/webpack.config.js' --exec 'webpack-dev-server --config config/webpack.config.js'",
"eslint": "eslint --max-warnings 0 --ext .js,.vue .",
"eslint-fix": "eslint --max-warnings 0 --ext .js,.vue --fix .",