36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|