64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"name": "snarkjs",
|
|
"type": "module",
|
|
"version": "0.3.12",
|
|
"description": "zkSNARKs implementation in JavaScript",
|
|
"main": "./build/main.cjs",
|
|
"module": "./main.js",
|
|
"exports": {
|
|
"import": "./main.js",
|
|
"require": "./build/main.cjs"
|
|
},
|
|
"scripts": {
|
|
"test": "mocha",
|
|
"build": "rollup -c config/rollup.cjs.config.js",
|
|
"buildcli": "rollup -c config/rollup.cli.config.js",
|
|
"buildiife": "BROWSER=true rollup -c config/rollup.iife.config.js",
|
|
"buildiifemin": "BROWSER=true rollup -c config/rollup.iife_min.config.js"
|
|
},
|
|
"bin": {
|
|
"snarkjs": "build/cli.cjs"
|
|
},
|
|
"directories": {
|
|
"templates": "templates"
|
|
},
|
|
"keywords": [
|
|
"zksnark",
|
|
"zcash",
|
|
"ethereum",
|
|
"zero",
|
|
"knowlage",
|
|
"cryptography",
|
|
"circuit"
|
|
],
|
|
"author": "Jordi Baylina",
|
|
"license": "GPL-3.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/iden3/snarkjs.git"
|
|
},
|
|
"dependencies": {
|
|
"blake2b-wasm": "https://github.com/jbaylina/blake2b-wasm.git",
|
|
"circom_runtime": "0.0.9",
|
|
"fastfile": "0.0.12",
|
|
"ffjavascript": "0.2.4",
|
|
"keccak": "^3.0.0",
|
|
"logplease": "^1.2.15",
|
|
"r1csfile": "0.0.12",
|
|
"yargs": "^12.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"chai": "^4.2.0",
|
|
"eslint": "^6.8.0",
|
|
"lodash": "^4.17.15",
|
|
"mocha": "^7.1.1",
|
|
"rollup": "^2.20.0",
|
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
"rollup-plugin-ignore": "^1.0.6",
|
|
"rollup-plugin-json": "^4.0.0",
|
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
"rollup-plugin-replace": "^2.2.0",
|
|
"rollup-plugin-terser": "^6.1.0"
|
|
}
|
|
}
|