UNPKG

express-slonik

Version:
85 lines (84 loc) 2.48 kB
{ "name": "express-slonik", "version": "3.2.0", "description": "Slonik transaction middleware", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": "./dist/index.js" }, "scripts": { "build": "tsc -b src/", "build:clean": "rimraf dist/", "lint": "eslint --ext .ts .", "prepack": "run-s build:clean build", "prepare": "run-p prepare:*", "prepare:husky": "husky install", "prepare:ts-patch": "ts-patch install -s", "pretest": "npm run build", "test": "mocha tests/**/*.spec.ts", "test:ci": "nyc --reporter=lcov mocha tests/**/*.spec.ts --reporter mocha-junit-reporter", "test:coverage": "nyc npm test", "test:coverage:report": "nyc report --reporter=html --reporter=lcov", "semantic-release": "semantic-release" }, "repository": { "type": "git", "url": "https://github.com/AndrewJo/express-slonik.git" }, "keywords": [ "nodejs", "javascript", "typescript", "postgresql", "postgres", "express", "expressjs", "middleware", "slonik", "transaction" ], "author": "Andrew Jo <dev@andrewjo.com>", "license": "BSD-2-Clause", "bugs": { "url": "https://github.com/AndrewJo/express-slonik/issues" }, "homepage": "https://github.com/AndrewJo/express-slonik#readme", "peerDependencies": { "slonik": ">=33.0.0 <38.0.0" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.2", "@semantic-release/changelog": "^6.0.2", "@semantic-release/git": "^10.0.1", "@types/chai": "^4.3.0", "@types/express": "^4.17.13", "@types/mocha": "^9.1.0", "@types/node": "^17.0.23", "@typescript-eslint/eslint-plugin": "^5.17.0", "@typescript-eslint/parser": "^5.17.0", "chai": "^4.3.6", "chai-http": "^4.3.0", "eslint": "^8.12.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-mocha": "^10.0.3", "express": "^4.17.3", "husky": "^7.0.4", "lint-staged": "^12.3.7", "mocha": "^10.1.0", "mocha-junit-reporter": "^2.0.2", "mocha-slonik": "^7.0.0 || ^8.0.0 || ^9.0.0", "npm-run-all": "^4.1.5", "nyc": "^15.1.0", "prettier": "^2.6.1", "rimraf": "^3.0.2", "semantic-release": "^20.1.0", "slonik": "^37.0.1", "slonik-interceptor-query-logging": "^1.4.7", "source-map-support": "^0.5.21", "ts-node": "^10.7.0", "ts-patch": "^2.0.1", "typescript": "^4.6.3", "typescript-transform-paths": "^3.3.1" } }