- Fixed download icon size (1.25rem instead of huge black icons) - Uploaded all 12 PDFs to production server - Restored table of contents rendering for all documents - Fixed modal cards with proper CSS and event handlers - Replaced all docs-viewer.html links with docs.html - Added nginx redirect from /docs/* to /docs.html - Fixed duplicate headers in modal sections - Improved cache-busting with timestamp versioning All documentation features now working correctly: ✅ Card-based document viewer with modals ✅ PDF downloads with proper icons ✅ Table of contents navigation ✅ Consistent URL structure 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
63 lines
1.8 KiB
JSON
63 lines
1.8 KiB
JSON
{
|
|
"name": "tractatus-website",
|
|
"version": "0.1.0",
|
|
"description": "Tractatus-Based LLM Safety Framework website platform",
|
|
"main": "src/server.js",
|
|
"scripts": {
|
|
"start": "node src/server.js",
|
|
"dev": "nodemon src/server.js",
|
|
"build:css": "npx tailwindcss -i ./public/css/src/tailwind.css -o ./public/css/tailwind.css --minify",
|
|
"watch:css": "npx tailwindcss -i ./public/css/src/tailwind.css -o ./public/css/tailwind.css --watch",
|
|
"test": "jest --coverage",
|
|
"test:watch": "jest --watch",
|
|
"test:unit": "jest tests/unit",
|
|
"test:integration": "jest tests/integration",
|
|
"test:security": "jest tests/security",
|
|
"lint": "eslint src/ tests/",
|
|
"lint:fix": "eslint src/ tests/ --fix",
|
|
"migrate:docs": "node scripts/migrate-documents.js",
|
|
"init:db": "node scripts/init-db.js",
|
|
"seed:admin": "node scripts/seed-admin.js",
|
|
"generate:pdfs": "node scripts/generate-pdfs.js",
|
|
"deploy": "bash scripts/deploy-frontend.sh"
|
|
},
|
|
"keywords": [
|
|
"ai-safety",
|
|
"llm",
|
|
"tractatus",
|
|
"digital-sovereignty",
|
|
"ai-governance"
|
|
],
|
|
"author": "John Stroh <john.stroh.nz@pm.me>",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"bcrypt": "^5.1.1",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.3.1",
|
|
"express": "^4.18.2",
|
|
"express-rate-limit": "^7.1.5",
|
|
"helmet": "^7.1.0",
|
|
"highlight.js": "^11.9.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"marked": "^11.0.0",
|
|
"mongodb": "^6.3.0",
|
|
"puppeteer": "^24.23.0",
|
|
"sanitize-html": "^2.11.0",
|
|
"validator": "^13.11.0",
|
|
"winston": "^3.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"@anthropic-ai/sdk": "^0.9.1",
|
|
"autoprefixer": "^10.4.21",
|
|
"eslint": "^8.56.0",
|
|
"jest": "^29.7.0",
|
|
"nodemon": "^3.0.2",
|
|
"postcss": "^8.5.6",
|
|
"supertest": "^6.3.3",
|
|
"tailwindcss": "^3.4.18"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"npm": ">=9.0.0"
|
|
}
|
|
}
|