Ghost/ghost/domain-events/package.json
Daniel Lockyer cc73c4585a 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 13:48:54 +02:00

30 lines
734 B
JSON

{
"name": "@tryghost/domain-events",
"version": "0.1.2",
"repository": "https://github.com/TryGhost/Members/tree/main/packages/domain-events",
"author": "Ghost Foundation",
"license": "MIT",
"main": "index.js",
"types": "types",
"scripts": {
"dev": "echo \"Implement me!\"",
"test": "NODE_ENV=testing c8 --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": {
"@babel/eslint-parser": "7.15.4",
"c8": "7.9.0",
"mocha": "9.1.2",
"should": "13.2.3",
"sinon": "11.1.2"
}
}