mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
f4e24a76e2
refs https://github.com/TryGhost/Toolbox/issues/203 - without `--all`, c8 ignores files that should be included in the coverage score but aren't used in tests - this means we have artificially high scores in places where this isn't used - this commit adds `--all` where previously missing - where this fails `--check-coverage`, that has been removed for now
35 lines
894 B
JSON
35 lines
894 B
JSON
{
|
|
"name": "@tryghost/custom-theme-settings-service",
|
|
"version": "0.3.1",
|
|
"repository": "https://github.com/TryGhost/Publishing/tree/main/packages/custom-theme-settings-service",
|
|
"author": "Ghost Foundation",
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "echo \"Implement me!\"",
|
|
"test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage mocha './test/**/*.test.js'",
|
|
"lint": "eslint . --ext .js --cache",
|
|
"posttest": "yarn lint"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"lib"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"devDependencies": {
|
|
"@nexes/nql": "0.6.0",
|
|
"c8": "7.11.0",
|
|
"mocha": "9.2.1",
|
|
"should": "13.2.3",
|
|
"sinon": "13.0.1"
|
|
},
|
|
"dependencies": {
|
|
"@tryghost/debug": "^0.1.5",
|
|
"@tryghost/errors": "^0.2.14",
|
|
"@tryghost/tpl": "^0.1.4",
|
|
"lodash": "^4.17.21"
|
|
}
|
|
}
|