Created
October 8, 2019 06:29
-
-
Save Pipe-Runner/f3d79220c0735c784b9d189deff600f9 to your computer and use it in GitHub Desktop.
Update package.json for dev without python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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