mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
71d1d363ad
* 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.
5 lines
102 B
JSON
5 lines
102 B
JSON
{
|
|
"watch": ["server/**/*.ts"],
|
|
"exec": "ts-node --project tsconfig.server.json server/index.ts"
|
|
}
|