diff options
author | amzrk2 | 2020-07-15 13:52:20 +0800 |
---|---|---|
committer | amzrk2 | 2020-07-15 13:52:20 +0800 |
commit | ca1b39119cd3551797e2e1b14c2166b5d694cde9 (patch) | |
tree | 7055145540da395e41983ac26849a152b11d9b0a /package.json | |
parent | b57c00e0f849a44066cfe152ee4551c6136680a4 (diff) | |
download | hugo-theme-fuji-ca1b39119cd3551797e2e1b14c2166b5d694cde9.tar.gz hugo-theme-fuji-ca1b39119cd3551797e2e1b14c2166b5d694cde9.tar.bz2 hugo-theme-fuji-ca1b39119cd3551797e2e1b14c2166b5d694cde9.zip |
Add sticky table of contents
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/package.json b/package.json index 40479d8..d15eeab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-theme-fuji", - "version": "2.1.2", + "version": "2.1.3", "description": "A minimal Hugo theme with nice theme color. | 一个主题色极简 Hugo 主题。", "repository": { "type": "git", @@ -24,24 +24,22 @@ "@babel/core": "^7.10.4", "@babel/preset-env": "^7.10.4", "autoprefixer": "^9.8.5", - "cssnano": "^4.1.10", - "del": "^5.1.0", + "cross-env": "^7.0.2", "gulp": "^4.0.2", "gulp-babel": "^8.0.0", + "gulp-clean-css": "^4.3.0", "gulp-postcss": "^8.0.0", - "gulp-rename": "^2.0.0", "gulp-sass": "^4.1.0", "gulp-sourcemaps": "^2.6.5", "gulp-uglify": "^3.0.2", - "node-sass": "^4.14.1", "npm-run-all": "^4.1.5", - "readable-stream": "^3.6.0", - "uglify-js": "^3.10.0" + "sass": "^1.26.10" }, "scripts": { - "build": "gulp build", - "devCss": "gulp devCss", - "devJs": "gulp devJs", - "dev": "npm-run-all -p devCss devJs" + "compile": "gulp compile", + "dev": "gulp dev", + "preview": "hugo server -s ../.. --forceSyncStatic", + "build": "cross-env NODE_ENV=production npm run compile", + "serve": "cross-env NODE_ENV=development npm-run-all -p dev preview" } } |