Skip to content

Commit

Permalink
chore(tests): test against both [email protected] and upcoming `cereb…
Browse files Browse the repository at this point in the history
  • Loading branch information
Guria committed Apr 18, 2016
1 parent bb88df5 commit 5a4bc21
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
coverage
.nyc_output
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"main": "index.js",
"scripts": {
"pretest": "standard",
"test": "nodeunit tests",
"coverage": "istanbul cover nodeunit tests",
"test": "nodeunit tests && npm i [email protected] && nodeunit tests",
"posttest": "npm i",
"coverage": "nyc --reporter=lcov --reporter=text npm run test",
"postcoverage": "cat ./coverage/lcov.info | coveralls",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
Expand Down Expand Up @@ -56,13 +57,18 @@
"coveralls": "^2.11.9",
"cz-customizable": "^3.1.0",
"ghooks": "^1.2.0",
"istanbul": "^0.4.3",
"nodeunit": "^0.9.1",
"nyc": "^6.4.0",
"semantic-release": "^4.3.5",
"standard": "^6.0.8",
"validate-commit-msg": "^2.5.0"
},
"peerDependencies": {
"cerebral": "^0.33.31 || ^0.34.0-0"
},
"nyc": {
"exclude": [
"tests/*"
]
}
}

0 comments on commit 5a4bc21

Please sign in to comment.