rsnext/examples/custom-server-typescript/package.json
Matt Jewell 7076727d3e Fix location of production server file (#5731)
(At least with my set up, mac osx, node 10.13.0, yarn 1.12.1)

Couldn't get the server to start with `npm start`, this appears to fix that
2018-11-22 16:55:47 +01:00

23 lines
600 B
JSON

{
"scripts": {
"dev": "nodemon server/index.ts",
"build": "next build && tsc --project tsconfig.server.json",
"start": "NODE_ENV=production node .next/production-server/index.js"
},
"dependencies": {
"@babel/core": "^7.1.2",
"@zeit/next-typescript": "1.1.1",
"babel-loader": "^8.0.4",
"next": "latest",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"typescript": "latest",
"typescript-babel-jest": "^1.0.5"
},
"devDependencies": {
"@types/next": "^7.0.1",
"@types/react": "^16.4.16",
"nodemon": "^1.18.4",
"ts-node": "^7.0.1"
}
}