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": {
|
2024-09-02 16:09:52 +03:00
|
|
|
"build": "yarn build:ts",
|
|
|
|
"build:ts": "tsc",
|
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": {
|
2024-07-30 17:14:06 +03:00
|
|
|
"@tryghost/errors": "1.3.5",
|
2023-06-23 14:22:01 +03:00
|
|
|
"@tryghost/in-memory-repository": "0.0.0",
|
2024-07-30 17:14:06 +03:00
|
|
|
"@tryghost/tpl": "0.1.32"
|
2023-06-23 14:22:01 +03:00
|
|
|
},
|
|
|
|
"c8": {
|
|
|
|
"exclude": [
|
|
|
|
"src/index.ts",
|
|
|
|
"src/MailEventRepository.ts",
|
|
|
|
"src/InMemoryMailEventRepository.ts",
|
|
|
|
"src/**/*.d.ts",
|
|
|
|
"test/**/*.ts"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|