mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
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
53 lines
1.4 KiB
JSON
53 lines
1.4 KiB
JSON
{
|
|
"name": "@tryghost/members-api",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"author": "Ghost Foundation",
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "echo \"Implement me!\"",
|
|
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot --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"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"MembersAPI.js",
|
|
"lib",
|
|
"gateway"
|
|
],
|
|
"devDependencies": {
|
|
"@tryghost/member-attribution": "0.0.0",
|
|
"@types/node-jose": "1.1.11",
|
|
"c8": "8.0.1",
|
|
"jwk-to-pem": "2.0.5",
|
|
"mocha": "10.2.0",
|
|
"nock": "13.3.3",
|
|
"should": "13.2.3",
|
|
"sinon": "15.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@tryghost/domain-events": "0.0.0",
|
|
"@tryghost/errors": "1.2.24",
|
|
"@tryghost/logging": "2.4.4",
|
|
"@tryghost/magic-link": "0.0.0",
|
|
"@tryghost/member-events": "0.0.0",
|
|
"@tryghost/members-payments": "0.0.0",
|
|
"@tryghost/nql": "0.11.0",
|
|
"@tryghost/tpl": "0.1.24",
|
|
"@tryghost/validator": "0.2.4",
|
|
"@types/jsonwebtoken": "9.0.3",
|
|
"body-parser": "1.20.2",
|
|
"bson-objectid": "2.0.4",
|
|
"express": "4.18.2",
|
|
"got": "11.8.6",
|
|
"jsonwebtoken": "8.5.1",
|
|
"lodash": "4.17.21",
|
|
"moment": "2.29.4",
|
|
"node-jose": "2.2.0"
|
|
}
|
|
}
|