Ghost/ghost/members-api/package.json
Daniel Lockyer 7a2f766668
Added logging configuration option for timestamps to use the local timezone
fixes https://github.com/TryGhost/Ghost/issues/15190
refs https://github.com/TryGhost/framework/pull/76

- log output always uses UTC timestamps, but it may be desirable to
  configure logs to use the local machine timezone
- a new config option has been added to `@tryghost/logging` so you can
  switch the logs to the local timezone
- this commit bumps the package and sets the default config option to
  `false`, so it doesn't suddenly change the timezone of the logs
- docs will be updated soon but if you'd like to use the
  timezone-altered timestamps, you can set `logging.useLocalTime` to
  `true`
- credits to https://github.com/levee223 for the implementation and PR
2022-08-31 10:29:55 +01:00

52 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": {
"@tryghost/member-attribution": "0.0.0",
"@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/domain-events": "0.0.0",
"@tryghost/errors": "1.2.15",
"@tryghost/logging": "2.3.0",
"@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/nql": "0.9.2",
"@tryghost/tpl": "0.1.18",
"@types/jsonwebtoken": "8.5.9",
"body-parser": "1.20.0",
"bson-objectid": "2.0.3",
"express": "4.18.1",
"got": "9.6.0",
"jsonwebtoken": "8.5.1",
"lodash": "4.17.21",
"moment": "2.29.4",
"node-jose": "2.1.1"
}
}