-
Notifications
You must be signed in to change notification settings - Fork 68
/
Copy pathpackage.json
41 lines (41 loc) · 1.08 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "harbor",
"version": "1.0.0",
"description": "Simple and minimal personal blog theme for [Hugo](https://gohugo.io/).",
"main": "index.js",
"scripts": {
"format": "prettier-eslint --write $PWD/'assets/js/theme.js' $PWD/'layouts/**/*.html'; eslint $PWD/'assets/js/theme.js'",
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "husky"
},
"keywords": [],
"author": "matsuyoshi30",
"license": "MIT",
"dependencies": {
"flexsearch": "^0.7.21",
"instant.page": "^3.0.0"
},
"devDependencies": {
"eslint": "^7.23.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"mark.js": "^8.11.1",
"prettier": "^2.2.1",
"prettier-eslint": "^12.0.0",
"prettier-eslint-cli": "^5.0.1",
"prettier-plugin-go-template": "^0.0.10"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"layouts/**/!(bundle).html": [
"prettier-eslint --write $PWD/'assets/js/theme.js' $PWD/'layouts/**/*.html'"
],
"static/src/*.js": [
"eslint $PWD/'assets/js/theme.js'"
]
}
}