-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.07 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
42
43
44
45
46
47
48
49
50
{
"name": "mlatwebsite",
"description": "package to manage HUGO based website for Mi lego al Territorio",
"scripts": {
"build": "hugo",
"dev": "hugo serve",
"localcms": "npx netlify-cms-proxy-server",
"prettify-all": "node_modules/.bin/prettier --write **/*.{html,css,scss,js,json}"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Mi-Lego-Al-Territorio/mlatWebsite.git"
},
"license": "ISC",
"devDependencies": {
"husky": "^4.2.5",
"lint-staged": "^10.2.4",
"prettier": "^2.0.5",
"prettier-plugin-go-template": "0.0.4"
},
"lint-staged": {
"*.{html,css,scss,js,json}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"prettier": {
"printWidth": 80,
"trailingComma": "none",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"arrowParens": "avoid",
"endOfLine": "lf",
"overrides": [
{
"files": [
"*.html"
],
"options": {
"parser": "go-template"
}
}
]
}
}