UNPKG

zenroom

Version:

wrapper of Zenroom, a secure and small virtual machine for crypto language processing

115 lines (114 loc) 3.22 kB
{ "name": "zenroom", "version": "5.28.5", "description": "wrapper of Zenroom, a secure and small virtual machine for crypto language processing", "main": "dist/main/index.js", "typings": "dist/main/index.d.ts", "module": "dist/module/index.js", "repository": "https://github.com/dyne/zenroom.git", "homepage": "https://dev.zenroom.org/#/pages/javascript", "author": "Puria Nafisi Azizi <puria@dyne.org>", "license": "AGPL-3.0-only", "keywords": [ "zenroom", "crypto-language-processing", "virtual-machine", "blockchain", "crypto", "ecc", "dyne", "ecdh", "ecdsa", "zero-knowledge-proofs", "javascript", "npm", "ecp2", "miller-loop", "hamming-distance", "elgamal", "aes-gcm", "aead", "seccomp", "goldilocks" ], "scripts": { "lint": "npx standard", "build": "run-s build:*", "build:zenroom": "cd ../.. && make -f build/wasm.mk", "build:clean": "rimraf dist/*", "build:copylibs": "mkdirp dist/web && mkdirp dist/main && mkdirp dist/module && cp -v ../../zenroom.web.js dist/web/zenroom.js && cp -v ../../zenroom.js dist/module/ && cp -v ../../zenroom.js dist/main/", "build:copylibssrc": "cp -v ../../zenroom.js src/", "build:typescript": "tsc -p tsconfig.json", "build:module": "tsc -p tsconfig.module.json", "build:web": "tsc -p tsconfig.web.json", "coverage:old": "nyc report --reporter=text-lcov > coverage.lcov && codecov", "test": "nyc ava", "bench": "node dist/main/bench.js", "doc": "documentation serve src/wrapper.js --shallow", "doc:api": "documentation readme src/wrapper.js -s '⚙️ API' --shallow --markdown-toc false", "release": "release-it --no-git.requireCleanWorkingDir", "release:pre": "DEBUG=release-it:* release-it --no-git --preRelease -i pre --publish --ci --npm.skipChecks --disable-metrics", "watch:build": "tsc -p tsconfig.json -w", "watch:test": "nyc --silent ava --watch", "watch": "run-p watch:*" }, "files": [ "dist/main", "dist/web", "dist/module", "!**/*.spec.*", "!**/*.json", "CHANGELOG.md", "LICENSE", "README.md" ], "devDependencies": { "@ava/typescript": "^6.0.0", "@istanbuljs/nyc-config-typescript": "^1.0.2", "@types/node": "^22.5.4", "ava": "^6.1.3", "codecov": "^3.8.3", "cross-env": "^7.0.2", "documentation": "^14.0.3", "eslint": "^9.10.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-plugin-import": "^2.25.4", "mkdirp": "^3.0.1", "nanobench": "^3.0.0", "npm-run-all": "^4.1.5", "nyc": "^17.0.0", "release-it": "^17.6.0", "rimraf": "^6.0.1", "standard": "^17.1.0", "ts-node": "^10.7.0", "typescript": "^5.6.2" }, "standard": { "ignore": [ "dist", "zenroom", "test" ] }, "ava": { "failFast": true, "timeout": "60s", "typescript": { "rewritePaths": { "src/": "dist/main/" }, "compile": false }, "files": [ "!dist/module/**", "!dist/web/**" ] }, "nyc": { "extends": "@istanbuljs/nyc-config-typescript", "exclude": [ "**/*.spec.js", "**/zenroom.js" ] } }