Ghost/ghost/errors/package.json
Daniel Lockyer 81f566b44a Added codecov.io coverage uploader to CI
refs linear.app/tryghost/issue/CORE-74/improve-the-test-situation

- this commit adds the codecov GitHub Action into CI so we can upload
  coverage reports
- the coverage files need to be in XML for them to work with
  codecov, so this commit also adds cobertura (XML) as a reporter
2021-10-20 11:56:20 +02:00

32 lines
738 B
JSON

{
"name": "@tryghost/errors",
"version": "0.2.16",
"repository": "https://github.com/TryGhost/Utils/tree/main/packages/errors",
"author": "Ghost Foundation",
"license": "MIT",
"main": "index.js",
"scripts": {
"dev": "echo \"Implement me!\"",
"test": "NODE_ENV=testing c8 --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.10.0",
"mocha": "9.1.3",
"should": "13.2.3",
"sinon": "11.1.2"
},
"dependencies": {
"@tryghost/ignition-errors": "^0.1.0",
"lodash": "^4.17.21"
}
}