@willsoto/nestjs-objection
Version:
Objection module for NestJS
176 lines (175 loc) • 4.28 kB
JSON
{
"name": "@willsoto/nestjs-objection",
"version": "9.0.0",
"description": "Objection module for NestJS",
"keywords": [
"database",
"knex",
"nestjs",
"objection"
],
"repository": {
"type": "git",
"url": "https://github.com/willsoto/nestjs-objection.git"
},
"license": "Apache-2.0",
"author": "Will Soto <willsoto@users.noreply.github.com> (https://github.com/willsoto)",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"prebuild": "npm run clean",
"build": "tsc --project tsconfig.build.json",
"clean": "rimraf dist coverage .nyc_output",
"format": "prettier . --write",
"lint": "eslint . --fix",
"prepare": "husky",
"prerelease": "npm run build",
"release": "semantic-release",
"test": "mocha",
"pretest:coverage": "rimraf coverage .nyc_output",
"test:coverage": "nyc mocha",
"test:watch": "mocha --watch",
"typecheck": "tsc --project tsconfig.lint.json --noEmit"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.ts": [
"npm run lint",
"prettier --write"
],
"*.{md,yaml,yml}": [
"prettier --write"
],
"README.md": [
"markdown-toc -i",
"prettier --write"
]
},
"release": {
"branches": [
"main",
{
"name": "next",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/github",
{
"successComment": false,
"failTitle": false
}
],
"@semantic-release/npm",
"@semantic-release/changelog",
"@semantic-release/git"
]
},
"mocha": {
"extension": [
"ts"
],
"file": "./ad-hocs/mocha/plugins.ts",
"recursive": true,
"require": [
"ts-node/register",
"source-map-support/register",
"./ad-hocs/mocha/hooks.ts"
],
"sort": true,
"watch-files": [
"src/**/*.ts",
"test/**/*.ts"
]
},
"nyc": {
"all": true,
"branches": 90,
"check-coverage": true,
"extends": "@istanbuljs/nyc-config-typescript",
"functions": 90,
"include": [
"src/**/*.ts"
],
"lines": 90,
"reporter": [
"text-summary",
"html"
],
"statements": 90
},
"devDependencies": {
"@commitlint/cli": "19.8.0",
"@commitlint/config-conventional": "19.8.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.14.0",
"@istanbuljs/nyc-config-typescript": "1.0.2",
"@nestjs/common": "11.0.13",
"@nestjs/core": "11.0.13",
"@nestjs/testing": "11.0.13",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@types/chai": "5.2.1",
"@types/chai-as-promised": "7.1.8",
"@types/mocha": "10.0.10",
"@types/node": "22.14.0",
"@types/sinon": "17.0.4",
"@types/sinon-chai": "3.2.12",
"@typescript-eslint/eslint-plugin": "8.29.0",
"@typescript-eslint/parser": "8.29.0",
"chai": "4.4.1",
"chai-as-promised": "7.1.2",
"eslint": "9.24.0",
"eslint-config-prettier": "10.1.1",
"eslint-plugin-mocha": "10.5.0",
"globals": "^16.0.0",
"husky": "9.1.7",
"knex": "3.1.0",
"lint-staged": "15.5.0",
"markdown-toc": "1.2.0",
"mocha": "11.1.0",
"nyc": "17.1.0",
"objection": "3.1.5",
"prettier": "3.5.3",
"prettier-plugin-organize-imports": "4.1.0",
"prettier-plugin-packagejson": "2.5.10",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.2",
"semantic-release": "24.2.3",
"sinon": "20.0.0",
"sinon-chai": "3.7.0",
"source-map-support": "0.5.21",
"sqlite3": "5.1.7",
"ts-node": "10.9.2",
"typescript": "5.8.3"
},
"peerDependencies": {
"@nestjs/common": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0",
"@nestjs/core": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0",
"knex": "^2.0.0 || ^3.0.0",
"objection": "^3.0.0"
},
"packageManager": "pnpm@10.7.1",
"volta": {
"node": "22.14.0",
"pnpm": "10.7.1"
},
"pnpm": {
"onlyBuiltDependencies": [
"@nestjs/core",
"sqlite3"
]
}
}