Skip to content

Commit

Permalink
update nyc config to point to test files
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesso committed Nov 11, 2018
1 parent 6f51546 commit 94dce8b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"start:prod": "babel-node server/app.prod.js",
"start": "concurrently \"npm run start:client\" \"npm run start:server\"",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"coverage": "NODE_ENV=test nyc report --reporter=text-lcov | coveralls"
"coverage": "nyc report --reporter=text-lcov | coveralls",
"report": "nyc report"
},
"keywords": [],
"author": "",
Expand Down Expand Up @@ -59,7 +60,7 @@
"html"
],
"include": [
"src/**/*.js"
"server/**/*.spec.js*"
],
"require": [
"@babel/register"
Expand Down

0 comments on commit 94dce8b

Please sign in to comment.