Ghost/ghost/stats-service/package.json
Fabien 'egg' O'Carroll 2575e10ec4 Added subscription stats service (#2)
refs https://github.com/TryGhost/Team/issues/1505
refs https://github.com/TryGhost/Team/issues/1466

This gives us historic data for subscriptions broken down by tier and cadence

* Cleaned up tests
Fixed up usage of knex, making sure to destroy the connection after tests

* Removed Node 12 from testing matrix
Get outta my pub!
2022-04-21 15:42:02 +01:00

41 lines
1.1 KiB
JSON

{
"name": "@tryghost/stats-service",
"version": "0.1.0",
"repository": "https://github.com/TryGhost/Analytics/tree/main/packages/stats",
"author": "Ghost Foundation",
"license": "MIT",
"main": "index.js",
"scripts": {
"dev": "echo \"Implement me!\"",
"test": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'",
"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"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/luxon": "^2.3.1",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.25",
"@types/sinon": "^10.0.11",
"@vscode/sqlite3": "^5.0.8",
"c8": "7.11.2",
"knex": "^1.0.7",
"luxon": "^2.3.2",
"mocha": "9.2.2",
"should": "13.2.3",
"sinon": "13.0.2",
"typescript": "^4.6.3"
},
"dependencies": {
"moment": "^2.29.3"
}
}