Skip to content

Instantly share code, notes, and snippets.

@Pipe-Runner
Created October 8, 2019 06:29
Show Gist options
  • Save Pipe-Runner/f3d79220c0735c784b9d189deff600f9 to your computer and use it in GitHub Desktop.
Save Pipe-Runner/f3d79220c0735c784b9d189deff600f9 to your computer and use it in GitHub Desktop.
Update package.json for dev without python
{
"name": "electron-react-boilerplate",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-scripts": "3.2.0"
},
"scripts": {
"react-start": "BROWSER=NONE react-scripts start",
"electron-start": "DEV=1 electron .",
"start": "concurrently 'npm run react-start' 'wait-on http://localhost:3000/ && npm run electron-start'",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"main": "public/electron.js",
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"concurrently": "^5.0.0",
"electron": "^6.0.11",
"wait-on": "^3.3.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment