-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 2.59 KB
/
Copy pathpackage.json
File metadata and controls
45 lines (45 loc) · 2.59 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
{
"name": "vanityurls-website",
"version": "2.16.0",
"description": "VanityURls.link Website and documentation",
"author": {
"name": "Benoît H. Dicaire",
"email": "bhd@VanityURLs.link",
"url": "http://github.com/bhdicaire"
},
"scripts": {
"dev": "hugo server --buildDrafts",
"dev:search": "hugo --minify && pagefind --site public && hugo server --buildDrafts",
"build": "chmod a+x build.sh && ./build.sh",
"build:hugo": "hugo --config hugo.yml --gc --minify && hugo --config hugo.brand.yml --destination public/brand --gc --minify && npm run index",
"index": "pagefind --site public",
"clean": "rm -rf public resources/_gen",
"test": "node src/worker.test.mjs",
"format": "prettier --write \"{content,brand-content}/**/*.md\" \"{data,i18n}/**/*.{json,yaml,yml}\" \"*.{json,md,yml}\"",
"format:check": "prettier --check \"{content,brand-content}/**/*.md\" \"{data,i18n}/**/*.{json,yaml,yml}\" \"*.{json,md,yml}\"",
"docs:check": "node scripts/check-cloudflare-docs.mjs",
"lint": "npm run format:check && npm run lint:md && npm run lint:yaml && npm run lint:spell && npm run docs:check",
"lint:all": "npm run lint && npm run lint:links",
"lint:md": "markdownlint-cli2 'content/**/*.md' 'brand-content/**/*.md'",
"lint:md:fix": "markdownlint-cli2 --fix 'content/**/*.md' 'brand-content/**/*.md'",
"lint:spell": "cspell --no-progress 'content/**/*.md' 'brand-content/**/*.md' '*.yml' '*.toml'",
"lint:spell:fix": "cspell --no-progress --words-only 'content/**/*.md' 'brand-content/**/*.md' | sort -u >> cspell-words.txt",
"lint:yaml": "yamllint hugo.yml hugo.brand.yml i18n/*.yml data/*.yml 2>/dev/null || npx js-yaml hugo.yml > /dev/null && npx js-yaml hugo.brand.yml > /dev/null",
"lint:links": "npm run build && lychee --offline --no-progress --root-dir public public/index.html public/404.html public/en public/fr && lychee --offline --no-progress --root-dir public/brand public/brand",
"lint:links:external": "npm run build && lychee --cache --no-progress --max-concurrency 16 --host-concurrency 2 --host-request-interval 500ms --max-retries 0 --timeout 10 --accept '100..=103,200..=299,429' --exclude '^https://github\\.com/' public"
},
"devDependencies": {
"@commitlint/cli": "^19.0.0",
"@commitlint/config-conventional": "^19.0.0",
"@tailwindcss/typography": "^0.5.19",
"autoprefixer": "^10.4.20",
"cspell": "^8.0.0",
"markdownlint-cli2": "^0.14.0",
"pagefind": "^1.4.0",
"postcss": "^8.5.3",
"postcss-cli": "^11.0.1",
"prettier": "^3.8.3",
"tailwindcss": "^3.4.19",
"wrangler": "^4.85.0"
}
}