12d0c3bf64
This package will be used to contain the logic for determining when a revisions should be generated for a post. It will be used by the Post model during saving and will not handle the storage of revisions
27 lines
778 B
JSON
27 lines
778 B
JSON
{
|
|
"name": "@tryghost/post-revisions",
|
|
"version": "0.0.0",
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/main/packages/post-revisions",
|
|
"author": "Ghost Foundation",
|
|
"private": true,
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "echo \"Implement me!\"",
|
|
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'",
|
|
"test": "yarn test:unit",
|
|
"lint:code": "eslint *.js lib/ --ext .js --cache",
|
|
"lint": "yarn lint:code && yarn lint:test",
|
|
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"lib"
|
|
],
|
|
"devDependencies": {
|
|
"c8": "7.13.0",
|
|
"mocha": "10.2.0",
|
|
"sinon": "15.0.3"
|
|
},
|
|
"dependencies": {}
|
|
}
|