circomlibjs/package.json
tornadocontrib 2aef7aade8
Support commonjs as well
Full compare: bfa4ce1366...tornadocontrib:circomlibjs:main
2024-12-18 17:32:18 +00:00

48 lines
1.1 KiB
JSON

{
"name": "circomlibjs",
"type": "module",
"main": "./build/main.cjs",
"module": "./main.js",
"exports": {
"import": "./main.js",
"require": "./build/main.cjs"
},
"version": "0.1.8",
"description": "Javascript library to work with circomlib",
"scripts": {
"test": "node --test",
"poseidonOptimizeConstants": "node tools/poseidon_optimize_constants.js",
"build": "node ./esbuild.mjs && rollup -c rollup.cjs.config.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/iden3/circomlibjs.git"
},
"keywords": [
"circom",
"circomlib",
"iden3",
"snarkjs",
"snark",
"zero",
"knowledge"
],
"author": "Jordi Baylina",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/iden3/circomlibjs/issues"
},
"homepage": "https://github.com/iden3/circomlibjs#readme",
"devDependencies": {
"esbuild": "0.24.0",
"esbuild-plugin-polyfill-node": "0.3.0",
"rollup": "^4.28.1"
},
"dependencies": {
"@noble/hashes": "1.6.1",
"blake-hash": "2.0.0",
"blake2b": "2.1.3",
"ffjavascript": "0.3.0"
}
}