85098e07d4
refs https://ghost.slack.com/archives/C02G9E68C/p1696490748701419 - this configures mocha to use the dot reporter because the default is way too verbose in CI
38 lines
1.0 KiB
JSON
38 lines
1.0 KiB
JSON
{
|
|
"name": "@tryghost/stats-service",
|
|
"version": "0.0.0",
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/main/ghost/stats-service",
|
|
"private": true,
|
|
"author": "Ghost Foundation",
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "echo \"Implement me!\"",
|
|
"test:unit": "NODE_ENV=testing TZ=UTC c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
|
|
"test": "yarn test:unit",
|
|
"lint:code": "eslint *.js lib/ --ext .js --cache",
|
|
"lint": "yarn lint:code && yarn lint:test",
|
|
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache",
|
|
"posttest": "yarn lint"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"lib"
|
|
],
|
|
"devDependencies": {
|
|
"@types/luxon": "3.3.2",
|
|
"@types/mocha": "10.0.1",
|
|
"@types/sinon": "10.0.16",
|
|
"c8": "8.0.1",
|
|
"knex": "2.4.2",
|
|
"luxon": "3.4.3",
|
|
"mocha": "10.2.0",
|
|
"should": "13.2.3",
|
|
"sinon": "15.2.0",
|
|
"sqlite3": "5.1.6"
|
|
},
|
|
"dependencies": {
|
|
"moment": "2.29.3"
|
|
}
|
|
}
|