Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 3.91 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 3.91 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
84
85
86
87
88
{
"name": "docsy-example-site",
"version": "0.17.1-dev+060-over-main-64411422",
"description": "Example site that uses Docsy theme for technical documentation.",
"repository": "github:docsy/docsy-example",
"homepage": "https://example.docsy.dev",
"author": "Docsy Authors",
"license": "Apache-2.0",
"bugs": "https://github.com/docsy/docsy-example/issues",
"spelling": "cSpell:ignore docsy hugo rtlcss -",
"workspaces": [
"packages/hugoautogen"
],
"scripts": {
"_build": "npm run _hugo-dev --",
"_check:format": "prettier --check .",
"_check:links": "lychee-norm-cache",
"_commit:public": "HASH=$(git rev-parse --short main); cd public && git add -A && git commit --allow-empty -m \"Site at $HASH\"",
"_diff:check": "git diff --name-only --exit-code",
"_get:docsy": "hugo mod get github.com/docsy/docsy/theme@v$npm_package_version",
"_hugo-dev": "npm run _hugo -- -e dev --logLevel info -DFE",
"_hugo": "hugo --cleanDestinationDir",
"_is:clean": "bash -c 'o=$(git status --porcelain -uall) && { echo \"$o\"; [ -z \"$o\" ]; }'",
"_local": "cross-env HUGO_MODULE_WORKSPACE=docsy.work",
"_netlify:prepare": "npm run -s _is:clean && npm run install:safe && npm run -s _is:clean",
"_serve": "npm run _hugo-dev -- --minify serve --renderToMemory",
"_update:docsy:post": "hugo mod tidy && npm run update:docsy:pack",
"approve:hugo": "npm run install:safe && npm approve-scripts --allow-scripts-pin hugo-extended && npm run update:docsy:pack",
"build:preview": "npm run _hugo-dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"",
"build:production": "npm run _hugo -- --minify",
"build": "cross-env npm run _build -- --baseURL \"${BASE_URL:-http://localhost}\"",
"check:links:internal": "npm run build && npm run _check:links -- --offline",
"check:links": "npm run build && npm run _check:links --",
"ci:prepare": "npm run _get:docsy && hugo mod graph && hugo mod tidy",
"ci:test": "npm run ci:prepare && npm run fix:format && npm run test && npm run _diff:check",
"clean": "rm -Rf public/* resources",
"fix:format:diff": "npm run fix:format",
"fix:format": "npm run _check:format -- --write",
"fix:link-cache": "npm run check:links --",
"fix": "npm run fix:format",
"install:safe": "npm ci --ignore-scripts",
"link-cache": "link-cache",
"local": "npm run _local -- npm run",
"make:public": "git init -b main public",
"seq": "bash -c 'for cmd in \"$@\"; do npm run $cmd || exit 1; done' - ",
"serve": "npm run _serve",
"test-and-fix": "npm run fix && npm run test-only",
"test-only": "npm run check:links && npm run test:site",
"test:site": "node --test 'tests/**/*.test.mjs'",
"test": "npm run test-and-fix",
"update:docsy:main": "hugo mod get -u github.com/docsy/docsy/theme@main && npm run _update:docsy:post",
"update:docsy:mod": "hugo mod get -u github.com/docsy/docsy/theme && npm run _update:docsy:post",
"update:docsy:pack": "hugo mod npm pack && npm pkg set 'name=\"@docsy/hugoautogen\"' private=true --json --prefix packages/hugoautogen && npm install --ignore-scripts",
"update:main": "npm run update:packages && npm run update:docsy:main",
"update:packages": "npm-check-updates -u -x hugo-extended",
"update": "npm run update:packages && npm run update:docsy:mod"
},
"devDependencies": {
"autoprefixer": "10.6.1",
"cross-env": "10.1.0",
"hugo-extended": "0.166.0",
"link-cache": "0.6.0",
"postcss-cli": "12.0.0",
"rtlcss": "4.3.0",
"sass-embedded": "1.105.0"
},
"optionalDependencies": {
"npm-check-updates": "23.1.0",
"prettier": "3.9.9"
},
"overrides": {
"adm-zip": "^0.6.1"
},
"engines": {
"node": ">=24",
"npm": ">=11.18.0"
},
"allowScripts": {
"@parcel/watcher": false,
"hugo-extended@0.166.0": true
},
"private": true,
"prettier": {
"proseWrap": "always",
"singleQuote": true
},
"cSpell:ignore": ""
}