UNPKG

bookshelf-virtuals-plugin

Version:

A plugin for Bookshelf that allows getting or setting virtual properties on model instances.

80 lines (79 loc) 1.69 kB
{ "name": "bookshelf-virtuals-plugin", "version": "1.0.0", "description": "A plugin for Bookshelf that allows getting or setting virtual properties on model instances.", "main": "index.js", "scripts": { "lint:fix": "prettier --write 'index.js' 'test/**/*.js'", "lint": "eslint index.js test/", "pretest": "npm run lint", "test": "nyc mocha --check-leaks -t 10000" }, "homepage": "https://github.com/bookshelf/virtuals-plugin", "repository": { "type": "git", "url": "https://github.com/bookshelf/virtuals-plugin.git" }, "keywords": [ "orm", "plugin", "bookshelf" ], "dependencies": { "lodash": "^4.17.15" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{js,json}": [ "prettier --write", "git add" ] }, "nyc": { "exclude": [ "test/*" ], "reporter": [ "html", "text-summary" ] }, "devDependencies": { "bookshelf": "^1.2.0", "eslint": "^7.3.0", "eslint-config-prettier": "^6.10.1", "eslint-plugin-prettier": "^3.1.1", "husky": "^4.2.1", "knex": "^0.21.0", "lint-staged": "^10.0.3", "mocha": "^8.0.1", "nyc": "^15.1.0", "prettier": "^2.0.5", "sqlite3": "^4.2.0" }, "author": { "name": "Johannes Lumpe" }, "contributors": [ { "name": "Tim Griesser", "url": "https://github.com/tgriesser" }, { "name": "Rhys van der Waerden", "url": "https://github.com/rhys-vdw" }, { "name": "Ricardo Graça", "url": "https://github.com/ricardograca" } ], "license": "MIT", "engines": { "node": ">=10" } }