Skip to content

Commit

Permalink
.nycrc
Browse files Browse the repository at this point in the history
  • Loading branch information
purecatamphetamine committed May 24, 2018
1 parent 3b9acdf commit 2f3cdec
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 19 deletions.
19 changes: 19 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"require": [
"babel-register"
],
"reporter": [
"lcov",
"text-summary"
],
"include": [
"source/**/*.js"
],
"exclude": [
"**/*.test.js"
],
"sourceMap": false,
"instrument": false,
"cache": true,
"all": true
}
22 changes: 3 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
"redux": "^3.1.0",
"react-redux": "*"
},
"sideEffects": [
"*.css"
],
"scripts": {
"test": "mocha --bail --require babel-core/register --require ./test/setup.js \"source/**/*.test.js\" \"test/**/*.test.js\"",
"test-coverage": "cross-env NODE_ENV=test nyc mocha --bail --require ./test/setup.js \"source/**/*.test.js\" \"test/**/*.test.js\"",
Expand Down Expand Up @@ -115,25 +118,6 @@
}
}
},
"nyc": {
"require": [
"babel-register"
],
"reporter": [
"lcov",
"text-summary"
],
"include": [
"source/**/*.js"
],
"exclude": [
"**/*.test.js"
],
"sourceMap": false,
"instrument": false,
"cache": true,
"all": true
},
"repository": {
"type": "git",
"url": "git+https://github.com/catamphetamine/react-website.git"
Expand Down

0 comments on commit 2f3cdec

Please sign in to comment.