Fix issues and add linting
This commit is contained in:
10
package.json
10
package.json
@@ -14,9 +14,11 @@
|
||||
"dev:server": "npm run dev --workspace=server",
|
||||
"build": "npm run check:content && astro build",
|
||||
"start": "node dist/server/entry.mjs",
|
||||
"check:content": "node scripts/validate-content.js && node scripts/check-canonical.js",
|
||||
"check:content": "npx tsx scripts/validate-content.js && npx tsx scripts/check-canonical.js",
|
||||
"lint": "eslint . --ext .ts,.tsx",
|
||||
"lint:fix": "eslint . --ext .ts,.tsx --fix",
|
||||
"test": "vitest run",
|
||||
"check": "npm run check:content && npm test"
|
||||
"check": "npm run lint && npm run check:content && npm test"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^5.8.0",
|
||||
@@ -28,9 +30,13 @@
|
||||
"@dynamic-sites/shared": "file:shared"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.17.0",
|
||||
"@types/react": "^19.1.2",
|
||||
"@types/react-dom": "^19.1.2",
|
||||
"eslint": "^9.17.0",
|
||||
"tsx": "^4.19.0",
|
||||
"typescript": "^5.8.0",
|
||||
"typescript-eslint": "^8.20.0",
|
||||
"vitest": "^3.1.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user