2023-04-17 13:12:55 +03:00
|
|
|
{
|
|
|
|
"name": "@tryghost/post-revisions",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/main/packages/post-revisions",
|
|
|
|
"author": "Ghost Foundation",
|
|
|
|
"private": true,
|
2023-05-03 20:58:03 +03:00
|
|
|
"main": "build/index.js",
|
|
|
|
"types": "build/index.d.ts",
|
2023-04-17 13:12:55 +03:00
|
|
|
"scripts": {
|
2023-05-03 20:58:03 +03:00
|
|
|
"dev": "tsc --watch --preserveWatchOutput --sourceMap",
|
|
|
|
"build": "tsc",
|
|
|
|
"prepare": "tsc",
|
|
|
|
"test:types": "tsc --noEmit",
|
|
|
|
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'",
|
|
|
|
"test": "yarn test:unit && yarn test:types",
|
|
|
|
"lint:code": "eslint src/ --ext .ts --cache",
|
2023-04-17 13:12:55 +03:00
|
|
|
"lint": "yarn lint:code && yarn lint:test",
|
2023-05-03 20:58:03 +03:00
|
|
|
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .ts --cache"
|
2023-04-17 13:12:55 +03:00
|
|
|
},
|
|
|
|
"files": [
|
2023-05-03 20:58:03 +03:00
|
|
|
"build"
|
2023-04-17 13:12:55 +03:00
|
|
|
],
|
|
|
|
"devDependencies": {
|
|
|
|
"c8": "7.13.0",
|
|
|
|
"mocha": "10.2.0",
|
2023-05-03 20:58:03 +03:00
|
|
|
"sinon": "15.0.3",
|
|
|
|
"ts-node": "10.9.1",
|
2023-06-01 21:47:18 +03:00
|
|
|
"typescript": "5.1.3"
|
2023-04-17 13:12:55 +03:00
|
|
|
},
|
|
|
|
"dependencies": {}
|
|
|
|
}
|