UNPKG

node-seal

Version:

Homomorphic Encryption for TypeScript or JavaScript using Microsoft SEAL

99 lines (98 loc) 3.78 kB
{ "name": "node-seal", "version": "5.1.5", "description": "Homomorphic Encryption for TypeScript or JavaScript using Microsoft SEAL", "repository": { "type": "git", "url": "https://github.com/s0l0ist/node-seal" }, "homepage": "https://s0l0ist.github.io/seal-sandbox/", "author": { "name": "Nick Angelou", "email": "angelou.nick@gmail.com", "url": "https://s0l0ist.github.io/seal-sandbox/" }, "keywords": [ "homomorphic", "encryption", "homomorphic-encryption", "microsoft seal", "web assembly", "fhe", "crypto", "cryptography", "cryptosystem" ], "main": "throws_wasm_node_umd.js", "browser": "throws_wasm_web_umd.js", "module": "throws_wasm_web_es.js", "types": "throws_wasm_web_es.d.ts", "files": [ "**/*" ], "license": "MIT", "scripts": { "docs": "rm -rf ./docs/* && jsdoc -c jsdoc.json", "benchmark": "node ./submodules/SEAL/build/bin/sealbench.js", "submodule:update": "bash scripts/submodule-update.sh", "em:update": "bash scripts/em-update.sh", "seal:clean": "bash scripts/seal-clean.sh", "seal:cmake": "bash scripts/seal-cmake.sh", "seal:make": "bash scripts/seal-make.sh", "seal:build": "npm run seal:build:wasm", "seal:build:bench": "export BUILD_BENCH=ON && export THROW_ON_TRANSPARENT=ON && npm run seal:cmake && npm run seal:make", "seal:build:wasm": "npm run seal:build:wasm:node && npm run seal:build:wasm:web && npm run seal:build:wasm:worker", "seal:build:wasm:node": "export ENVIRONMENT='node' && bash scripts/seal-build-wasm.sh", "seal:build:wasm:web": "export ENVIRONMENT='web,webview' && bash scripts/seal-build-wasm.sh", "seal:build:wasm:worker": "export ENVIRONMENT='worker' && bash scripts/seal-build-wasm.sh", "seal": "npm run seal:cmake && npm run seal:make && npm run seal:build", "build:allows": "export THROW_ON_TRANSPARENT=OFF && npm run seal", "build:throws": "export THROW_ON_TRANSPARENT=ON && npm run seal", "build:clean": "rm -rf ./dist/* && rm -rf ./tsc-out/* && rm -rf ./src/bin/*", "build": "npm run build:allows && npm run build:throws", "clean": "npm run seal:clean && npm run build:clean", "compile": "tsc", "format": "prettier --write src", "lint": "eslint --fix 'src/**/*.ts'", "test": "jest src/**/*.ts", "coverage": "jest src --coverage", "rollup": "NODE_OPTIONS=--max_old_space_size=16384 rollup -c", "postrollup": "bash scripts/postrollup.sh", "prepublishOnly": "echo 'Please run \"npm run publish\" instead' && exit 1", "publish:test": "npm --dry-run publish ./dist/node-seal-*.tgz", "publish": "npm publish --access=public ./dist/node-seal-*.tgz" }, "devDependencies": { "@babel/core": "^7.26.10", "@babel/preset-env": "^7.26.9", "@rollup/plugin-alias": "^5.1.1", "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.2", "@types/jest": "^29.5.14", "@types/node": "^22.13.13", "@typescript-eslint/eslint-plugin": "^8.28.0", "@typescript-eslint/parser": "^8.28.0", "better-docs": "^2.7.3", "codecov": "^3.8.3", "env-cmd": "^10.1.0", "eslint": "^9.23.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-jest": "^28.11.0", "eslint-plugin-jsdoc": "^50.6.9", "eslint-plugin-prettier": "^5.2.5", "esm": "^3.2.25", "jest": "^29.7.0", "jsdoc": "^4.0.4", "path": "^0.12.7", "prettier": "^3.5.3", "rollup": "^4.37.0", "rollup-plugin-node-builtins": "^2.1.2", "rollup-plugin-node-globals": "^1.4.0", "rollup-plugin-typescript2": "^0.36.0", "taffydb": "^2.7.3", "ts-jest": "^29.3.0", "typescript": "^5.8.2" } }