Ghost/ghost/members-ssr/package.json
Daniel Lockyer db696a9272 Added --all to c8 command
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
2022-02-21 13:08:55 +01:00

40 lines
968 B
JSON

{
"name": "@tryghost/members-ssr",
"version": "1.0.21",
"repository": "https://github.com/TryGhost/Members/tree/main/packages/members-ssr",
"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 '**/*.js'",
"posttest": "yarn lint"
},
"files": [
"index.js",
"lib"
],
"devDependencies": {
"@types/cookies": "0.7.7",
"@types/node": "16.11.25",
"c8": "7.11.0",
"keypair": "1.0.4",
"mocha": "9.2.1",
"should": "13.2.3",
"sinon": "13.0.1"
},
"dependencies": {
"@tryghost/debug": "^0.1.2",
"@tryghost/errors": "^1.1.0",
"bluebird": "^3.5.3",
"concat-stream": "^2.0.0",
"cookies": "^0.8.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.11"
},
"publishConfig": {
"access": "public"
}
}