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
36 lines
849 B
JSON
36 lines
849 B
JSON
{
|
|
"name": "@tryghost/minifier",
|
|
"version": "0.1.10",
|
|
"repository": "https://github.com/TryGhost/Utils/tree/main/packages/minifier",
|
|
"author": "Ghost Foundation",
|
|
"license": "MIT",
|
|
"main": "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": [
|
|
"index.js",
|
|
"lib"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"devDependencies": {
|
|
"c8": "7.11.0",
|
|
"mocha": "9.1.2",
|
|
"should": "13.2.3",
|
|
"sinon": "11.1.2"
|
|
},
|
|
"dependencies": {
|
|
"@tryghost/debug": "^0.1.8",
|
|
"@tryghost/errors": "^1.2.1",
|
|
"@tryghost/tpl": "^0.1.7",
|
|
"csso": "4.2.0",
|
|
"terser": "^5.9.0",
|
|
"tiny-glob": "^0.2.9"
|
|
}
|
|
}
|