feat: add eslint, image upload, tests, splash tagline, security hooks
- Restore CLAUDE.md with project conventions - ESLint config with vue3-recommended + typescript - Image upload endpoint (POST /api/admin/upload) with 5MB limit - Admin product form now supports image upload/preview/removal - Vitest config + 19 tests (crypto, validation, btcpay webhook, types) - Restore .claude/ security hooks (block-risky-bash, protect-files) - Logo splash now shows "EVERYTHING YOU LOVE IS A PSYOP" tagline - Add .vite/ to gitignore Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
45
package.json
45
package.json
@@ -16,36 +16,41 @@
|
||||
"clean": "rm -r dist/"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.5.13",
|
||||
"vue-router": "^4.5.0",
|
||||
"pinia": "^2.3.1",
|
||||
"@vueuse/core": "^12.7.0",
|
||||
"express": "^5.1.0",
|
||||
"better-sqlite3": "^11.9.1",
|
||||
"cookie-parser": "^1.4.7",
|
||||
"cors": "^2.8.5",
|
||||
"express": "^5.1.0",
|
||||
"helmet": "^8.1.0",
|
||||
"nanoid": "^5.1.5",
|
||||
"nodemailer": "^6.10.1",
|
||||
"nostr-tools": "^2.12.0",
|
||||
"nanoid": "^5.1.5",
|
||||
"helmet": "^8.1.0",
|
||||
"cors": "^2.8.5",
|
||||
"cookie-parser": "^1.4.7"
|
||||
"pinia": "^2.3.1",
|
||||
"vue": "^3.5.13",
|
||||
"vue-router": "^4.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.8.2",
|
||||
"@vitejs/plugin-vue": "^5.2.3",
|
||||
"vite": "^6.3.5",
|
||||
"vue-tsc": "^2.2.8",
|
||||
"tailwindcss": "^4.2.1",
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@tailwindcss/vite": "^4.2.1",
|
||||
"vitest": "^3.1.1",
|
||||
"tsx": "^4.19.4",
|
||||
"concurrently": "^9.1.2",
|
||||
"@types/express": "^5.0.2",
|
||||
"@types/better-sqlite3": "^7.6.13",
|
||||
"@types/nodemailer": "^6.4.17",
|
||||
"@types/cors": "^2.8.17",
|
||||
"@types/cookie-parser": "^1.4.8",
|
||||
"@types/cors": "^2.8.17",
|
||||
"@types/express": "^5.0.2",
|
||||
"@types/node": "^22.14.1",
|
||||
"eslint": "^9.24.0"
|
||||
"@types/nodemailer": "^6.4.17",
|
||||
"@typescript-eslint/eslint-plugin": "^8.57.1",
|
||||
"@typescript-eslint/parser": "^8.57.1",
|
||||
"@vitejs/plugin-vue": "^5.2.3",
|
||||
"concurrently": "^9.1.2",
|
||||
"eslint": "^9.24.0",
|
||||
"eslint-plugin-vue": "^10.8.0",
|
||||
"tailwindcss": "^4.2.1",
|
||||
"tsx": "^4.19.4",
|
||||
"typescript": "^5.8.2",
|
||||
"vite": "^6.3.5",
|
||||
"vitest": "^3.1.1",
|
||||
"vue-eslint-parser": "^10.4.0",
|
||||
"vue-tsc": "^2.2.8"
|
||||
},
|
||||
"pnpm": {
|
||||
"onlyBuiltDependenciesFile": "",
|
||||
|
||||
Reference in New Issue
Block a user