UNPKG

@inngest/middleware-encryption

Version:
68 lines (67 loc) 2.05 kB
{ "name": "@inngest/middleware-encryption", "version": "2.0.0", "description": "E2E encryption middleware for Inngest.", "main": "./index.js", "types": "./index.d.ts", "publishConfig": { "registry": "https://registry.npmjs.org" }, "scripts": { "test": "vitest run", "build": "pnpm run build:clean && pnpm run build:tsc && pnpm run build:copy", "build:clean": "rm -rf ./dist", "build:tsc": "tsc --project tsconfig.build.json", "build:copy": "cp package.json LICENSE.md README.md CHANGELOG.md dist", "postversion": "pnpm run build", "release": "cross-env DIST_DIR=dist node ../../scripts/release/publish.js", "pack": "pnpm run build && cd dist && pnpm pack --out ../inngest-middleware-encryption.tgz" }, "exports": { ".": { "types": "./index.d.ts", "require": "./index.js", "import": "./index.js" }, "./strategies/aes": { "types": "./strategies/aes.d.ts", "require": "./strategies/aes.js", "import": "./strategies/aes.js" }, "./strategies/libSodium": { "types": "./strategies/libSodium.d.ts", "require": "./strategies/libSodium.js", "import": "./strategies/libSodium.js" } }, "keywords": [ "inngest-middleware", "inngest", "middleware", "encryption" ], "homepage": "https://github.com/inngest/inngest-js/tree/main/packages/middleware-encryption#readme", "repository": { "type": "git", "url": "git+https://github.com/inngest/inngest-js.git", "directory": "packages/middleware-encryption" }, "author": "Inngest Inc. <hello@inngest.com>", "license": "Apache-2.0", "devDependencies": { "@total-typescript/shoehorn": "^0.1.1", "@types/crypto-js": "^4.2.1", "@types/libsodium-wrappers": "^0.7.14", "cross-fetch": "^4.0.0", "inngest": "^4.0.0", "typescript": "~5.5.2", "vitest": "^3.0.0" }, "dependencies": { "crypto-js": "^4.2.0", "libsodium-wrappers": "^0.7.13" }, "peerDependencies": { "inngest": ">=4.0.0-alpha.5 <5.0.0" } }