-
Notifications
You must be signed in to change notification settings - Fork 87
/
package.json
54 lines (54 loc) · 1.4 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
51
52
53
54
{
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"hexo": {
"version": "3.9.0"
},
"devDependencies": {
"@quave/eslint-config-quave": "^1.0.3",
"canonical-json": "0.0.4",
"chexo": "1.0.7",
"handlebars": "4.4.3",
"hexo": "3.9.0",
"hexo-prism-plus": "^1.1.0",
"hexo-renderer-ejs": "^1.0.0",
"hexo-renderer-less": "0.2.0",
"hexo-renderer-marked": "^3.2.0",
"hexo-server": "1.0.0",
"hexo-versioned-netlify-redirects": "1.1.0",
"@meteorjs/meteor-hexo-config": "1.0.14",
"@meteorjs/meteor-theme-hexo": "2.0.8",
"showdown": "1.9.0",
"underscore": "1.9.1"
},
"scripts": {
"build": "chexo @meteorjs/meteor-hexo-config -- generate",
"clean": "hexo clean",
"test": "npm run clean; npm run build",
"predeploy": "npm run build",
"deploy": "hexo-s3-deploy",
"start": "npm run build && chexo @meteorjs/meteor-hexo-config -- server",
"quave-eslint": "eslint . --fix",
"quave-prettier": "prettier --write \"**/*.js\" \"**/*.jsx\"",
"quave-check": "npm run quave-eslint && npm run quave-prettier"
},
"eslintConfig": {
"extends": [
"@quave/quave"
]
},
"husky": {
"hooks": {
"pre-commit": "meteor npm test && lint-staged",
"post-commit": "git update-index --again"
}
},
"lint-staged": {
"*.{js|jsx}": [
"eslint --fix",
"prettier --write",
"git add"
]
}
}