mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 00:11:49 +03:00
3259994e4f
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
34 lines
825 B
JSON
34 lines
825 B
JSON
{
|
|
"name": "@tryghost/limit-service",
|
|
"version": "1.0.9",
|
|
"repository": "https://github.com/TryGhost/Utils/tree/main/packages/limit-service",
|
|
"author": "Ghost Foundation",
|
|
"license": "MIT",
|
|
"main": "./lib/limit-service.js",
|
|
"exports": "./lib/limit-service.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": [
|
|
"index.js",
|
|
"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",
|
|
"lodash": "^4.17.21",
|
|
"luxon": "^1.26.0"
|
|
}
|
|
}
|