-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 3.23 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 3.23 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
{
"name": "docsy-example-site",
"version": "0.14.3",
"version.next": "0.14.2-dev-unreleased",
"description": "Example site that uses Docsy theme for technical documentation.",
"repository": "github:google/docsy-example",
"homepage": "https://example.docsy.dev",
"author": "Docsy Authors",
"license": "Apache-2.0",
"bugs": "https://github.com/google/docsy-example/issues",
"spelling": "cSpell:ignore docsy hugo htmltest precheck postbuild rtlcss -",
"scripts": {
"_build": "npm run _hugo-dev --",
"_check:format": "npx prettier --check .",
"_check:links": "echo IMPLEMENTATION PENDING for check-links; echo",
"_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",
"_fix:permissions": "chmod -R u+w public/* 2>/dev/null || true",
"_get:docsy": "hugo mod get github.com/google/docsy@v$npm_package_version",
"_hugo-dev": "npm run _hugo -- -e dev --logLevel info -DFE",
"_hugo": "hugo --cleanDestinationDir",
"_local": "npx cross-env HUGO_MODULE_WORKSPACE=docsy.work",
"_serve": "npm run _hugo-dev -- --minify serve --renderToMemory",
"build:preview": "npm run _hugo-dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"",
"build:production": "npm run _hugo -- --minify",
"build": "npm run _build -- ",
"check:links:all": "HTMLTEST_ARGS= npm run _check:links",
"check:links": "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": "npm run fix:format",
"local": "npm run _local -- npm run",
"make:public": "git init -b main public",
"post_hugo": "npm run _fix:permissions",
"postbuild:preview": "npm run _check:links",
"postbuild:production": "npm run _check:links",
"precheck:links:all": "npm run build",
"precheck:links": "npm run build",
"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",
"test": "npm run test-and-fix",
"update:docsy:main": "hugo mod get -u github.com/google/docsy@main && hugo mod tidy",
"update:docsy:mod": "hugo mod get -u github.com/google/docsy && hugo mod tidy",
"update:hugo": "npm install --save-dev --save-exact hugo-extended@latest",
"update:main": "npm run update:packages && npm run update:docsy:main",
"update:packages": "npx npm-check-updates -u",
"update": "npm run update:packages && npm run update:docsy:mod"
},
"devDependencies": {
"autoprefixer": "^10.4.27",
"cross-env": "^10.1.0",
"hugo-extended": "0.155.3",
"postcss": "^8.5.8",
"postcss-cli": "^11.0.1",
"rtlcss": "^4.3.0"
},
"optionalDependencies": {
"npm-check-updates": "^19.3.2",
"prettier": "^3.8.1"
},
"engines": {
"node": ">=22"
},
"private": true,
"prettier": {
"proseWrap": "always",
"singleQuote": true
},
"cSpell:ignore": ""
}