Skip to content

Commit 5efd1c7

Browse files
committed
Add electron to package.json as dev dependency, and add a start script.
1 parent cbe0a69 commit 5efd1c7

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
# BOOLR
22
A digital logic simulator
33
Download BOOLR: http://boolr.me
4+
5+
#### Running in development
6+
7+
Either npm or yarn can be used to fetch Electron as dependency and run scripts.
8+
9+
```bash
10+
# Fetch dependencies
11+
npm install
12+
13+
# Run in development
14+
npm start
15+
```

package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@
22
"name": "BOOLR",
33
"description": "A digital logic simulator",
44
"version": "0.1.301",
5+
"scripts": {
6+
"start": "electron ."
7+
},
58
"author": {
69
"name": "Gees Brouwer",
710
"email": "[email protected]",
811
"url": "http://ggbrw.nl"
912
},
10-
"main": "app/main.js"
13+
"main": "app/main.js",
14+
"dependencies": {
15+
"electron": "^1.7.9"
16+
}
1117
}

0 commit comments

Comments
 (0)