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-electron/package.json
HaNdTriX 79a7878c7d Update with-electron example (#4386)
Electron recommends to disable nodeIntegration in BrowserViews.
This PR follows this recommendation and updates the example accordingly.

 Changes:

- disable nodeIntegration
- update dependencies
2018-05-16 10:49:13 +02:00

32 lines
664 B
JSON

{
"name": "electron-next-skeleton",
"productName": "ElectronNext",
"version": "1.0.0",
"main": "main/index.js",
"scripts": {
"start": "electron .",
"build": "next build renderer && next export renderer",
"dist": "npm run build && build --dir"
},
"build": {
"asar": false,
"extraResources": [
{
"from": "renderer/out",
"to": "app/renderer"
}
]
},
"devDependencies": {
"electron": "^2.0.0",
"electron-builder": "^20.13.4",
"next": "latest",
"react": "^16.1.1",
"react-dom": "^16.1.1"
},
"dependencies": {
"electron-is-dev": "0.3.0",
"electron-next": "3.1.4"
}
}