75 lines
1.9 KiB
JSON
75 lines
1.9 KiB
JSON
{
|
|
"name": "fastify-drizzle-quick-start",
|
|
"version": "1.0.0",
|
|
"description": "Quick start for Fastify, TypeScript, ESlint, Prettier and DrizzleORM",
|
|
"type": "module",
|
|
"main": "index.js",
|
|
"repository": "https://github.com/Looskie/fastify-drizzle-quick-start.git",
|
|
"author": "Cody Miller <50378828+Looskie@users.noreply.github.com>",
|
|
"license": "none",
|
|
"scripts": {
|
|
"lint": "xo",
|
|
"dev": "tsx watch --clear-screen=false src/index.js",
|
|
"prettier": "prettier --write .",
|
|
"migrate": "drizzle-kit generate:pg",
|
|
"start": "node src/index.js"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cli-color": "^2.0.6",
|
|
"@types/node": "^20.10.4",
|
|
"@types/pg": "^8.10.9",
|
|
"@types/stripe-v3": "^3.1.33",
|
|
"cli-color": "^2.0.3",
|
|
"dotenv": "^16.3.1",
|
|
"drizzle-kit": "^0.22.4",
|
|
"pg": "^8.12.0",
|
|
"prettier": "^3.1.1",
|
|
"tsc-alias": "^1.8.8",
|
|
"tsx": "^3.12.7",
|
|
"typescript": "^5.3.3",
|
|
"xo": "^0.56.0"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cookie": "^9.3.1",
|
|
"@fastify/cors": "^8.4.2",
|
|
"@fastify/multipart": "^8.2.0",
|
|
"@fastify/oauth2": "^7.8.0",
|
|
"drizzle-orm": "^0.31.1",
|
|
"fastify": "^4.25.0",
|
|
"fastify-plugin": "^4.5.1",
|
|
"googleapis": "^134.0.0",
|
|
"mailtrap": "^3.3.0",
|
|
"openai": "^4.38.5",
|
|
"redis": "^4.6.11",
|
|
"simple-get": "^4.0.1",
|
|
"stripe": "^15.7.0",
|
|
"tsc": "^2.0.4",
|
|
"youtube-dl-exec": "^3.0.2",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"xo": {
|
|
"rules": {
|
|
"import/extensions": "off",
|
|
"@typescript-eslint/quotes": [
|
|
"error",
|
|
"double"
|
|
],
|
|
"@typescript-eslint/indent": [
|
|
"error",
|
|
2
|
|
],
|
|
"@typescript-eslint/object-curly-spacing": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"n/prefer-global/process": "off",
|
|
"@typescript-eslint/no-extraneous-class": "off",
|
|
"arrow-parens": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"@typescript-eslint/no-floating-promises": "off"
|
|
}
|
|
}
|
|
}
|