Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 4.67 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 4.67 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
87
{
"name": "webperf-snippets-docs",
"private": true,
"version": "2.9.0",
"description": "Web Performance Snippets — documentation site",
"workspaces": [
"cli"
],
"scripts": {
"dev": "next dev --webpack",
"build": "next build --webpack",
"prebuild": "rm -rf .next && node scripts/generate-llms.js && node scripts/generate-page-markdown.mjs && node scripts/generate-webmcp-registry.mjs",
"check:consistency": "node scripts/check-consistency.js",
"smoke:cli-package": "node scripts/smoke-cli-package.mjs",
"test:demos": "node --test scripts/demos.test.js",
"check:emoji": "node scripts/check-emoji.js",
"test:icons": "node --test lib/rehype-icons.test.js lib/strip-emoji.test.js scripts/check-emoji.test.js",
"test:support": "node --test lib/browser-support.test.js lib/remark-browser-support.test.js",
"test:prompt": "node --test lib/snippet-prompt.test.mjs lib/remark-snippet-prompt.test.mjs scripts/eval-prompts/grade.test.mjs scripts/eval-prompts/summary.test.mjs scripts/eval-mcp/grade.test.mjs scripts/eval-mcp/summary.test.mjs scripts/eval-mcp/crux.test.mjs",
"eval:prompts": "node scripts/eval-prompts/run.mjs",
"eval:mcp": "node scripts/eval-mcp/run.mjs",
"extension:build": "node scripts/build-extension.mjs",
"extension:zip": "node scripts/package-extension.mjs",
"test:extension": "node scripts/build-extension.mjs && node --test extension/lib/*.test.js lib/snippet-expression.test.mjs",
"test:view": "node --test scripts/view.test.mjs scripts/view-report.test.mjs",
"view:fixtures": "node scripts/capture-result-fixtures.mjs",
"test:extension:e2e": "node scripts/build-extension.mjs && node --test --test-concurrency=1 extension/tests/panel.e2e.test.js extension/tests/width.e2e.test.js extension/tests/package.test.js",
"test:ci": "node --test scripts/ci-skip-slow-steps.test.js scripts/check-tag-version.test.js scripts/agentic-audit.test.mjs scripts/check-generated.test.js scripts/release-versions.test.js",
"audit:agentic": "node scripts/agentic-audit.mjs",
"test:components": "vitest run components lib/page-metadata.test.js lib/analytics.test.js lib/webmcp.test.js",
"generate-icons": "node scripts/generate-icons.mjs",
"generate-demo-heights": "node scripts/generate-demo-heights.mjs",
"generate-skills": "node scripts/generate-skills.js",
"generate-skills:check": "node scripts/generate-skills.js && node scripts/check-generated.js skills dist .claude/skills",
"test:skills": "node --test scripts/skill-scripts.test.js scripts/skill-guidance.test.js scripts/generate-skills.test.js",
"install-skills": "node scripts/install-skills.js",
"install-global": "node scripts/install-global.js",
"install-from-release": "node scripts/install-from-release.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"validate": "npm run lint && npm run build",
"prepare": "git config core.hooksPath .githooks",
"test": "npm run test:demos && npm run test:icons && npm run test:support && npm run test:prompt && npm run test:view && npm run test:extension && npm run test:skills && npm run test:ci && npm run test:components && npm run test:site && npm run test:unit --prefix cli",
"postbuild": "node scripts/build-search-index.js",
"test:site": "node --test lib/sitemap-routes.test.js lib/page-dates.test.js lib/catalog.test.js scripts/read-meta.test.js scripts/content-images.test.js scripts/check-built-snippets.test.js scripts/prerendered-dir.test.js lib/page-markdown.test.mjs lib/markdown-path.test.mjs scripts/generate-llms.test.js lib/page-info.test.js lib/webmcp-registry.test.mjs scripts/example-domains.test.js scripts/which-snippet.test.js",
"check:built-snippets": "node scripts/check-built-snippets.js",
"generate-llms:check": "node scripts/generate-llms.js && node scripts/check-generated.js public/llms.txt public/llms-full.txt",
"check:versions": "node scripts/release-versions.js"
},
"keywords": [
"webperf",
"performance",
"perftools",
"snippets"
],
"author": "Joan Leon | @nucliweb",
"license": "MIT",
"dependencies": {
"@dagrejs/dagre": "^3.1.3",
"@mdn/browser-compat-data": "^8.1.10",
"gray-matter": "^4.0.3",
"highlight.js": "^11.12.0",
"next": "^16.4.6",
"nextra": "^4.6.1",
"nextra-theme-docs": "^4.6.1",
"react": "^19.3.1",
"react-dom": "^19.3.1"
},
"devDependencies": {
"eslint": "^10.15.0",
"globals": "^17.0.0",
"pagefind": "^1.6.0",
"terser": "^5.36.0",
"vitest": "^5.1.1"
},
"overrides": {
"next-mdx-remote": "^6.0.0",
"nextra": {
"zod": "4.3.6"
},
"nextra-theme-docs": {
"zod": "4.3.6"
},
"@xmldom/xmldom": "0.9.12",
"katex": "0.18.11"
}
}