Add eslint.config.mjs (flat config) using @typescript-eslint/eslint-plugin flat/recommended rules. Add npm run lint script (exits 0 on current codebase). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
34 lines
787 B
JSON
34 lines
787 B
JSON
{
|
|
"name": "quote-of-the-day-api",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "ts-node src/index.ts",
|
|
"lint": "eslint src",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://gitea-ai-sdlc.scopicdev.com/scopic-software/quote-of-the-day-api.git"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"express": "^5.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^5.0.6",
|
|
"@types/node": "^26.1.1",
|
|
"@typescript-eslint/eslint-plugin": "^8.64.0",
|
|
"@typescript-eslint/parser": "^8.64.0",
|
|
"eslint": "^10.7.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": ">=5.0.0 <6.1.0",
|
|
"vitest": "^4.1.10"
|
|
}
|
|
}
|