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": {
|
|
|
|
"dev": "tsc --watch --preserveWatchOutput --sourceMap",
|
|
|
|
"build": "tsc",
|
|
|
|
"prepare": "tsc",
|
2023-05-24 19:45:43 +03:00
|
|
|
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura mocha -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-06-26 12:29:32 +03:00
|
|
|
"c8": "7.13.0",
|
2023-05-16 07:02:58 +03:00
|
|
|
"mocha": "10.2.0",
|
|
|
|
"sinon": "15.0.4",
|
|
|
|
"ts-node": "10.9.1",
|
2023-06-29 03:05:46 +03:00
|
|
|
"typescript": "5.1.6"
|
2023-05-16 07:02:58 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-05-17 09:42:35 +03:00
|
|
|
"@tryghost/errors": "^1.2.25",
|
|
|
|
"@tryghost/in-memory-repository": "0.0.0",
|
2023-06-26 12:29:32 +03:00
|
|
|
"@tryghost/logging": "^2.4.5",
|
2023-06-23 09:56:06 +03:00
|
|
|
"@tryghost/nql": "^0.11.0",
|
2023-05-17 09:42:35 +03:00
|
|
|
"@tryghost/tpl": "^0.1.25",
|
|
|
|
"bson-objectid": "^2.0.4"
|
2023-06-01 07:11:43 +03:00
|
|
|
},
|
|
|
|
"c8": {
|
|
|
|
"exclude": [
|
|
|
|
"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
|
|
|
}
|
|
|
|
}
|