forked from google/docsy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 2.74 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
{
"name": "docsy",
"version": "0.10.1-dev.0-unreleased",
"version.next": "0.10.2-dev.0-unreleased",
"repository": "github:google/docsy",
"homepage": "https://www.docsy.dev",
"license": "Apache-2.0",
"scripts": {
"_cd:docs": "cd userguide &&",
"_check:format": "npx prettier --check .??* *.md",
"_cp:bs-rfs": "npx cpy 'node_modules/bootstrap/scss/vendor/*' assets/_vendor/bootstrap/scss/",
"_cp:bs-rtl": "npx cpy node_modules/bootstrap/dist/css/bootstrap.rtl.css assets/_vendor/bootstrap/dist/css/",
"_diff:check": "git diff --name-only --exit-code",
"_gen-chroma-styles": "bash -c tools/gen-chroma-styles.sh && bash -c 'tools/gen-chroma-styles.sh -s onedark -o _dark.scss'",
"_mkdir:hugo-mod": "npx mkdirp ../github.com/FortAwesome/Font-Awesome ../github.com/twbs/bootstrap",
"_prepare": "npm run _cp:bs-rfs && npm run _cp:bs-rtl && npm run _gen-chroma-styles && npm run get:hugo-modules",
"build:preview": "npm run cd:docs build:preview",
"build:production": "npm run cd:docs build:production",
"build": "npm run cd:docs build",
"cd:docs": "npm run _cd:docs -- npm run",
"check:format": "npm run _check:format || (echo '[help] Run: npm run fix:format'; exit 1)",
"check:links--md": "ls *.md | xargs npx markdown-link-check --config .markdown-link-check.json",
"check:links:all": "npm run cd:docs check:links:all",
"check:links": "npm run cd:docs check:links",
"check": "npm run check:format && npm run check:links--md",
"ci:post": "npm run fix:format && npm run _diff:check",
"ci:prepare": "npm run docs-install && npm run _prepare && npm run _diff:check",
"docs-install": "npm run _cd:docs -- npm install",
"fix:format": "npm run _check:format -- --write && npm run cd:docs fix:format",
"get:hugo-modules": "node tools/getHugoModules/index.mjs",
"postinstall": "npm run _mkdir:hugo-mod",
"serve": "npm run cd:docs serve",
"test:all": "npm run ci:prepare && npm run check && npm run cd:docs test && npm run ci:post",
"test": "npm run cd:docs test",
"update:dep": "npm install --save-exact @fortawesome/fontawesome-free@latest bootstrap@latest",
"update:hugo": "npm install --save-exact -D hugo-extended@latest",
"update:pkgs": "npx npm-check-updates -u && npm run cd:docs update:pkgs"
},
"spelling": "cSpell:ignore docsy hugo fortawesome fontawesome userguide ",
"dependencies": {
"@fortawesome/fontawesome-free": "6.6.0",
"bootstrap": "5.3.3"
},
"devDependencies": {
"cpy-cli": "^5.0.0",
"hugo-extended": "0.131.0",
"markdown-link-check": "^3.12.2",
"mkdirp": "^3.0.1",
"prettier": "^3.3.3"
},
"optionalDependencies": {
"netlify-cli": "^17.33.5",
"npm-check-updates": "^17.0.3"
},
"engines": {
"node": ">=20"
}
}