-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 4.73 KB
/
Copy pathpackage.json
File metadata and controls
86 lines (86 loc) · 4.73 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
{
"name": "dout.dev",
"version": "0.6.2",
"description": "The DoUtDev Blog - Static site generator with custom CMS and template engine",
"repository": "git@github.com:pixu1980/dout-dev.git",
"author": "Emiliano \"Pixu\" Pisu",
"license": "MIT",
"private": true,
"type": "module",
"scripts": {
"test": "node --import ./scripts/testing/index.js --test \"**/*.test.js\"",
"test:coverage": "node --import ./scripts/testing/index.js --test --experimental-test-coverage --test-coverage-exclude='**/*.test.js' \"**/*.test.js\"",
"test:watch": "node --import ./scripts/testing/index.js --test --watch \"**/*.test.js\"",
"test:visual": "playwright test",
"test:visual:update": "playwright test --update-snapshots",
"lint": "node scripts/quality/_lint.js",
"format": "node scripts/formatting/_format.js",
"format:build": "pnpm -s biome format --write . && pnpm format:html",
"format:check": "node scripts/formatting/_format-check.js",
"format:check:build": "pnpm -s biome format --reporter=summary --diagnostic-level=error . && pnpm format:check:html",
"format:html": "node scripts/formatting/_format-html.js",
"format:css": "pnpm -s prettier --write \"src/styles/**/*.css\"",
"format:check:css": "pnpm -s prettier --check --write \"src/styles/**/*.css\"",
"format:generated": "pnpm -s prettier --write \"tests/example/*.html\" && pnpm -s biome format \"scripts/**/*.js\" \"tests/**/*.cjs\"",
"format:check:html": "node scripts/formatting/_format-check-html.js",
"validate:html": "node scripts/validation/_validate-html.js",
"validate:structure": "node scripts/validation/_validate-structure.js",
"validate:links": "node scripts/validation/_validate-links.js",
"validate:links:dist": "node scripts/validation/_validate-links.js dist",
"validate:a11y": "node scripts/validation/_validate-a11y.js",
"validate:security": "node scripts/validation/_validate-security.js",
"validate:opengraph": "node scripts/validation/_validate-opengraph.js",
"validate:opengraph:dist": "node scripts/validation/_validate-opengraph.js dist",
"validate:all": "pnpm validate:html && pnpm validate:structure && pnpm validate:links && pnpm validate:a11y && pnpm validate:opengraph",
"validate:template-syntax": "node scripts/validation/_validate-template-syntax.js",
"spellcheck": "cspell --no-progress --show-context --config ./cspell.config.json",
"quality:check": "pnpm test && pnpm spellcheck && pnpm format:check && pnpm format:check:html && pnpm validate:all",
"og:check": "node scripts/og-check/_cli.js",
"cms:clean": "node scripts/cms/_clean.js",
"cms:scan": "node --env-file-if-exists=.env.local scripts/cms/_scan.js",
"cms:build": "node --env-file-if-exists=.env.local scripts/cms/_build.js",
"cms:watch": "node --env-file-if-exists=.env.local scripts/cms/_watch.js",
"cms:validate": "node --env-file-if-exists=.env.local scripts/cms/_validate.js",
"images:generate": "node scripts/cms/_generate-images.js",
"images:cleanup": "node scripts/cms/_cleanup-images.js",
"verify:dist": "node scripts/verification/_verify-dist.cjs",
"check:favicons": "node scripts/assets/_check-favicons.js",
"clear:cache": "rm -rf .parcel-cache dist .vite node_modules/.vite",
"clear:deps": "rm -rf node_modules",
"clear": "pnpm clear:cache && pnpm clear:deps",
"reset": "pnpm clear && pnpm install",
"dev:cms": "pnpm cms:clean && pnpm cms:build && pnpm cms:watch",
"dev": "vite dev",
"build:assets": "node scripts/assets/_build-assets.js",
"build": "pnpm cms:clean && pnpm images:generate && pnpm cms:build && pnpm format:build && vite build && pnpm build:assets && pnpm verify:dist",
"prepare": "node .husky/install.mjs",
"prepush:check": "pnpm validate:template-syntax && pnpm spellcheck && pnpm check:favicons && pnpm format:check:css && pnpm test && CMS_DISABLE_SCHEDULED_DRAFT_PROMPTS=1 pnpm build && pnpm validate:opengraph:dist && pnpm validate:links:dist && node scripts/validation/_validate-a11y.js dist && pnpm validate:security",
"preview": "vite preview",
"start": "pnpm dev",
"release": "node scripts/release/index.js"
},
"browserslist": "last 2 versions, not dead",
"devDependencies": {
"@axe-core/playwright": "4.11.3",
"@biomejs/biome": "2.5.0",
"@playwright/test": "1.60.0",
"cli-real-favicon": "0.0.9",
"cspell": "10.0.1",
"gray-matter": "4.0.3",
"husky": "9.1.7",
"jsdom": "29.1.1",
"marked": "18.0.5",
"pnpm": "11.6.0",
"postcss": "8.5.15",
"postcss-combine-media-query": "2.1.0",
"prettier": "3.8.4",
"sharp": "0.34.5",
"vite": "8.0.16",
"vite-plugin-static-copy": "4.1.1",
"web-vitals": "5.3.0"
},
"engines": {
"node": ">= 22.0.0",
"pnpm": ">= 10.33.2"
}
}