UNPKG

@starbemtech/star-db-query-builder

Version:

A query builder to be used with mysql or postgres

93 lines 2.6 kB
{ "name": "@starbemtech/star-db-query-builder", "version": "1.3.1", "description": "A query builder to be used with mysql or postgres", "author": "Julio Sousa <julio.sousa@starbem.app>", "main": "./dist/index.js", "types": "./dist/index.d.ts", "license": "MIT", "engines": { "node": ">=18" }, "repository": { "type": "git", "url": "git+https://github.com/starbem/star-db-query-builder.git" }, "bugs": { "url": "https://github.com/starbem/star-db-query-builder/issues" }, "keywords": [ "javascript", "postgres", "mysql", "sql", "database", "query-builder", "starbem", "starbemtech" ], "scripts": { "build": "tsc", "prepare": "husky", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:ci": "jest --ci --coverage --watchAll=false", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "format": "prettier --write src/**/*.ts", "type:check": "tsc --noEmit", "clean": "rm -rf dist coverage", "prebuild": "npm run clean", "version:patch": "npm version patch", "version:minor": "npm version minor", "version:major": "npm version major", "release": "bash scripts/release.sh", "release:patch": "npm version patch && git push origin --tags", "release:minor": "npm version minor && git push origin --tags", "release:major": "npm version major && git push origin --tags", "prepublishOnly": "npm run clean && npm run build && npm run test:ci" }, "dependencies": { "mysql2": "^3.14.5", "pg": "^8.16.3", "promise-retry": "^2.0.1", "uuid": "^11.1.0" }, "devDependencies": { "@eslint/js": "^9.35.0", "@types/jest": "^29.5.14", "@types/mysql": "^2.15.27", "@types/node": "^24.3.1", "@types/pg": "^8.16.0", "@types/promise-retry": "^1.1.6", "@types/uuid": "^10.0.0", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "eslint": "^9.35.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-jest": "^28.14.0", "eslint-plugin-prettier": "^5.5.4", "globals": "^16.3.0", "husky": "^9.1.7", "jest": "^29.7.0", "lint-staged": "^16.1.6", "prettier": "^3.6.2", "ts-jest": "^29.4.1", "ts-node": "^10.9.2", "typescript": "^5.9.2", "typescript-eslint": "^8.43.0" }, "lint-staged": { "*.{ts}": [ "eslint --fix", "prettier --write" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "packageManager": "pnpm@8.6.2" }