-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 4.35 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 4.35 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
{
"name": "gitpagedocs-monorepo",
"version": "1.1.54",
"private": true,
"description": "Workspace root for Git Page Docs — frontend (Next.js viewer), cli (published `gitpagedocs`), mcp, and tools (shared core).",
"packageManager": "pnpm@10.33.2",
"engines": {
"node": ">=20"
},
"workspaces": [
"frontend",
"cli",
"tools",
"mcp"
],
"scripts": {
"predev": "node -e \"const fs=require('fs'); const s='gitpagedocs/icon.svg'; const d='frontend/public/icon.svg'; if(fs.existsSync(s)){fs.mkdirSync('frontend/public',{recursive:true}); fs.copyFileSync(s,d);}\"",
"dev": "cross-env GITPAGEDOCS_REPOSITORY_SEARCH=true next dev frontend",
"clean": "node -e \"const fs=require('fs'); try{fs.rmSync('frontend/.next',{recursive:true})}catch(e){}\"",
"build": "node cli/index.mjs && node -e \"const fs=require('fs'); const src='gitpagedocs/icon.svg'; const dest='frontend/public/icon.svg'; if(fs.existsSync(src)){fs.mkdirSync('frontend/public',{recursive:true}); fs.copyFileSync(src,dest);}\" && next build frontend",
"build:prebuilt": "node cli/index.mjs && node -e \"const fs=require('fs'); const src='gitpagedocs/icon.svg'; const dest='frontend/public/icon.svg'; if(fs.existsSync(src)){fs.mkdirSync('frontend/public',{recursive:true}); fs.copyFileSync(src,dest);}\" && next build frontend && node -e \"const fs=require('fs'); if(fs.existsSync('cli/prebuilt')) fs.rmSync('cli/prebuilt',{recursive:true}); fs.cpSync('frontend/out','cli/prebuilt',{recursive:true}); fs.writeFileSync('cli/prebuilt/.nojekyll','')\"",
"prestart": "npm run build",
"start": "cross-env GITPAGEDOCS_REPOSITORY_SEARCH=true node cli/start.mjs",
"lint": "eslint .",
"lint:src": "eslint \"frontend/src/**/*.{ts,tsx}\"",
"typecheck": "tsc --noEmit && tsc --noEmit -p frontend/tsconfig.json && tsc --noEmit -p tools/tsconfig.json && tsc --noEmit -p mcp/tsconfig.json",
"test:unit": "vitest run",
"test:cov": "vitest run --coverage",
"test:e2e": "playwright test",
"test:ci": "npm run smoke:cli && npm run smoke:flags && npm run smoke:core && npm run smoke:ai && npm run smoke:secweb && npm run smoke:mcp && npm run smoke:docs",
"typecheck:strict-unused": "tsc --noEmit --noUnusedLocals --noUnusedParameters",
"smoke:cli": "node tools/smoke/cli-smoke.mjs",
"smoke:flags": "node --import tsx tools/smoke/flag-contract.ts",
"smoke:core": "node --import tsx tools/smoke/core-selftest.ts",
"smoke:ai": "node --import tsx tools/smoke/ai-selftest.ts",
"smoke:secweb": "node --import tsx tools/smoke/security-web-selftest.ts",
"smoke:mcp": "node --import tsx mcp/smoke/mcp-selftest.ts",
"smoke:docs": "node --import tsx tools/smoke/docs-selftest.ts",
"smoke:all": "npm run smoke:cli && npm run smoke:flags && npm run smoke:core && npm run smoke:ai && npm run smoke:secweb && npm run smoke:mcp && npm run smoke:docs && npm run baseline:check",
"test": "npm run smoke:all",
"baseline:site": "node tools/gen-site-baseline.mjs",
"baseline:create": "node tools/gen-site-baseline.mjs && node tools/smoke/create-baseline.mjs",
"baseline:check": "node tools/smoke/check-baseline.mjs",
"turbo:build": "turbo run build",
"turbo:lint": "turbo run lint",
"turbo:typecheck": "turbo run typecheck",
"turbo:test": "turbo run test",
"gitpagedocs": "node cli/index.mjs",
"gitpagedocs:home": "node cli/index.mjs --home",
"publish:all": "pnpm -r publish --access public --no-git-checks"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Vidigal-code/git-page-docs.git"
},
"author": "Vidigal-code",
"license": "ISC",
"bugs": {
"url": "https://github.com/Vidigal-code/git-page-docs/issues"
},
"homepage": "https://vidigal-code.github.io/git-page-docs/",
"devDependencies": {
"@eslint/eslintrc": "^3.3.5",
"@gitpagedocs/mcp": "workspace:*",
"@gitpagedocs/tools": "workspace:*",
"@playwright/test": "^1.60.0",
"@types/node": "^22.13.4",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitest/coverage-v8": "^4.1.8",
"cross-env": "^7.0.3",
"eslint": "^9.20.1",
"eslint-config-next": "^15.1.7",
"gray-matter": "^4.0.3",
"marked": "^15.0.7",
"next": "^15.1.7",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-icons": "^5.4.0",
"tsx": "^4.21.0",
"turbo": "^2.9.18",
"typescript": "5.9.3",
"vitest": "^4.1.8"
}
}