Ghost/ghost/members-importer/package.json
Daniel Lockyer 6e4437c7e4 Added c8 test coverage
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-08-20 10:28:07 +02:00

34 lines
790 B
JSON

{
"name": "@tryghost/members-importer",
"version": "0.2.0",
"repository": "https://github.com/TryGhost/Members/tree/main/packages/members-importer",
"author": "Ghost Foundation",
"license": "MIT",
"main": "index.js",
"scripts": {
"dev": "echo \"Implement me!\"",
"test": "NODE_ENV=testing c8 mocha './test/**/*.test.js'",
"lint": "eslint . --ext .js --cache",
"posttest": "yarn lint"
},
"files": [
"index.js",
"lib"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"c8": "7.8.0",
"mocha": "9.0.3",
"should": "13.2.3",
"sinon": "11.1.2"
},
"dependencies": {
"@tryghost/errors": "^0.2.13",
"@tryghost/members-csv": "^1.1.3",
"@tryghost/tpl": "^0.1.3",
"moment-timezone": "0.5.23"
}
}