summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json7
1 files changed, 5 insertions, 2 deletions
diff --git a/package.json b/package.json
index 252616c..24d26d6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "hugo-theme-fuji",
- "version": "2.0.0",
+ "version": "2.1.0",
"description": "A minimal Hugo theme with nice theme color. | 一个主题色极简 Hugo 主题。",
"repository": {
"type": "git",
@@ -23,6 +23,7 @@
"@primer/css": "14.4.0",
"autoprefixer": "^9.8.0",
"cssnano": "^4.1.10",
+ "del": "^5.1.0",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-postcss": "^8.0.0",
@@ -36,9 +37,11 @@
"uglify-js": "^3.9.4"
},
"scripts": {
- "build": "gulp build",
+ "prodBuild": "gulp build",
+ "prodClean": "gulp clean",
"devCss": "gulp devCss",
"devJs": "gulp devJs",
+ "build": "npm-run-all -p prodBuild prodClean",
"dev": "npm-run-all -p devCss devJs"
}
}