73f21a5065
refs https://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
34 lines
860 B
JSON
34 lines
860 B
JSON
{
|
|
"name": "@tryghost/custom-theme-settings-service",
|
|
"version": "0.3.0",
|
|
"repository": "https://github.com/TryGhost/Publishing/tree/main/packages/custom-theme-settings-service",
|
|
"author": "Ghost Foundation",
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"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": {
|
|
"c8": "7.9.0",
|
|
"mocha": "9.1.3",
|
|
"should": "13.2.3",
|
|
"sinon": "11.1.2"
|
|
},
|
|
"dependencies": {
|
|
"@tryghost/debug": "^0.1.5",
|
|
"@tryghost/errors": "^0.2.14",
|
|
"@tryghost/tpl": "^0.1.4",
|
|
"lodash": "^4.17.21"
|
|
}
|
|
}
|