Skip to content
Permalink
Browse files

better commands and readme

  • Loading branch information...
fewf committed Apr 23, 2019
1 parent 2d842e7 commit b3c558862695c8b894802f58d195232b89a579e2
Showing with 6 additions and 6 deletions.
  1. +4 −5 README.md
  2. +2 −1 package.json
@@ -1,23 +1,22 @@
To run:
#### To run:
```
npm install
npm run build
npm start
```

_open browser and load 5 tabs at localhost:5000_

To run Cypress tests:
#### To run Cypress tests:
```
npm install
npm run build
node index.js --test
# in new terminal:
npm run cypress:open
```

_use cypress gui to run tests_

To run unit tests:
#### To run unit tests:
```
npm install
node tests/testGameEngine.js
@@ -7,7 +7,8 @@
"test": "node game/testGameEngine.js",
"test-server": "node index.js --test",
"cypress:open": "cypress open",
"build": "webpack --watch",
"build-watch": "webpack --watch",
"build": "webpack",
"start": "node index.js",
"heroku-postbuild": "webpack -p"
},

0 comments on commit b3c5588

Please sign in to comment.
You can’t perform that action at this time.