mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
39be7183a5
- Add "jsx": "preserve" to tsconfig.json - Rename lib to production-server to remove incompatibility with other examples Context: https://github.com/zeit/next.js/pull/3838#issuecomment-370189242 and below
21 lines
484 B
JSON
21 lines
484 B
JSON
{
|
|
"scripts": {
|
|
"dev": "nodemon server/index.ts",
|
|
"build": "next build && tsc --module commonjs",
|
|
"start": "NODE_ENV=production node production-server/index.js"
|
|
},
|
|
"dependencies": {
|
|
"next": "latest",
|
|
"react": "^16.2.0",
|
|
"react-dom": "^16.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/next": "^2.4.7",
|
|
"@types/react": "^16.0.36",
|
|
"@zeit/next-typescript": "^0.0.8",
|
|
"nodemon": "^1.12.1",
|
|
"ts-node": "^4.1.0",
|
|
"typescript": "^2.7.1"
|
|
}
|
|
}
|