From dfb6e1f80754c1c8f2d4d332c5292319f008a67b Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Wed, 27 May 2020 22:53:13 +0800 Subject: v2 original port --- package.json | 49 ++++++++++++++++++++++--------------------------- 1 file changed, 22 insertions(+), 27 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 0d9bca9..e6592f3 100644 --- a/package.json +++ b/package.json @@ -1,28 +1,23 @@ { - "name": "hugo-theme-fuji", - "version": "1.3.0", - "description": "A minimal Hugo theme inspired by Murasaki, powered by GitHub Primer CSS.", - "repository": { - "type": "git", - "url": "git+https://github.com/amzrk2/hugo-theme-fuji.git" - }, - "keywords": [ - "hugo", - "theme", - "fuji", - "primer" - ], - "author": "DSRKafuU (https://amzrk2.cc/)", - "license": "GPL-3.0-only", - "bugs": { - "url": "https://github.com/amzrk2/hugo-theme-fuji/issues" - }, - "homepage": "https://github.com/amzrk2/hugo-theme-fuji#readme", - "devDependencies": { - "@primer/css": "14.3.0", - "@fortawesome/fontawesome-free": "5.13.0", - "lazysizes": "5.2.0", - "aplayer": "1.10.1", - "medium-zoom": "1.0.5" - } -} \ No newline at end of file + "name": "hugo-theme-fuji", + "version": "2.0.0", + "description": "A minimal Hugo theme.", + "repository": { + "type": "git", + "url": "git+https://github.com/amzrk2/hugo-theme-fuji.git" + }, + "keywords": [ + "hugo", + "theme", + "fuji" + ], + "author": "DSRKafuU (https://blog.amzrk2.cc/)", + "license": "Apache-2.0", + "bugs": { + "url": "https://github.com/amzrk2/hugo-theme-fuji/issues" + }, + "homepage": "https://github.com/amzrk2/hugo-theme-fuji#readme", + "devDependencies": { + "@primer/css": "14.4.0" + } +} -- cgit v1.2.3 From 8009dfd8f5d33211a07d01319715fc3993979138 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Sun, 31 May 2020 16:31:27 +0800 Subject: Scripts adjustment --- package.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index e6592f3..7e7f66b 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,13 @@ }, "homepage": "https://github.com/amzrk2/hugo-theme-fuji#readme", "devDependencies": { - "@primer/css": "14.4.0" + "@babel/cli": "^7.10.1", + "@babel/core": "^7.10.2", + "@primer/css": "14.4.0", + "uglify-js": "^3.9.4" + }, + "scripts": { + "babel": "babel static/assets/js/fuji.dev.js --out-file static/assets/js/fuji.js", + "js": "uglifyjs static/assets/js/fuji.js -o static/assets/js/fuji.min.js -c --source-map" } } -- cgit v1.2.3 From 02c3891865c7741b8f772aea75cc01564d2f0ff4 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Mon, 1 Jun 2020 15:44:04 +0800 Subject: Remove jQuery --- package.json | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 7e7f66b..a1df8ef 100644 --- a/package.json +++ b/package.json @@ -18,13 +18,27 @@ }, "homepage": "https://github.com/amzrk2/hugo-theme-fuji#readme", "devDependencies": { - "@babel/cli": "^7.10.1", "@babel/core": "^7.10.2", + "@babel/preset-env": "^7.10.2", "@primer/css": "14.4.0", + "autoprefixer": "^9.8.0", + "cssnano": "^4.1.10", + "gulp": "^4.0.2", + "gulp-babel": "^8.0.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.9.4" }, "scripts": { - "babel": "babel static/assets/js/fuji.dev.js --out-file static/assets/js/fuji.js", - "js": "uglifyjs static/assets/js/fuji.js -o static/assets/js/fuji.min.js -c --source-map" + "build": "gulp build", + "devCss": "gulp devCss", + "devJs": "gulp devJs", + "dev": "npm-run-all -p devCss devJs" } } -- cgit v1.2.3 From 71c55c745781d27973526587b7124e0f292bf649 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Thu, 4 Jun 2020 16:33:24 +0800 Subject: Update README --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index a1df8ef..252616c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hugo-theme-fuji", "version": "2.0.0", - "description": "A minimal Hugo theme.", + "description": "A minimal Hugo theme with nice theme color. | 一个主题色极简 Hugo 主题。", "repository": { "type": "git", "url": "git+https://github.com/amzrk2/hugo-theme-fuji.git" -- cgit v1.2.3