forked from vuejs/jp.vuejs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.8 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
{
"name": "jp.vuejs.org",
"private": true,
"hexo": {
"version": "3.7.1"
},
"engines": {
"node": ">=8.9.0"
},
"dependencies": {
"hexo": "^3.6.0",
"hexo-deployer-git": "0.3.1",
"hexo-generator-alias": "git+https://github.com/chrisvfritz/vuejs.org-hexo-generator-alias.git",
"hexo-generator-archive": "^0.1.5",
"hexo-generator-category": "^0.1.3",
"hexo-generator-feed": "^1.2.2",
"hexo-generator-index": "^0.2.1",
"hexo-generator-tag": "^0.2.0",
"hexo-offline": "^0.2.3",
"hexo-renderer-ejs": "^0.3.1",
"hexo-renderer-marked": "^0.3.0",
"hexo-renderer-stylus": "^0.3.3",
"hexo-server": "^0.3.1",
"hoek": "^5.0.3",
"request": "^2.85.0"
},
"devDependencies": {
"husky": "^1.0.0",
"lint-staged": "^7.3.0",
"shelljs": "^0.7.8",
"textlint": "^5.5.0",
"textlint-checker-for-vuejs-jp-docs": "git+https://github.com/vuejs-jp/textlint-checker-for-vuejs-jp-docs.git",
"textlint-rule-no-mix-dearu-desumasu": "^3.0.2",
"textlint-rule-preset-jtf-style": "^2.1.2"
},
"scripts": {
"start": "hexo server",
"build": "node pre-deploy.js && hexo clean && hexo generate",
"deploy": "npm run build && hexo deploy",
"test": "npm run lint",
"lint": "node -e \"var shell=require('shelljs');var files=shell.find(['./src/v2/**/*.md','./src/_posts/*.md']).filter(function(file){return !file.endsWith('/guide/team.md')}).join(' ');if(shell.exec('textlint --rulesdir ./node_modules/textlint-checker-for-vuejs-jp-docs/rules/textlint-rule-vue-jp-docs -f pretty-error '+files).code!==0){shell.exit(1)};\""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.md": "textlint --rulesdir ./node_modules/textlint-checker-for-vuejs-jp-docs/rules/textlint-rule-vue-jp-docs -f pretty-error"
}
}