forked from zk-coins/landing-page
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
33 lines (33 loc) · 1.6 KB
/
Copy pathpackage.json
File metadata and controls
33 lines (33 loc) · 1.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
{
"name": "zkcoins-landing-page",
"version": "0.0.0",
"private": true,
"type": "module",
"description": "Test tooling for the zkcoins.com landing page. Dev-only — the deployed site stays plain HTML + shared styles.css with no build step (see .assetsignore).",
"engines": {
"node": ">=22"
},
"scripts": {
"serve": "node scripts/dev-server.mjs",
"format": "prettier --write .",
"format:check": "prettier --check .",
"validate:html": "html-validate \"*.html\" \"de/**/*.html\" \"fr/**/*.html\" \"it/**/*.html\" \"es/**/*.html\"",
"i18n:generate": "python3 scripts/i18n/generate.py",
"i18n:check": "python3 scripts/i18n/generate.py && git diff --exit-code -- index.html de/ fr/ it/ es/ sitemap.xml && sh -c 'status=$(git status --porcelain -- index.html de/ fr/ it/ es/ sitemap.xml | sed -n \"/^??/p\"); if [ -n \"$status\" ]; then echo \"i18n:check: generated locale files are untracked after regeneration:\" >&2; echo \"$status\" >&2; exit 1; fi'",
"check:site": "node scripts/check-site.mjs",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"check:visual": "node scripts/check-visual.mjs",
"e2e:docker": "bash scripts/e2e-docker.sh",
"e2e:docker:update": "bash scripts/e2e-docker.sh --update-snapshots",
"check": "npm run format:check && npm run validate:html && npm run i18n:check && npm run check:site && npm run test:coverage"
},
"devDependencies": {
"@playwright/test": "1.61.1",
"@vitest/coverage-v8": "^3.2.4",
"html-validate": "^9.5.3",
"prettier": "^3.4.2",
"vitest": "^3.2.4"
}
}