Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Commit

Permalink
refactor: fix coverage for es2016
Browse files Browse the repository at this point in the history
  • Loading branch information
jonfreedman committed Mar 19, 2017
1 parent f13b2b9 commit c2f1cb5
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -2,6 +2,7 @@ node_modules
.idea
npm-debug.log
cov-int
.nyc_output
coverage
hubot-symphony.iml
certs
Expand Down
12 changes: 0 additions & 12 deletions .istanbul.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .npmignore
@@ -1,5 +1,5 @@
.codeclimate.yml
.istanbul.yml
.flowconfig
.travis.yml
coffeelint.json
it/*
25 changes: 21 additions & 4 deletions package.json
@@ -1,15 +1,15 @@
{
"name": "hubot-symphony",
"description": "Hubot adapter for Symphony",
"main": "src/adapter.coffee",
"main": "src/adapter.js",
"scripts": {
"precommit": "npm test",
"prepush": "npm test",
"commitmsg": "validate-commit-msg",
"diagnostic": "babel-node src/diagnostic.js",
"flow": "flow",
"test": "mocha test/*.js",
"test-cov": "cross-env COFFEECOV_INIT_ALL=false mocha --require coffee-coverage/register-istanbul test/*.js && istanbul report",
"test-cov": "nyc npm test",
"it": "mocha it/*.coffee it/*.js",
"generate-yarn-lockfile": "npm install -g yarn && npm install --production && yarn install",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
Expand Down Expand Up @@ -45,7 +45,6 @@
"babel-preset-es2016": "6.22.0",
"babel-register": "6.24.0",
"chai": "3.5.0",
"coffee-coverage": "2.0.1",
"coffee-script": "1.12.4",
"coveralls": "2.11.15",
"cross-env": "3.1.4",
Expand All @@ -54,9 +53,9 @@
"ghooks": "2.0.0",
"hubot": "2.19.0",
"husky": "0.12.0",
"istanbul": "0.4.5",
"mocha": "3.2.0",
"nock": "9.0.2",
"nyc": "10.1.2",
"semantic-release": "6.3.2",
"uuid": "3.0.1",
"validate-commit-msg": "2.10.1",
Expand All @@ -72,5 +71,23 @@
"validate-commit-msg": {
"helpMessage": "This repo is Commitizen friendly, commit using git cz or see https://github.com/stevemao/conventional-changelog-angular/blob/master/convention.md"
}
},
"nyc": {
"include": [
"src/*.js"
],
"exclude": [
"**/*-compiled.js",
"**/*-compiled.js.map"
],
"require": [
"babel-register"
],
"reporter": [
"lcov",
"text"
],
"sourceMap": true,
"instrument": true
}
}

0 comments on commit c2f1cb5

Please sign in to comment.