-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
39 lines (39 loc) · 2.01 KB
/
package.json
File metadata and controls
39 lines (39 loc) · 2.01 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
{
"dependencies": {
"autoprefixer": "^10.4.27",
"postcss": "^8.5.6",
"postcss-cli": "^11.0.1"
},
"devDependencies": {
"@playwright/test": "^1.58.2",
"cspell": "^9.7.0",
"markdownlint-cli2": "^0.21.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.8.1",
"prettier-plugin-toml": "^2.0.6"
},
"scripts": {
"build": ".tool/hugo --gc --minify -e production && npx -y pagefind --site public",
"build:dev": ".tool/hugo --buildDrafts --buildFuture && npx -y pagefind --site public",
"serve": ".tool/hugo server --bind=0.0.0.0 --buildDrafts --buildFuture",
"serve:with-search": "npm run build:dev && npx -y pagefind --site public && npm run serve",
"dev": "npm run serve:with-search",
"test": "playwright test",
"test:headed": "playwright test --headed",
"test:ui": "playwright test --ui",
"test:chromium": "playwright test --project=chromium",
"test:firefox": "playwright test --project=firefox",
"test:webkit": "playwright test --project=webkit",
"test:mobile": "playwright test --project=mobile-chrome --project=mobile-safari",
"lint": "npm-run-all lint:*",
"lint:prettier": "prettier --check \"content/**/*.{json,yaml,yml,md,scss,css,html,toml}\" \"assets/**/*.{json,yaml,yml,md,scss,css,html,toml}\" \"*.{json,yaml,yml,md,scss,css,html,toml}\"",
"lint:markdown": "markdownlint-cli2 \"content/**/*.md\" \"archetypes/**/*.md\"",
"lint:spell": "cspell --show-suggestions --color \"content/**/*.md\"",
"lint:hugo": ".tool/hugo --printI18nWarnings --printPathWarnings --printUnusedTemplates --gc --minify --quiet",
"lint-fix": "npm-run-all lint-fix:*",
"lint-fix:prettier": "prettier --write \"content/**/*.{json,yaml,yml,md,scss,css,html,toml}\" \"assets/**/*.{json,yaml,yml,md,scss,css,html,toml}\" \"*.{json,yaml,yml,md,scss,css,html,toml}\"",
"lint-fix:markdown": "markdownlint-cli2 --fix \"content/**/*.md\" \"archetypes/**/*.md\" \"*.md\"",
"validate": "npm run build && npm run lint",
"clean": "rm -rf public resources/_gen"
}
}