Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matsuyoshi30/harbor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatsuyoshi <sfbgwm30@gmail.com>2020-11-22 15:35:28 +0300
committermatsuyoshi <sfbgwm30@gmail.com>2020-11-22 15:35:28 +0300
commitf08d01a99b4ecb5873d2a0c6e6a01406768bc372 (patch)
tree28a9342baf985ed59f73ea3188fc1c8b9a78838f /package.json
parente0635c267ebbebb8ee44b6a5bc65374d8f36a6b7 (diff)
Add go template formatter
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index fcea768..b20997f 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"description": "Simple and minimal personal blog theme for [Hugo](https://gohugo.io/).",
"main": "index.js",
"scripts": {
- "format": "prettier-eslint --write $PWD/'static/src/**/*.js'",
+ "format": "prettier-eslint --write $PWD/'static/src/**/*.js' $PWD/'layouts/**/*.html'",
"build-dev": "webpack --config webpack.development.js",
"build-prod": "webpack --config webpack.production.js",
"test": "echo \"Error: no test specified\" && exit 1"
@@ -29,6 +29,7 @@
"prettier": "^2.2.0",
"prettier-eslint": "^12.0.0",
"prettier-eslint-cli": "^5.0.0",
+ "prettier-plugin-go-template": "^0.0.10",
"style-loader": "^1.1.3",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11"