-
Notifications
You must be signed in to change notification settings - Fork 963
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 2.6 KB
/
package.json
File metadata and controls
52 lines (52 loc) · 2.6 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
{
"name": "www.docsy.dev",
"description": "Docsy website and development environment for the Docsy theme",
"private": true,
"scripts": {
"_build": "npm run _hugo-dev --",
"_check:format": "npx prettier --config ../.prettierrc.json --check .",
"_check:links--warn": "npm run _check:links || (echo; echo 'WARNING: see link-checker output for issues.'; echo)",
"_check:links": "make --keep-going check-links",
"_commit:public": "HASH=$(git rev-parse --short main); cd public && git add -A && git commit --allow-empty -m \"Site at $HASH\"",
"_gen-config": "perl scripts/gen-doc-rooted-module.pl",
"_hugo-dev-test": "npm run _hugo-dev -- --templateMetrics --templateMetricsHints",
"_hugo-dev": "cross-env npm run _hugo -- -e \"${TD_BUILD_CTX:-dev}\" -DFE",
"_hugo": "hugo --cleanDestinationDir --logLevel info --themesDir ../..",
"_prebuild": "npm run _gen-config",
"_postbuild": "npm run _check:links--warn",
"_serve": "npm run _hugo-dev -- serve --disableFastRender --renderToMemory",
"build:preview": "cross-env npm run _hugo-dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-http://localhost}\"",
"build:production": "npm run _hugo -- --minify",
"build": "cross-env npm run _build -- --baseURL \"${BASE_URL:-http://localhost}\"",
"check:format": "npm run _check:format || (echo '[help] Run: npm run fix:format'; exit 1)",
"check:links:internal": "HTMLTEST_ARGS='--skip-external' npm run _check:links",
"check:links": "npm run _check:links",
"clean": "rm -Rf public",
"fix:format": "npm run _check:format -- --write",
"fix": "npm run fix:format && npm run prune:refcache",
"make:public": "git init -b main public",
"postbuild:preview": "npm run _postbuild",
"postbuild:production": "npm run _postbuild",
"prebuild": "npm run _prebuild",
"prebuild:preview": "npm run _prebuild",
"prebuild:production": "npm run _prebuild",
"precheck:links:all": "npm run build",
"precheck:links": "npm run build",
"prepare-disabled": "cd .. && npm install",
"prune:refcache": "node scripts/prune-refcache.mjs",
"serve": "npm run _serve -- --minify",
"test": "npm run check:format && npm run check:links",
"update:hugo": "npm install --save-exact -D hugo-extended@latest",
"update:packages": "npx npm-check-updates -u"
},
"devDependencies": {
"autoprefixer": "^10.4.24",
"cross-env": "^10.1.0",
"hugo-extended": "0.155.3",
"netlify-cli": "^23.15.1",
"npm-check-updates": "^19.3.2",
"postcss-cli": "^11.0.1",
"rtlcss": "^4.3.0"
},
"cSpell:ignore": "- docsy htmltest postbuild precheck refcache rtlcss -"
}