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-pkg/package.json
Michael Hsu a1f5f35c2e fix(with-pkg): Rename dist to server (#4727)
This PR is a follow-up to 6.1 breaking #4506: Rename `dist` to `server`
2018-07-04 15:12:36 +02:00

32 lines
630 B
JSON

{
"name": "with-pkg",
"version": "1.0.0",
"bin": "index.js",
"author": "Sergio Daniel Xalambrí <sergiodxa@gmail.com>",
"license": "MIT",
"scripts": {
"dev": "node server.js",
"build": "next build",
"prestart": "npm run build",
"start": "NODE_ENV=production node server.js",
"predist": "npm run build",
"dist": "pkg . --out-dir dist"
},
"dependencies": {
"next": "latest",
"react": "16.2.0",
"react-dom": "16.2.0"
},
"devDependencies": {
"pkg": "^4.2.2"
},
"pkg": {
"assets": [
".next/**/*"
],
"scripts": [
".next/server/**/*.js"
]
}
}