Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ npm install
npm start
```

To run it as an ordinary website rather than electron app (might be useful on headless systems):
instead of `npm start`, execute `npm run start-no-electron`.

## Testing

Tests are run with the [Jest](https://jestjs.io/) testing framework.
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@
"clean": "rimraf dist",
"webpack": "webpack --config ./webpack.config.js",
"webpack:watch": "webpack --config ./webpack.config.js --watch",
"webpack-no-electron": "webpack --config ./webpack.react.js",
"prestart": "npm run clean",
"start": "npm run webpack && concurrently --kill-others \"npm run webpack:watch\" \"electron ./dist/main.js\"",
"start-no-electron": "npm run clean && npm run webpack-no-electron && npx http-server ./dist",
"test": "jest"
},
"author": "",
Expand Down