Skip to content

Commit

Permalink
build: use npm run instead of make. (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyguerra authored Apr 29, 2020
1 parent 6b296dc commit 3967136
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ node_js:
- 8
language: node_js
script:
- make lint
- make test
- npm run lint
- npm test
11 changes: 0 additions & 11 deletions Makefile

This file was deleted.

4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
# Running tests

```bash
make test
make lint
npm test
npm run lint
```

## Included Examples
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"supertest": "^3.0.0"
},
"scripts": {
"test": "make test"
"test": "NODE_ENV=test mocha --harmony --reporter spec --require should */test.js",
"lint": "eslint ."
},
"engines": {
"node": ">= 7.6"
Expand Down

0 comments on commit 3967136

Please sign in to comment.