72 lines
1.8 KiB
JSON
72 lines
1.8 KiB
JSON
|
{
|
||
|
"name": "bookshelf-relations",
|
||
|
"version": "2.7.0",
|
||
|
"alias": "bookshelf-relations",
|
||
|
"description": "Auto update relations",
|
||
|
"main": "index.js",
|
||
|
"scripts": {
|
||
|
"lint": "eslint . --ext .js --cache",
|
||
|
"test": "mocha --exit --timeout 10000 --report lcovonly test/integration/*_spec.js test/unit/*_spec.js",
|
||
|
"posttest": "yarn lint",
|
||
|
"perf": "mocha --report lcovonly test/perf/*_spec.js",
|
||
|
"coverage": "nyc --reporter=lcov _mocha --exit test/integration/*_spec.js test/unit/*_spec.js",
|
||
|
"preship": "yarn test",
|
||
|
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn publish && git push --follow-tags; fi"
|
||
|
},
|
||
|
"files": [
|
||
|
"errors.js",
|
||
|
"index.js",
|
||
|
"lib"
|
||
|
],
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/TryGhost/bookshelf-relations.git"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"bookshelf",
|
||
|
"relations",
|
||
|
"relation",
|
||
|
"nested",
|
||
|
"relationship",
|
||
|
"relationships",
|
||
|
"associations",
|
||
|
"association"
|
||
|
],
|
||
|
"author": {
|
||
|
"name": "Ghost Foundation",
|
||
|
"email": "hello@ghost.org",
|
||
|
"web": "https://ghost.org"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": "^18.12.1 || ^20.11.1"
|
||
|
},
|
||
|
"license": "MIT",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/TryGhost/bookshelf-relations/issues"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"bookshelf": "1.2.0",
|
||
|
"deep-diff": "1.0.2",
|
||
|
"eslint": "8.24.0",
|
||
|
"eslint-plugin-ghost": "2.15.1",
|
||
|
"knex": "2.4.0",
|
||
|
"knex-migrator": "5.2.0",
|
||
|
"mocha": "10.0.0",
|
||
|
"mysql2": "3.2.0",
|
||
|
"nconf": "0.12.0",
|
||
|
"nyc": "15.1.0",
|
||
|
"should": "13.2.3",
|
||
|
"sinon": "15.0.0",
|
||
|
"sqlite3": "5.1.4"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@tryghost/debug": "^0.1.13",
|
||
|
"@tryghost/errors": "^1.2.3",
|
||
|
"bluebird": "^3.7.2",
|
||
|
"lodash": "^4.17.21"
|
||
|
},
|
||
|
"peerDependencies": {
|
||
|
"bookshelf": ">=1.1.0"
|
||
|
}
|
||
|
}
|