1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-ts-node/package.json
Carlos 565b026e7b Added with-ts-node with Next js 7 example (#5204)
### Next js 7+ and Typescript 3+ Example

No babel, tsc, pure typescript usage
Made by [next-with-typescript plugin](https://github.com/echoulen/next-with-typescript)
2018-09-28 21:18:50 +02:00

23 lines
561 B
JSON

{
"scripts": {
"dev": "nodemon server/index.ts",
"build": "next build",
"start": "NODE_ENV=production ts-node --compilerOptions '{\"module\":\"commonjs\"}' server/index.ts"
},
"dependencies": {
"@types/next": "^2.4.11",
"@types/react": "^16.0.36",
"next": "^7.0.0",
"next-with-typescript": "1.0.0",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"ts-loader": "5.1.1",
"ts-node": "^7.0.1",
"typescript": "latest",
"typescript-babel-jest": "^1.0.5"
},
"devDependencies": {
"nodemon": "^1.17.5"
}
}