-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.75 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 3.75 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "docingest",
"version": "0.1.0",
"private": true,
"license": "MIT",
"type": "module",
"dependencies": {
"@mozilla/readability": "^0.6.0",
"@tailwindcss/typography": "^0.5.10",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/dompurify": "^3.0.5",
"@types/jest": "^27.5.2",
"@types/jsdom": "^28.0.0",
"@types/node": "^16.18.68",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/turndown": "^5.0.5",
"axios": "^1.6.2",
"compression": "^1.8.0",
"cors": "^2.8.5",
"dompurify": "^3.2.3",
"express": "^5.1.0",
"express-rate-limit": "^7.5.0",
"fs-extra": "^11.2.0",
"helmet": "^8.1.0",
"ioredis": "^5.11.1",
"jsdom": "^28.1.0",
"lru-cache": "^11.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-ga4": "^2.1.0",
"react-helmet-async": "^2.0.5",
"react-markdown": "^9.0.1",
"react-router-dom": "^6.21.1",
"react-scripts": "5.0.1",
"react-syntax-highlighter": "^15.6.1",
"react-tooltip": "^5.30.0",
"rehype-raw": "^7.0.0",
"rehype-sanitize": "^6.0.0",
"remark-gfm": "^4.0.1",
"serve-static": "^2.2.0",
"sitemap": "^8.0.0",
"tailwindcss": "^3.4.0",
"turndown": "^7.2.0",
"typescript": "^4.9.5",
"web-vitals": "^2.1.4"
},
"scripts": {
"dev-start": "PORT=8000 react-scripts start",
"build": "react-scripts build",
"build:deploy": "react-scripts build && npm run deploy",
"deploy": "sudo cp -r build/* /var/www/html/ && sudo chown -R www-data:www-data /var/www/html/ && sudo systemctl reload nginx",
"test": "react-scripts test",
"test:server": "tsx server/lib/versioning.test.ts",
"test:integrity": "tsx server/lib/document-integrity.test.ts",
"test:snapshots": "tsx server/lib/snapshot-selector.test.ts",
"test:urls": "tsx server/lib/url-canonicalization.test.ts",
"test:index": "tsx server/lib/index-replacement.test.ts",
"test:sections": "tsx server/lib/section-retrieval.test.ts",
"test:crawl": "tsx server/lib/crawl-outcomes.test.ts",
"test:acceptance": "tsx server/lib/crawl-acceptance.test.ts",
"test:audit": "tsx server/scripts/audit-corpus-integrity.test.ts",
"test:storage-paths": "tsx server/lib/storage-paths.test.ts",
"test:ai-readable": "node --import tsx --test server/lib/ai-readable.test.ts",
"test:indexnow": "node --import tsx --test server/lib/indexnow.test.ts",
"test:agent-discovery": "node --import tsx --test src/agent-discovery.test.ts src/utils/webmcp.test.ts src/frontend-static-server.test.ts",
"eject": "react-scripts eject",
"server": "tsx server/server.ts",
"dev": "concurrently \"npm run server\" \"npm run dev-start\"",
"dev:local": "PORT=8011 REACT_APP_API_URL=http://localhost:8011/api concurrently \"npm run server\" \"npm run dev-start\"",
"migrate:versions": "npx tsx server/scripts/migrate-to-versioning.ts",
"audit:integrity": "npx tsx server/scripts/audit-corpus-integrity.ts"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"proxy": "http://localhost:8001",
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/fs-extra": "^11.0.4",
"@types/supertest": "^7.2.1",
"concurrently": "^8.2.2",
"supertest": "^7.2.2",
"ts-node": "^10.9.2",
"tsx": "^4.21.0"
}
}