UNPKG

r19

Version:

Simple remote procedure calls in TypeScript

97 lines (96 loc) 2.53 kB
{ "name": "r19", "version": "0.1.8", "description": "Simple remote procedure calls in TypeScript", "keywords": [ "typescript", "rpc", "express" ], "repository": { "type": "git", "url": "ssh://git@github.com/prismicio-community/r19.git" }, "license": "Apache-2.0", "author": "Prismic <contact@prismic.io> (https://prismic.io)", "type": "module", "sideEffects": false, "exports": { ".": { "require": "./dist/index.cjs", "import": "./dist/index.js" }, "./client": { "require": "./dist/client/index.cjs", "import": "./dist/client/index.js" }, "./package.json": "./package.json" }, "main": "dist/index.cjs", "module": "dist/index.js", "typesVersions": { "*": { "*": [ "./dist/index.d.ts" ], "client": [ "./dist/client/index.d.ts" ] } }, "files": [ "dist", "src" ], "scripts": { "build": "vite build", "dev": "vite build --watch", "format": "prettier --write .", "prepare": "npm run build", "release": "npm run test && standard-version && git push --follow-tags && npm run build && npm publish", "release:dry": "standard-version --dry-run", "release:alpha": "npm run test && standard-version --release-as patch --prerelease alpha && git push --follow-tags && npm run build && npm publish --tag alpha", "release:alpha:dry": "standard-version --release-as patch --prerelease alpha --dry-run", "lint": "eslint --ext .js,.ts .", "types": "tsc --noEmit", "unit": "vitest run --coverage", "unit:watch": "vitest watch", "size": "size-limit", "test": "npm run lint && npm run types && npm run unit && npm run build && npm run size" }, "dependencies": { "@msgpack/msgpack": "^2.8.0" }, "devDependencies": { "@fastify/middie": "^8.3.0", "@size-limit/preset-small-lib": "^11.0.1", "@types/express": "^4.17.21", "@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/parser": "^6.14.0", "@vitest/coverage-c8": "^0.27.1", "@vitest/coverage-v8": "^1.0.4", "eslint": "^8.55.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-tsdoc": "^0.2.17", "express": "^4.18.2", "fastify": "^4.24.3", "h3": "^1.9.0", "msw": "^2.0.11", "node-fetch": "^3.3.2", "prettier": "^3.1.1", "prettier-plugin-jsdoc": "^1.1.1", "size-limit": "^11.0.1", "standard-version": "^9.5.0", "typescript": "~5.2.0", "vite": "^5.0.7", "vite-plugin-sdk": "^0.1.2", "vitest": "^1.0.4" }, "engines": { "node": ">=14.15.0" }, "publishConfig": { "access": "public" } }