-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
15 lines (15 loc) · 820 Bytes
/
Copy pathpackage.json
File metadata and controls
15 lines (15 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"private": true,
"type": "module",
"//": "Not an app. `type: module` marks the repo's .js files as ESM for Node, which browsers already infer from <script type=\"module\">; without it `node --test` only works on Node 22.7+.",
"//browser-checks": "CI installs Playwright to run the browser gate. Locally: `npm install && npx playwright install chromium`, then `./scripts/visual-parity-check.sh` and `cargo test --test web -- --ignored`. Direct dependencies are pinned exactly and package-lock.json is committed, because eslint's transitive graph is caret-ranged and CI runs `npm ci`.",
"devDependencies": {
"eslint": "9.39.5",
"globals": "17.11.0",
"playwright": "1.62.1"
},
"scripts": {
"test": "node --test tests/browser/*.test.js",
"browser-check": "scripts/browser-check.sh"
}
}