Ghost/ghost/members-api/package.json
Daniel Lockyer 54aa9f016b Fixed full Admin test suite running during unit tests
- because of how the npm scripts were set up, we were running the full
  Admin integration tests during the unit tests phase of CI
- this commit renames the majority of `test` to `test:unit` in the
  package.json files, and aliases `test` to `test:unit`
- special packages like Admin have no-op'd `test:unit` scripts so we
  don't end up running its tests
2022-08-15 15:34:52 +02:00

54 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 './test/**/*.test.js'",
"test": "yarn test:unit",
"lint": "eslint . --ext .js --cache"
},
"files": [
"index.js",
"MembersAPI.js",
"lib",
"gateway"
],
"devDependencies": {
"@types/node-jose": "1.1.10",
"c8": "7.12.0",
"jwk-to-pem": "2.0.5",
"mocha": "10.0.0",
"nock": "13.2.9",
"should": "13.2.3",
"sinon": "14.0.0"
},
"dependencies": {
"@tryghost/debug": "0.1.18",
"@tryghost/domain-events": "0.0.0",
"@tryghost/errors": "1.2.15",
"@tryghost/logging": "2.2.4",
"@tryghost/magic-link": "0.0.0",
"@tryghost/member-analytics-service": "0.0.0",
"@tryghost/member-events": "0.0.0",
"@tryghost/members-analytics-ingress": "0.0.0",
"@tryghost/members-payments": "0.0.0",
"@tryghost/members-stripe-service": "0.0.0",
"@tryghost/nql": "0.9.2",
"@tryghost/tpl": "0.1.18",
"@types/jsonwebtoken": "8.5.8",
"bluebird": "3.7.2",
"body-parser": "1.20.0",
"bson-objectid": "2.0.3",
"cookies": "0.8.0",
"express": "4.18.1",
"got": "9.6.0",
"jsonwebtoken": "8.5.1",
"lodash": "4.17.21",
"node-jose": "2.1.1"
}
}