2023-06-23 14:22:01 +03:00
|
|
|
{
|
|
|
|
"name": "@tryghost/mail-events",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/main/packages/mail-events",
|
|
|
|
"author": "Ghost Foundation",
|
|
|
|
"private": true,
|
|
|
|
"main": "build/index.js",
|
|
|
|
"types": "build/index.d.ts",
|
|
|
|
"scripts": {
|
|
|
|
"build": "tsc",
|
2023-07-12 14:42:39 +03:00
|
|
|
"build:ts": "yarn build",
|
2023-10-05 13:09:39 +03:00
|
|
|
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot -r ts-node/register './test/**/*.test.ts'",
|
2023-06-23 14:22:01 +03:00
|
|
|
"test": "yarn test:types && yarn test:unit",
|
|
|
|
"test:types": "tsc --noEmit",
|
|
|
|
"lint:code": "eslint src/ --ext .ts --cache",
|
|
|
|
"lint": "yarn lint:code && yarn lint:test",
|
|
|
|
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .ts --cache"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"build"
|
|
|
|
],
|
|
|
|
"devDependencies": {
|
2023-09-01 16:32:29 +03:00
|
|
|
"c8": "8.0.1",
|
2023-06-23 14:22:01 +03:00
|
|
|
"mocha": "10.2.0",
|
2023-07-24 15:30:47 +03:00
|
|
|
"sinon": "15.2.0"
|
2023-06-23 14:22:01 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-10-12 10:50:42 +03:00
|
|
|
"@tryghost/errors": "1.2.26",
|
2023-06-23 14:22:01 +03:00
|
|
|
"@tryghost/in-memory-repository": "0.0.0",
|
2023-10-31 22:43:13 +03:00
|
|
|
"@tryghost/tpl": "0.1.26"
|
2023-06-23 14:22:01 +03:00
|
|
|
},
|
|
|
|
"c8": {
|
|
|
|
"exclude": [
|
|
|
|
"src/index.ts",
|
|
|
|
"src/MailEventRepository.ts",
|
|
|
|
"src/InMemoryMailEventRepository.ts",
|
|
|
|
"src/**/*.d.ts",
|
|
|
|
"test/**/*.ts"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|