forked from drand/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.44 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
68
69
70
71
72
73
74
{
"name": "drand-docs",
"version": "2.0.0-beta.1",
"description": "Drand Docs platform",
"author": "cwaring",
"license": "(Apache-2.0 OR MIT)",
"devDependencies": {
"@centerforopenscience/markdown-it-video": "^1.0.0",
"@open-wc/webpack-import-meta-loader": "^0.4.7",
"@vuepress/plugin-active-header-links": "^1.5.2",
"@vuepress/plugin-back-to-top": "^1.5.2",
"@vuepress/plugin-blog": "^1.9.2",
"@vuepress/plugin-google-analytics": "^1.5.2",
"@vuepress/plugin-last-updated": "^1.5.2",
"all-relative": "^1.1.0",
"dayjs": "^1.8.31",
"drand-client": "^0.2.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"markdown-it-deflist": "^2.0.3",
"markdown-it-footnote": "^3.0.2",
"markdown-it-task-lists": "^2.1.1",
"markdown-it-video": "^0.6.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"stylus-supremacy": "^2.14.5",
"vuepress": "^1.5.2",
"vuepress-plugin-canonical": "^1.0.0",
"vuepress-plugin-clean-urls": "^1.1.1",
"vuepress-plugin-mathjax": "^1.2.8",
"vuepress-plugin-seo": "^0.1.3"
},
"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,vue}": [
"prettier --write"
],
"*.styl": [
"stylus-supremacy format --replace"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"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": "run-s docs:dev:*",
"docs:dev:wasm": "run-s docs:build:wasm",
"docs:dev:vuepress": "vuepress --no-clear-screen dev docs",
"docs:build": "run-s docs:build:wasm docs:build:vuepress",
"docs:build:wasm": "run-s docs:build:wasm:*",
"docs:build:wasm:mkdirp": "mkdir -p ./docs/.vuepress/public/node_modules/drand-client/wasm",
"docs:build:wasm:cp": "cp ./node_modules/drand-client/wasm/drand.wasm ./docs/.vuepress/public/node_modules/drand-client/wasm",
"docs:build:vuepress": "vuepress build docs",
"docs:all-relative": "cd ./docs/.vuepress/dist && all-relative",
"docs:build:ipfs": "run-s docs:build docs:all-relative"
}
}