Skip to content
Snippets Groups Projects
Commit ebf1f92d authored by Jack Reed's avatar Jack Reed
Browse files

add travis config

parent 03b69824
Branches
Tags
No related merge requests found
......@@ -27,3 +27,21 @@ store.dispatch(actions.focusWindow('window-1'))
```javascript
store.getState()
```
## Running the tests
```sh
$ npm test
```
or to continually watch the source files
```sh
$ npm run test:watch
```
## Linting the project
```sh
$ npm run lint
```
......@@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"lint": "node_modules/.bin/eslint ./",
"test": "node_modules/.bin/jest",
"test": "npm run lint && node_modules/.bin/jest",
"test:watch": "npm test -- --watch",
"build:umd": "node_modules/.bin/webpack --output-filename index.umd.js"
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment