This website requires JavaScript.
Explore
Help
Sign In
terribleplan
/
next.js
Watch
1
Star
0
Fork
You've already forked next.js
0
mirror of
https://github.com/terribleplan/next.js.git
synced
2024-01-19 02:48:18 +00:00
Code
Issues
Releases
Wiki
Activity
b5b0c743b3
next.js
/
examples
/
custom-server-typescript
/
nodemon.json
5 lines
102 B
JSON
Raw
Normal View
History
Unescape
Escape
Add custom-server-typescript example (see #3694) (#3838) * Add custom-server-typescript example (see #3694) * Fix linting errors in custom-server-typescript * Provide proper arguments to ts-node. * Fix import and fix all linting errors. * Use import in server as well. * Update nodemon.json
2018-02-22 15:29:47 +00:00
{
"watch"
:
[
"server/**/*.ts"
]
,
Fix/update "examples/custom-server-typescript" (#5865) * Update all dependencies and remove redundant ones from package.json. (60f9ee5) * Fixes #5596 by adjusting nodemon scripts (d4b7d3a) * Fixes `npm start` on windows by using `cross-env` (9555217) * Move compiled server out from `.next`. Compiling other JS into `.next` seems incorrect. (79fce02, 9ce7086) * Partly fixes #5753 by making sure typescript compiles with `es2017` as target, at least ensuring code is runnable on node 8. Previously it was compiled with `esnext`. (9176e92) --- I tried improving the structure by keeping source in `src/app` and `src/server` and then building to `dist/server` and `dist/app` but I didn't really get it to work and made most configs more complicated. Moved the built server out from `.next` anyway.
2018-12-12 10:04:39 +00:00
"exec"
:
"ts-node --project tsconfig.server.json server/index.ts"
Add custom-server-typescript example (see #3694) (#3838) * Add custom-server-typescript example (see #3694) * Fix linting errors in custom-server-typescript * Provide proper arguments to ts-node. * Fix import and fix all linting errors. * Use import in server as well. * Update nodemon.json
2018-02-22 15:29:47 +00:00
}
Reference in a new issue
Copy permalink