Skip to content

Commit

Permalink
Update nyc settings to include all sources
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrambaud committed Mar 21, 2018
1 parent 9439bab commit 27b8f1f
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
{
"name": "serverless-functions-base-path",
"version": "1.0.8",
"description": "Easily define a base path where your serverless functions are located",
"description":
"Easily define a base path where your serverless functions are located",
"main": "index.js",
"directories": {
"example": "example",
"lib": "lib"
},
"files": [
"index.js",
"lib/**/*.js",
"!lib/**/*.test.js"
],
"files": ["index.js", "lib/**/*.js", "!lib/**/*.test.js"],
"scripts": {
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"format": "prettier-eslint --write \"lib/**/*.js\"",
"lint": "eslint --fix \"lib/**/*.js\"",
"precommit": "npm run format && npm run lint && npm test",
"test": "nyc mocha lib/**/*.test.js"
"test": "nyc --all mocha lib/**/*.test.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kevinrambaud/serverless-functions-base-path.git"
"url":
"git+https://github.com/kevinrambaud/serverless-functions-base-path.git"
},
"keywords": [
"serverless",
Expand All @@ -32,12 +30,15 @@
"base",
"path"
],
"author": "Kevin Rambaud <kevin.rambaud@gmail.com> (https://twitter.com/kevinrambaud)",
"author":
"Kevin Rambaud <kevin.rambaud@gmail.com> (https://twitter.com/kevinrambaud)",
"license": "MIT",
"bugs": {
"url": "https://github.com/kevinrambaud/serverless-functions-base-path/issues"
"url":
"https://github.com/kevinrambaud/serverless-functions-base-path/issues"
},
"homepage": "https://github.com/kevinrambaud/serverless-functions-base-path#readme",
"homepage":
"https://github.com/kevinrambaud/serverless-functions-base-path#readme",
"devDependencies": {
"chai": "^4.1.2",
"codecov": "^3.0.0",
Expand All @@ -50,5 +51,8 @@
"mocha": "^5.0.0",
"nyc": "^11.5.0",
"prettier-eslint-cli": "^4.7.0"
},
"nyc": {
"include": ["lib/**/*.js"]
}
}

0 comments on commit 27b8f1f

Please sign in to comment.