forked from filecoin-project/filecoin-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.99 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
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "filecoin-docs",
"version": "1.0.0",
"description": "Filecoin Docs platform",
"author": "cwaring & terichadbourne",
"license": "MIT",
"devDependencies": {
"@centerforopenscience/markdown-it-video": "^1.0.0",
"@vuepress/plugin-active-header-links": "^1.7.1",
"@vuepress/plugin-back-to-top": "^1.7.1",
"@vuepress/plugin-google-analytics": "^1.7.1",
"@vuepress/plugin-last-updated": "^1.7.1",
"husky": "^4.3.0",
"lint-staged": "^10.5.2",
"markdown-it-deflist": "^2.1.0",
"markdown-it-footnote": "^3.0.2",
"markdown-it-task-lists": "^2.1.1",
"markdown-it-video": "^0.6.3",
"prettier": "^2.2.1",
"stylus-supremacy": "^2.14.5",
"vuepress": "^1.7.1",
"vuepress-plugin-canonical": "^1.0.0",
"vuepress-plugin-check-md": "0.0.2",
"vuepress-plugin-clean-urls": "^1.1.2",
"vuepress-plugin-code-copy": "^1.0.6",
"vuepress-plugin-ipfs": "^1.0.2",
"vuepress-plugin-medium-zoom": "^1.1.9",
"vuepress-plugin-robots": "^1.0.1",
"vuepress-plugin-seo": "^0.1.4",
"vuepress-plugin-sitemap": "^2.3.1"
},
"prettier": {
"arrowParens": "avoid",
"bracketSpacing": true,
"jsxBracketSameLine": true,
"jsxSingleQuote": false,
"printWidth": 80,
"quoteProps": "as-needed",
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
},
"lint-staged": {
"*.{js,json,css,less,scss,html,md,vue}": [
"prettier --write"
],
"*.styl": [
"stylus-supremacy format --replace"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run docs:links"
}
},
"scripts": {
"start": "npm run docs:dev",
"test": "echo \"Error: no test specified\" && exit 1",
"format:styles": "stylus-supremacy format ./docs/.vuepress/**/*.styl --replace",
"docs:dev": "vuepress --no-clear-screen dev docs",
"docs:build": "npm run docs:links && vuepress build docs",
"docs:links": "vuepress check-md docs"
}
}