-
Notifications
You must be signed in to change notification settings - Fork 968
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 4.79 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 4.79 KB
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
75
76
77
78
79
80
81
82
83
{
"name": "docsy",
"version": "0.14.4-dev+024-over-main-500ee239",
"repository": "github:google/docsy",
"homepage": "https://www.docsy.dev",
"license": "Apache-2.0",
"workspaces": [
"docsy.dev"
],
"scripts": {
"__spv": "node scripts/set-package-version/index.mjs",
"_cd:docsy.dev": "cd docsy.dev &&",
"_check:afdocs": "npm run cd:docsy.dev -- _check:afdocs",
"_check:format": "npx prettier --check assets *.md i18n scripts tasks",
"_check:links": "npm run cd:docsy.dev -- _check:links",
"_check:markdown": "npx markdownlint-cli2",
"_commit:public": "npm run cd:docsy.dev -- _commit:public",
"_cp:bs-rfs": "bash -c 'cp node_modules/bootstrap/scss/vendor/*.scss assets/_vendor/bootstrap/scss/'",
"_cp:bs-scrollspy": "perl scripts/scrollspy-patch/extract-method.pl",
"_diff:check": "git diff --name-only --exit-code",
"_gen-chroma-styles": "bash -c scripts/gen-chroma-styles.sh",
"_mkdir:hugo-mod": "node scripts/mkdirp-hugo-mod.js ..",
"_prepare:scrollspy-patch": "npm run _cp:bs-scrollspy && bash scripts/scrollspy-patch/apply-patch.sh && perl scripts/scrollspy-patch/update-patch-js.pl",
"_prepare": "npm run _cp:bs-rfs && npm run _prepare:scrollspy-patch && npm run _refresh-forward-sass-var && npm run _gen-chroma-styles && npm run get:hugo-modules",
"_refresh-forward-sass-var": "bash -c scripts/refresh-sass-variables.pl",
"_serve": "npm run cd:docsy.dev -- _serve --",
"_spv:example": "echo TBC - npm run -s __spv docsy.dev/config/example/params.yaml --",
"_spv": "npm run -s __spv docsy.dev/config/*/params.yaml --",
"build": "npm run cd:docsy.dev -- build --",
"cd:docsy.dev": "echo 'Running in docsy.dev...'; npm run _cd:docsy.dev -- npm run",
"check:afdocs:dev": "npm run _check:afdocs -- http://localhost:1313",
"check:format": "npm list prettier && npm run _check:format || (echo '[help] Run: npm run fix:format'; exit 1)",
"check:links": "npm run cd:docsy.dev -- check:links",
"check:markdown": "npm run _check:markdown -- '**/*.md'",
"check": "npm run check:format && npm run check:markdown",
"ci:post": "npm run fix-for-test && npm run _diff:check && npm run test:tooling",
"ci:prepare": "npm run docsy.dev-install && npm run _prepare && npm run _diff:check",
"ci:test": "npm run ci:prepare && npm run check && npm run test:website && npm run ci:post",
"doc-rooted": "TD_BUILD_CTX=doc-rooted npm run",
"docsy.dev-install": "npm run _cd:docsy.dev -- npm install",
"fix-and-test": "echo 'RUNNING most FIXES AND TESTS...'; npm run fix-for-test && npm run test:website",
"fix-for-test": "npm run fix:format && npm run fix:markdown && npm run cd:docsy.dev fix",
"fix:format:diff": "npm run fix:format",
"fix:format": "npm run -s _check:format -- --write && echo && npm run -s cd:docsy.dev fix:format",
"fix:markdown": "npm run check:markdown -- --fix",
"fix": "npm run fix:format && npm run fix:markdown && npm run cd:docsy.dev fix",
"get:hugo-modules": "node scripts/getHugoModules/index.mjs",
"post-update": "echo; echo 'IMPORTANT! Run the following in case the ScrollSpy patch needs to be updated:\n npm run _prepare'; echo",
"postinstall": "npm run _mkdir:hugo-mod",
"postupdate:dep": "npm run -s post-update",
"postupdate:packages": "npm run -s post-update",
"prune:refcache": "npm run cd:docsy.dev -- prune:refcache --",
"seq": "bash -c 'for cmd in \"$@\"; do npm run $cmd || exit 1; done' - ",
"serve": "npm run cd:docsy.dev -- serve --",
"set:version:example:git-info": "echo FIXME - npm run set:version:example -- -c ../hugo.yaml --version \"$(scripts/get-build-id.sh)\"",
"set:version:example": "echo FIXME - 'cd ../docsy-example && node ../docsy/scripts/set-package-version/index.mjs'",
"set:version:git-info": "npm run -s _spv -- --version \"$(scripts/get-build-id.sh)\"",
"set:version": "npm run -s _spv --",
"test:tooling": "node --test 'scripts/**/*.test.mjs'",
"test:website": "npm run cd:docsy.dev test",
"test": "npm run fix-and-test",
"update:dep": "npm install --save-exact @fortawesome/fontawesome-free@latest bootstrap@latest",
"update:packages": "npx npm-check-updates -x @fortawesome/fontawesome-free -u && npm run cd:docsy.dev update:packages",
"zzz": "echo 'This is just a placeholder that is the last script in this script collection.'"
},
"dependencies": {
"@fortawesome/fontawesome-free": "6.7.2",
"bootstrap": "5.3.8"
},
"devDependencies": {
"@cspell/dict-fr-fr": "^2.3.2",
"markdownlint-cli2": "^0.21.0",
"markdownlint-rule-link-pattern": "github:chalin/markdownlint-rule-link-pattern#v0.2.0",
"prettier": "^3.8.1"
},
"config": {
"hugo_version": "0.151.0"
},
"engines": {
"node": ">=22"
},
"spelling": "cSpell:ignore afdocs docsy hugo fortawesome fontawesome onedark -"
}