UNPKG

zkverifyjs

Version:

Submit proofs to zkVerify and query proof state with ease using our npm package.

132 lines (131 loc) 3.97 kB
{ "name": "zkverifyjs", "version": "0.10.0", "description": "Submit proofs to zkVerify and query proof state with ease using our npm package.", "author": "Horizen Labs <research@horizenlabs.io>", "license": "GPL-3.0", "repository": { "type": "git", "url": "https://github.com/HorizenLabs/zkverifyjs.git" }, "bugs": { "url": "https://github.com/HorizenLabs/zkverifyjs/issues", "email": "support@horizenlabs.io" }, "main": "dist/commonjs/index.js", "module": "dist/esm/index.js", "types": "dist/types/index.d.ts", "exports": { ".": { "import": "./dist/esm/index.js", "default": "./dist/commonjs/index.js", "types": "./dist/types/index.d.ts" }, "./types/*": { "types": "./dist/types/*.d.ts" } }, "files": [ "dist/commonjs", "dist/esm", "dist/types", "README.md", "LICENSE" ], "engines": { "node": ">= 18" }, "scripts": { "clean": "rm -rf dist", "build": "npm run clean && npm run build:commonjs && npm run build:esm && npm run build:types", "build:commonjs": "tsc -p tsconfig.commonjs.json", "build:esm": "tsc -p tsconfig.esm.json", "build:types": "tsc -p tsconfig.types.json", "pack-and-install": "npm run build && npm pack && rm -rf node_modules/zkverifyjs && npm install ./$(npm pack | tail -n 1) --no-save", "bump-version": "npm version $npm_config_level && git add . && git commit -S -m \"chore: bump version to $npm_package_version\" && git push && npm run build", "push-tag": "git checkout main && git pull && git tag -s -m $npm_package_version $npm_package_version && git push origin $npm_package_version", "test": "jest", "test:coverage": "jest --coverage", "test:file:coverage": "node -e 'const path = process.argv[1]; require(\"child_process\").execSync(`jest --coverage --collectCoverageFrom=\"${path}/index.ts\" ${path}/index.test.ts`, { stdio: \"inherit\" });' --", "lint": "eslint 'src/**/*.ts' --fix --ignore-pattern '**/*.test.ts'", "format": "prettier --write 'src/**/*.ts'", "generate-readme-for-docs": "node ci/generateDocsReadme.js", "prepare": "husky" }, "lint-staged": { "src/**/*.ts": [ "prettier --write", "eslint --fix --ignore-pattern '**/*.test.ts'", "git add" ] }, "keywords": [ "blockchain", "crypto", "cryptography", "groth16", "javascript", "noir", "plonky2", "proof-verification", "proofs", "risc0", "substrate", "typescript", "verify", "zk", "zk-snarks", "zkverify", "zksync", "zero-knowledge", "zero-knowledge-proof", "zkp" ], "dependencies": { "@polkadot/api": "15.9.2", "@polkadot/extension-dapp": "0.58.7", "async-mutex": "0.5.0", "bignumber.js": "9.2.1", "dotenv": "16.4.7", "js-sha3": "0.9.3", "snarkjs": "0.7.5", "web3": "4.16.0" }, "devDependencies": { "@commitlint/cli": "19.6.1", "@commitlint/config-conventional": "19.6.0", "@eslint/js": "9.18.0", "@jest/globals": "29.7.0", "@types/debug": "4.1.12", "@types/jest": "29.5.14", "@types/node": "20.1.1", "@types/snarkjs": "0.7.9", "@types/web3": "1.2.2", "@typescript-eslint/eslint-plugin": "8.21.0", "@typescript-eslint/parser": "8.21.0", "axios": "^1.8.2", "conventional-changelog-cli": "5.0.0", "eslint": "9.18.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "5.2.3", "fastify": "^4.29.0", "globals": "15.14.0", "husky": "9.1.7", "jest": "29.7.0", "lint-staged": "15.4.1", "ls-engines": "0.9.3", "prettier": "3.4.2", "remark-parse": "11.0.0", "remark-stringify": "11.0.0", "ts-jest": "29.2.5", "ts-node": "10.9.2", "typescript": "5.7.3", "typescript-eslint": "8.21.0", "unified": "11.0.5", "unist-util-visit": "5.0.0" }, "overrides": { "@polkadot/util": "13.4.4" }, "sideEffects": false }