Ghost/ghost/release-utils/package.json
Daniel Lockyer 3259994e4f Added --all flag to c8 commands
refs https://github.com/TryGhost/Toolbox/issues/203

- without `--all`, c8 will ignore files that aren't covered in tests, so
  they won't pull the test coverage down
- this means we have artificially high coverage scores
- this commit adds `--all` where previously missing
2022-02-21 12:50:26 +01:00

36 lines
875 B
JSON

{
"name": "@tryghost/release-utils",
"version": "0.7.11",
"repository": "https://github.com/TryGhost/Utils/tree/main/packages/release-utils",
"author": "Ghost Foundation",
"license": "MIT",
"main": "lib/index.js",
"scripts": {
"dev": "echo \"Implement me!\"",
"test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'",
"lint": "eslint . --ext .js --cache",
"posttest": "yarn lint"
},
"files": [
"lib"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"c8": "7.11.0",
"mocha": "9.1.3",
"should": "13.2.3",
"sinon": "11.1.2"
},
"dependencies": {
"@tryghost/errors": "^1.2.1",
"bluebird": "^3.7.2",
"emoji-regex": "^10.0.0",
"execa": "^4.1.0",
"lodash": "^4.17.21",
"request": "^2.88.2",
"request-promise": "^4.2.6"
}
}