Skip to content

Commit

Permalink
Adding external configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
hjemmel committed Jun 21, 2018
1 parent 61e0d3a commit 7da0143
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"reporter": [
"lcov",
"html",
"text"
],
"include": ["src/*.js"],
"exclude": ["lib/*.js", "test/*.js"],
"all": true ,
"require": [
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"build": "NODE_ENV=prod rollup -c > ./lib/searchjs.js && npm run uglify",
"uglify": "uglifyjs ./lib/searchjs.js --compress --mangle --comments -o ./lib/searchjs.min.js",
"test": "NODE_ENV=test mocha --require babel-register ./test/test.js --reporter spec",
"coverage": "nyc --per-file --reporter=text --reporter=html --reporter=lcov npm test"
"coverage": "nyc npm test"
},
"dependencies": {}
}

0 comments on commit 7da0143

Please sign in to comment.