-
Notifications
You must be signed in to change notification settings - Fork 905
/
package.json
52 lines (52 loc) · 2.4 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
{
"name": "docsy",
"version": "0.11.1-dev-unreleased",
"version.next": "0.12.0-dev-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/",
"_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": "node tools/mkdirp-hugo-mod.js ..",
"_prepare": "npm run _cp:bs-rfs && 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:internal": "npm run cd:docs check:links:internal",
"check:links": "npm run cd:docs check:links",
"check": "npm run check:format",
"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 check && 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"
},
"dependencies": {
"@fortawesome/fontawesome-free": "6.7.1",
"bootstrap": "5.3.3"
},
"devDependencies": {
"cpy-cli": "^5.0.0",
"hugo-extended": "^0.139.0",
"netlify-cli": "^17.37.2",
"npm-check-updates": "^17.1.11",
"prettier": "^3.3.3"
},
"engines": {
"node": ">=22"
},
"spelling": "cSpell:ignore docsy hugo fortawesome fontawesome onedark twbs netlify pkgs userguide -"
}