2023-05-16 07:02:58 +03:00
|
|
|
{
|
|
|
|
"name": "@tryghost/collections",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/main/packages/collections",
|
|
|
|
"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-05-16 07:02:58 +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-06-26 07:01:43 +03:00
|
|
|
"@tryghost/domain-events": "0.0.0",
|
2023-09-01 16:32:29 +03:00
|
|
|
"c8": "8.0.1",
|
2023-05-16 07:02:58 +03:00
|
|
|
"mocha": "10.2.0",
|
2023-07-24 15:30:47 +03:00
|
|
|
"sinon": "15.2.0"
|
2023-05-16 07:02:58 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-05-27 16:18:12 +03:00
|
|
|
"@tryghost/debug": "0.1.30",
|
2024-05-01 17:51:33 +03:00
|
|
|
"@tryghost/errors": "1.3.2",
|
2023-05-17 09:42:35 +03:00
|
|
|
"@tryghost/in-memory-repository": "0.0.0",
|
2024-05-27 16:18:12 +03:00
|
|
|
"@tryghost/logging": "2.4.15",
|
2024-05-13 18:35:27 +03:00
|
|
|
"@tryghost/nql": "0.12.3",
|
2023-07-24 16:49:43 +03:00
|
|
|
"@tryghost/nql-filter-expansions": "0.0.0",
|
2023-07-25 16:15:19 +03:00
|
|
|
"@tryghost/post-events": "0.0.0",
|
2024-05-27 16:18:12 +03:00
|
|
|
"@tryghost/tpl": "0.1.30",
|
2023-09-07 11:40:27 +03:00
|
|
|
"bson-objectid": "2.0.4",
|
|
|
|
"lodash": "4.17.21"
|
2023-06-01 07:11:43 +03:00
|
|
|
},
|
|
|
|
"c8": {
|
|
|
|
"exclude": [
|
2023-07-18 14:50:18 +03:00
|
|
|
"src/CollectionPost.ts",
|
2023-06-01 07:11:43 +03:00
|
|
|
"src/CollectionRepository.ts",
|
2023-06-29 00:33:32 +03:00
|
|
|
"src/UniqueChecker.ts",
|
2023-06-01 07:11:43 +03:00
|
|
|
"src/**/*.d.ts",
|
|
|
|
"test/**/*.ts"
|
|
|
|
]
|
2023-05-16 07:02:58 +03:00
|
|
|
}
|
|
|
|
}
|