-
Notifications
You must be signed in to change notification settings - Fork 256
/
package.json
53 lines (53 loc) · 1.91 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
{
"name": "jp.vuejs.org",
"private": true,
"hexo": {
"version": "3.8.0"
},
"engines": {
"node": ">=8.9.0"
},
"dependencies": {
"axios": "^0.27.2",
"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": "^1.0.0",
"hexo-renderer-ejs": "^0.3.1",
"hexo-renderer-marked": "^0.3.0",
"hexo-renderer-stylus": "^0.3.3",
"hexo-server": "^0.3.1",
"hoek": "^6.1.2",
"js-yaml": "^4.1.0"
},
"devDependencies": {
"husky": "^2.4.0",
"lint-staged": "^7.3.0",
"shelljs": "^0.8.5",
"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-detect-bad-chars": "^1.0.2",
"textlint-rule-no-mix-dearu-desumasu": "^4.0.0",
"textlint-rule-preset-jtf-style": "^2.3.3"
},
"scripts": {
"dev": "node _scripts/sync-sponsors && hexo server",
"build": "node _scripts/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"
}
}