Ghost/ghost/adapter-manager/package.json
Daniel Lockyer f918398779 Added c8 test coverage to all packages
refs https://github.com/TryGhost/Team/issues/870

- using `c8` allows us to see test coverage for all packages in the repo
- this commit adds `c8` as a dev dependency and prepends the `mocha`
  command with `c8` so it runs on all tests
2021-07-14 11:26:06 +01:00

37 lines
872 B
JSON

{
"name": "@tryghost/adapter-manager",
"version": "0.2.14",
"repository": "https://github.com/TryGhost/Utils/tree/master/packages/adapter-manager",
"author": "Ghost Foundation",
"license": "MIT",
"main": "index.js",
"types": "types/index.d.ts",
"scripts": {
"dev": "echo \"Implement me!\"",
"test": "NODE_ENV=testing c8 mocha './test/**/*.test.js'",
"lint": "eslint . --ext .js --cache",
"posttest": "yarn lint",
"pretest": "yarn types",
"types": "rm -r types && yarn tsc"
},
"files": [
"index.js",
"lib"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/mocha": "8.2.3",
"@types/sinon": "10.0.2",
"c8": "7.7.3",
"mocha": "9.0.0",
"should": "13.2.3",
"sinon": "11.0.0",
"typescript": "4.3.5"
},
"dependencies": {
"@tryghost/errors": "^0.2.13"
}
}