Skip to content

Commit

Permalink
updated package.json
Browse files Browse the repository at this point in the history
- added new keywords
- added different stages for mongoose v4 & v5
- run test for latest version on mongoose
  • Loading branch information
faboulaws committed Aug 12, 2019
1 parent e630d63 commit 820a784
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@ jobs:
node_js: lts/*
script: npm run lint

- stage: test
- stage: test_v4
node_js: lts/*
script: npm run test:v4

- stage: test_v5
node_js: lts/*
script: npm run test:v5

- stage: test_latest
node_js: lts/*
script: npm run test

Expand Down
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "test"
},
"scripts": {
"test": "npm run test:v5 && npm run test:v4 ",
"test": "npm r mongoose && npm i mongoose && npm run test:any",
"test:any": "npx mocha test/* && npm r mongoose",
"test:v3": "npm r mongoose && npm i mongoose@3.x && npm run test:any",
"test:v4": "npm r mongoose && npm i mongoose@4.x && npm run test:any",
Expand All @@ -27,8 +27,12 @@
"cover": "npm run coverage && npm run coveralls && rm -rf ./coverage"
},
"keywords": [
"dummy",
"mocker"
"mongoose",
"mongoose dummy",
"mongoose data mocker",
"mongoose fixture factory ",
"mongoose data generator",
"mongoose data faker"
],
"author": "Lod Lawson-Betum <faboulaws@gmail.com>",
"license": "MIT",
Expand Down

0 comments on commit 820a784

Please sign in to comment.