Repository navigation
Expand file tree
/
Copy pathdeno.json
More file actions
85 lines (85 loc) · 3.5 KB
/
Copy pathdeno.json
File metadata and controls
85 lines (85 loc) · 3.5 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
{
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
"nodeModulesDir": "auto",
"tasks": {
"dev": {
"description": "Vite dev server (mirrors `npm run dev`).",
"command": "vite"
},
"build": {
"description": "Production build (mirrors `npm run build`).",
"command": "vite build"
},
"preview": {
"description": "Preview a production build (mirrors `npm run preview`).",
"command": "vite preview"
},
"build-css": {
"description": "Standalone Tailwind watch build (mirrors `npm run build-css`).",
"command": "tailwindcss -i ./src/styles.css -o ./dist/styles.css --watch"
},
"serve": {
"description": "Serve a built dist/ over plain HTTP without Vite (mirrors `npm run serve`).",
"command": "python3 -m http.server 8080"
},
"test": {
"description": "Playwright e2e/smoke suite (mirrors `npm test`).",
"command": "playwright test"
},
"test:unit": {
"description": "Vitest unit suite, single run (mirrors `npm run test:unit`).",
"command": "vitest run"
},
"test:unit:watch": {
"description": "Vitest unit suite, watch mode (mirrors `npm run test:unit:watch`).",
"command": "vitest"
},
"test:ui": {
"description": "Playwright UI runner (mirrors `npm run test:ui`).",
"command": "playwright test --ui"
},
"test:debug": {
"description": "Playwright debug runner (mirrors `npm run test:debug`).",
"command": "playwright test --debug"
},
"test:report": {
"description": "Open the last Playwright HTML report (mirrors `npm run test:report`).",
"command": "playwright show-report"
},
"assert:no-sentry-without-dsn": {
"description": "Prove the Sentry SDK is tree-shaken out of a DSN-less build (mirrors `npm run assert:no-sentry-without-dsn`).",
"command": "deno run -A scripts/assert-bundle-without-dsn.mjs"
},
"assert:site": {
"description": "Check the site's metadata, cross-links and crawler files against src/lib/site.js (mirrors `npm run assert:site`). Also runs inside every `vite build`.",
"command": "deno run -A scripts/assert-site.mjs"
},
"check:lockfiles": {
"description": "package.json, package-lock.json and deno.lock list the same direct dependencies (mirrors `npm run check:lockfiles`).",
"command": "deno run -A scripts/check-lockfiles.mjs"
},
"lint:content": {
"description": "Validate public/markdown/*.md against the catalog conventions (mirrors `npm run lint:content`).",
"command": "deno run -A dev-tools/lint-content.mjs"
},
"check:links": {
"description": "Check that the catalog's outbound links still resolve; set GITHUB_TOKEN to also catch archived and renamed repos (mirrors `npm run check:links`).",
"command": "deno run -A dev-tools/check-links.mjs"
},
"check": {
"description": "Type-check the JSX/JS source with Deno's built-in TypeScript checker (new — there was no type checking at all before this migration).",
"command": "deno check src/**/*.js src/**/*.jsx"
}
},
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react",
"checkJs": true,
"lib": ["dom", "dom.iterable", "deno.ns", "esnext"],
"strict": false,
"types": ["./src/types/global.d.ts", "vite/client"]
},
"unstable": ["sloppy-imports"],
"exclude": ["dist", "node_modules", "tests/container", "archive", "video"],
"allowScripts": ["npm:@tailwindcss/oxide@4.1.7"]
}