@decaf-ts/db-decorators
Version:
Agnostic database decorators and repository
117 lines (116 loc) • 3.66 kB
JSON
{
"name": "@decaf-ts/db-decorators",
"version": "0.4.31",
"description": "Agnostic database decorators and repository",
"type": "module",
"exports": {
"require": "./lib/index.cjs",
"import": "./lib/esm/index.js"
},
"types": "lib/index.d.ts",
"scripts": {
"do-install": "TOKEN=$(cat .token) npm install",
"update-dependencies": "rimraf node_modules/@decaf-ts package-lock.json && npm run do-install",
"flash-forward": "npx npm-check-updates -u && npm run do-install",
"reset": "rm -rf * && git checkout . && git pull && npm run do-install",
"build": "rimraf ./lib && rimraf ./dist && gulp dev",
"build:prod": "rimraf ./lib && rimraf ./dist && gulp prod",
"test": "jest --coverage --testPathPattern=\"/tests/unit\" --passWithNoTests --detectOpenHandles",
"test:integration": "jest --coverage --testPathPattern=\"/tests/(integration)\" --passWithNoTests --detectOpenHandles",
"test:all": "jest --coverage --testPathPattern=\"/tests/(unit|integration)\" --passWithNoTests --detectOpenHandles",
"lint": "eslint .",
"lint-fix": "eslint --fix ./src/*",
"test:circular": "dpdm -T --no-warning --no-tree ./src/index.ts",
"prepare-release": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
"release": "./bin/tag-release.sh",
"clean-publish": "npx clean-publish",
"coverage": "npm run test:all && cd workdocs && jest-coverage-badges",
"docs": "npx rimraf ./docs && mkdir docs && npm run do-install -- better-docs taffydb && gulp docs; npm remove better-docs taffydb"
},
"repository": {
"type": "git",
"url": "git+https://github.com/decaf-ts/db-decorators.git"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"files": [
"lib",
"dist"
],
"keywords": [
"CRUD",
"hooks",
"create",
"read",
"update",
"delete",
"database",
"decorator",
"validation",
"model",
"orm",
"custom",
"extensible",
"lightweight",
"decaf-ts",
"javascript",
"typescript",
"ts"
],
"author": "Tiago Venceslau",
"license": "LGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/decaf-ts/db-decorators/issues"
},
"homepage": "https://github.com/decaf-ts/db-decorators#readme",
"devDependencies": {
"@eslint/js": "^9.22.0",
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^8.26.1",
"clean-publish": "^5.1.0",
"dpdm": "^3.14.0",
"eslint": "^9.22.0",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-prettier": "^5.2.3",
"globals": "^16.0.0",
"gulp": "^5.0.0",
"gulp-if": "^3.0.0",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.4",
"gulp-run-command": "^0.0.10",
"gulp-sourcemaps": "^2.6.5",
"gulp-typescript": "^6.0.0-alpha.1",
"gulp-uglify": "^3.0.2",
"jest": "^29.7.0",
"jest-coverage-badges": "^1.0.0",
"jest-junit": "^16.0.0",
"jsdoc": "^4.0.4",
"jsdoc-mermaid": "^1.0.0",
"markdown-include": "^0.4.3",
"merge-stream": "^2.0.0",
"nodemon": "^3.1.9",
"npm-check-updates": "^17.1.15",
"prettier": "^3.5.3",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.6",
"ts-loader": "^9.5.2",
"ts-node": "^10.9.2",
"typescript": "^5.8.2",
"typescript-eslint": "^8.26.1",
"vinyl-named": "^1.1.0",
"webpack-stream": "^7.0.0"
},
"peerDependencies": {
"@decaf-ts/decorator-validation": "latest",
"@decaf-ts/injectable-decorators": "latest",
"@decaf-ts/reflection": "latest",
"reflect-metadata": "^0.2.1"
},
"overrides": {
"gulp-run-command": {
"cross-spawn": "^7.0.6"
}
}
}