Add GUI dev environment (#114)

Setup dev tools to build GUI using ReasonML + Electron

Use react-scripts instead of custom build config

Add electron command

Rename command
This commit is contained in:
Gael du Plessix
2017-10-17 21:39:30 +02:00
committed by Brendan Le Glaunec
parent 89647ae457
commit 71046216ce
13 changed files with 7515 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
{
"name": "gui",
"version": "0.1.0",
"private": true,
"main": "electron_app/index.js",
"homepage": ".",
"dependencies": {
"react": "^16.0.0",
"react-dom": "^16.0.0",
"reason-scripts": "0.6.11"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"electron": "electron ."
},
"devDependencies": {
"bs-jest": "^0.2.0",
"electron": "^1.7.9",
"electron-packager": "^9.1.0",
"reason-react": "^0.2.4"
}
}