{ "name": "@glidemq/speedkey", "description": "Valkey/Redis client with direct NAPI bindings based on valkey-glide core", "main": "build-ts/index.js", "module": "build-ts/index.js", "types": "build-ts/index.d.ts", "version": "0.4.2", "exports": { ".": { "import": { "types": "./build-ts/index.d.ts", "default": "./build-ts/index.js" }, "require": { "types": "./build-ts/index.d.ts", "default": "./build-ts/index.js" } } }, "files": [ "build-ts/**", "README.md", "LICENSE" ], "type": "commonjs", "repository": { "type": "git", "url": "git+https://github.com/avifenesh/speedkey.git" }, "homepage": "https://github.com/avifenesh/speedkey", "author": "Valkey GLIDE Maintainers", "license": "Apache-2.0", "dependencies": { "long": "5", "protobufjs": "^7.6.3" }, "keywords": [ "valkey", "redis", "client", "driver", "database", "napi", "typescript", "rust", "cross-platform", "cluster", "standalone", "high-availability", "performance", "open-source", "fault-tolerant", "distributed", "scalable", "resilient", "valkey-glide", "speedkey" ], "scripts": { "clean:build": "shx rm -rf build-ts dist/*/target rust-client/target rust-client/speedkey.*.node src/speedkey.*.node build/*.tsbuildinfo", "clean": "shx rm -rf build-ts dist/*/target node_modules rust-client/node_modules */node_modules rust-client/target glide-logs rust-client/speedkey.*.node src/speedkey.*.node rust-client/index.* src/ProtobufMessage.* *.tsbuildinfo test-report*.html yarn.lock package-lock.json rust-client/package-lock.json rust-client/Cargo.lock", "prebuild": "npm ci && npm run clean:build", "build": "npm run build-protobuf && npm run build:rust-client && npm run build:ts", "build:release": "npm run prereq && npm run build-protobuf && npm run build:rust-client:release && npm run build:ts", "build:benchmark": "npm run prereq && npm run build-protobuf && npm run build:rust-client:benchmark && npm run build:ts", "build:rust-client": "cd rust-client && npm run build:dev", "build:rust-client:release": "cd rust-client && npm run build:release", "build:rust-client:benchmark": "cd rust-client && npm run build:benchmark", "build:ts": "tsc", "build:ts:release": "tsc --stripInternal", "build-protobuf": "shx mkdir -p build-ts && pbjs -t static-module -w commonjs --no-verify --no-convert -o build-ts/ProtobufMessage.js ../glide-core/src/protobuf/*.proto && pbts -o build-ts/ProtobufMessage.d.ts build-ts/ProtobufMessage.js && replace \"this\\.encode\\(message, writer\\)\\.ldelim\" \"this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim\" build-ts/ProtobufMessage.js", "test": "npm run build-test-utils && jest --verbose --testPathIgnorePatterns=ServerModules", "test:debug": "npm run build-test-utils && jest --runInBand", "test:minimum": "npm run build-test-utils && jest --verbose --runInBand --testNamePattern=\"^(.(?!(GlideJson|GlideFt|pubsub|kill)))*$\"", "test:modules": "npm run build-test-utils && jest --verbose --runInBand --testNamePattern=\"(GlideJson|GlideFt)\"", "build-test-utils": "cd ../utils && npm i && npm run build", "repl": "ts-node --project tsconfig.json", "lint": "npm run install-linting && eslint -c ../eslint.config.mjs && npm run prettier:check", "lint:fix": "npm run install-linting && eslint -c ../eslint.config.mjs --fix && npm run prettier:format", "install-linting": "cd .. && npm ci", "prettier:check": "prettier --check . --ignore-unknown \"!**/*.{js,d.ts}\"", "prettier:format": "prettier --write . --ignore-unknown \"!**/*.{js,d.ts}\"", "staged": "lint-staged", "prereq": "npm ci", "artifacts": "napi artifacts", "prepublishOnly": "echo \"napi prepublish is run explicitly in CI before npm publish\"", "docs": "npm run build && ./docs/build-docs" }, "devDependencies": { "@jest/globals": "30", "@napi-rs/cli": "^3.8.3", "@types/jest": "30", "@types/minimist": "1", "@types/node": "24", "@types/semver": "7", "@types/uuid": "11", "@typescript/native": "npm:typescript@^7.0.2", "find-free-port": "2", "jest": "30", "jest-html-reporter": "4", "lint-staged": "17", "protobufjs-cli": "1", "replace": "1", "semver": "7", "shx": "0.3.4", "ts-jest": "29", "ts-node": "10", "typedoc": "0.28", "typedoc-plugin-markdown": "4", "typescript": "npm:@typescript/typescript6@^6.0.2", "uuid": "14" }, "lint-staged": { "*.@(js|ts|tsx)": [ "npx eslint -c ../eslint.config.mjs --fix" ], "*.@(js|ts|tsx|yml|yaml|md|json)": [ "prettier --write" ] }, "overrides": { "minimatch@>=7.0.0 <11.0.1": "11.0.1", "typedoc": { "minimatch": "11.0.1" }, "replace": { "minimatch": "3.1.5" }, "markdown-it@<14.3.1": "^14.3.2", "@babel/core@<7.29.6": "^7.29.6", "jest-config": { "deepmerge": "4.1.2" }, "js-yaml@<4.2.0": "^4.2.0" }, "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "engines": { "node": ">=20" }, "workspaces": [], "napi": { "binaryName": "speedkey", "targets": [ "x86_64-apple-darwin", "aarch64-apple-darwin", "x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "aarch64-unknown-linux-musl", "x86_64-pc-windows-msvc" ] } }