UNPKG

express-msgpack

Version:

Transparent MessagePack middleware for Express

87 lines (86 loc) 2.28 kB
{ "name": "express-msgpack", "version": "5.1.2", "description": "Transparent MessagePack middleware for Express", "main": "dist/esm/index.js", "exports": { "require": "./dist/cjs/index.cjs", "default": "./dist/esm/index.js" }, "types": "dist/esm/index.d.ts", "type": "module", "files": [ "dist/" ], "scripts": { "prebuild": "rimraf dist/*", "build": "npm run build:esm && npm run build:cjs", "build:cjs": "npm run compile -- --module commonjs --outDir dist/cjs", "postbuild:cjs": "mv dist/cjs/index.js dist/cjs/index.cjs", "build:esm": "npm run compile", "compile": "tsc --project ./tsconfig.build.json", "e2e": "./bin/smoke.sh --local", "lint": "eslint . --ext=.js,.ts", "ship": "npm run lint && npm test && npm run e2e", "test": "jest", "test:watch": "npm run test -- --watch" }, "repository": { "type": "git", "url": "git+https://github.com/textbook/express-msgpack.git" }, "keywords": [ "express", "middleware", "messagepack", "msgpack", "json", "typescript" ], "author": "Jonathan Sharpe <mail@jonrshar.pe>", "contributors": [ "Alan Dzday <dzday@web.de>" ], "license": "ISC", "bugs": { "url": "https://github.com/textbook/express-msgpack/issues" }, "homepage": "https://github.com/textbook/express-msgpack#readme", "funding": "https://ko-fi.com/textbook", "optionalDependencies": { "@msgpack/msgpack": "^2.8.0" }, "peerDependencies": { "express": "^4.17.1" }, "devDependencies": { "@codeyourfuture/eslint-config-standard": "^5.1.0", "@types/express": "^4.17.21", "@types/jest": "^29.5.12", "@types/node": "^18.19.33", "@types/supertest": "^6.0.2", "@typescript-eslint/eslint-plugin": "^7.9.0", "@typescript-eslint/parser": "^7.9.0", "eslint": "^8.57.0", "eslint-plugin-jest": "^28.5.0", "express": "^4.19.2", "jest": "^29.7.0", "rimraf": "^5.0.7", "supertest": "^7.0.0", "ts-jest": "^29.1.2", "typescript": "^5.4.5" }, "dependencies": { "raw-body": "^2.5.2" }, "jest": { "modulePathIgnorePatterns": [ "<rootDir>/smoke" ], "preset": "ts-jest", "testEnvironment": "node" }, "engines": { "node": ">=18.12.0" } }