UNPKG

@leapfrogtechnology/db-model

Version:

Low-footprint database abstraction layer and model built on top of Knex.

95 lines (94 loc) 2.7 kB
{ "name": "@leapfrogtechnology/db-model", "version": "1.0.0-beta.3", "description": "Low-footprint database abstraction layer and model built on top of Knex.", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "repository": { "type": "git", "url": "https://github.com/leapfrogtechnology/js-util/db-model" }, "bugs": { "url": "https://github.com/leapfrogtechnology/js-util/issues" }, "scripts": { "tsc": "tsc", "codecov": "codecov", "clean": "rimraf dist", "tsc:watch": "tsc --watch", "test": "mocha --recursive test/**/*.test.ts", "build": "NODE_ENV=production yarn clean && yarn tsc", "test:coverage": "NODE_ENV=test nyc mocha --recursive test/**/*.test.ts", "test:watch": "NODE_ENV=test mocha --watch --recursive test/**/*.test.ts", "lint:fix": "tslint --fix -c tslint.json '{src,test}/**/*.{ts,js}'", "lint:check": "tslint -c tslint.json '{src,test}/**/*.{ts,js}'", "prettier:check": "prettier --check '{src,test}/**/*.{ts,js,md,json}'", "prettify": "prettier --single-quote --print-width 120 --write '{src,test}/**/*.{ts,js,md,json}'", "prepublishOnly": "yarn build", "changelog": "./release.sh changelog", "release": "./release.sh bump" }, "husky": { "hooks": { "pre-commit": "lint-staged", "pre-push": "tsc --noEmit" } }, "lint-staged": { "*.{ts,js}": [ "tslint --fix -c tslint.json" ], "*.{ts,js,md,json}": [ "prettier --single-quote --print-width 120 --write" ] }, "keywords": [ "typescript", "javascript", "db", "model", "database", "knex", "dbal", "db-model", "leapfrogtechnology" ], "authors": "Kabir Baidhya <kabirbaidhya@gmail.com>", "dependencies": { "camelcase-keys": "^6.2.2", "debug": "4.1.1", "ramda": "^0.27.0", "snakecase-keys": "^3.2.0" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.1", "@types/chai": "^4.2.11", "@types/chai-as-promised": "^7.1.2", "@types/debug": "^4.1.5", "@types/mocha": "^7.0.2", "@types/node": "^13.11.1", "@types/ramda": "^0.27.3", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "husky": "^4.2.5", "knex": "0.20.14", "lint-staged": "^10.1.3", "mocha": "^7.1.1", "nyc": "^15.0.1", "prettier": "^2.0.4", "source-map-support": "^0.5.16", "ts-node": "^8.8.2", "tslint": "^6.1.1", "tslint-config-leapfrog": "^1.0.3", "tslint-config-prettier": "^1.18.0", "tslint-no-unused-expression-chai": "^0.1.4", "typescript": "^3.8.3" }, "peerDependencies": { "knex": ">= 0.20.14" } }