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": {
|
2024-09-02 16:09:52 +03:00
|
|
|
"build": "yarn build:ts",
|
|
|
|
"build:ts": "tsc",
|
2023-05-03 20:58:03 +03:00
|
|
|
"test:types": "tsc --noEmit",
|
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-03 20:58:03 +03:00
|
|
|
"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": {
|
2023-09-01 16:32:29 +03:00
|
|
|
"c8": "8.0.1",
|
2023-04-17 13:12:55 +03:00
|
|
|
"mocha": "10.2.0",
|
2023-07-24 15:30:47 +03:00
|
|
|
"sinon": "15.2.0"
|
2023-04-17 13:12:55 +03:00
|
|
|
},
|
|
|
|
"dependencies": {}
|
|
|
|
}
|