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

add travis config

parent 03b69824
No related branches found
No related tags found
No related merge requests found
...@@ -27,3 +27,21 @@ store.dispatch(actions.focusWindow('window-1')) ...@@ -27,3 +27,21 @@ store.dispatch(actions.focusWindow('window-1'))
```javascript ```javascript
store.getState() 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 @@ ...@@ -5,7 +5,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"lint": "node_modules/.bin/eslint ./", "lint": "node_modules/.bin/eslint ./",
"test": "node_modules/.bin/jest", "test": "npm run lint && node_modules/.bin/jest",
"test:watch": "npm test -- --watch", "test:watch": "npm test -- --watch",
"build:umd": "node_modules/.bin/webpack --output-filename index.umd.js" "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 register or to comment