initial commit

This commit is contained in:
Ken Yasue
2025-06-01 22:21:33 +02:00
commit 5149012dcf
30 changed files with 6346 additions and 0 deletions

35
package.json Normal file
View File

@ -0,0 +1,35 @@
{
"name": "nextjs-typeorm",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"typeorm": "ts-node -P ./schema/tsconfig.json ./node_modules/typeorm/cli.js",
"migration:create": "npm run typeorm migration:create ./schema/migration/migrated",
"migration:generate": "npm run typeorm migration:generate ./schema/migration/migrated -- -d ./schema/data-source.ts",
"migration:run": "npm run typeorm migration:run -- -d ./schema/data-source.ts"
},
"dependencies": {
"next": "14.1.3",
"pg": "^8.11.3",
"react": "^18",
"react-dom": "^18",
"reflect-metadata": "^0.2.1",
"typeorm": "^0.3.20"
},
"devDependencies": {
"@types/node": "^20.12.7",
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10.0.1",
"eslint": "^8",
"eslint-config-next": "14.1.3",
"postcss": "^8",
"tailwindcss": "^3.3.0",
"ts-node": "^10.9.2",
"typescript": "^5"
}
}