109 lines
4.4 KiB
JSON
109 lines
4.4 KiB
JSON
{
|
|
"name": "tornado-scripts",
|
|
"version": "1.0.21",
|
|
"description": "An SDK for building applications on top of Privacy Pools",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"unpkg": "./dist/tornado.umd.min.js",
|
|
"jsdelivr": "./dist/tornado.umd.min.js",
|
|
"scripts": {
|
|
"typechain": "typechain --target ethers-v6 --out-dir src/typechain src/abi/*.json",
|
|
"types": "tsc --declaration --emitDeclarationOnly -p tsconfig.build.json",
|
|
"lint": "eslint src/**/*.ts test/**/*.ts --ignore-pattern src/typechain",
|
|
"build:node": "rollup -c",
|
|
"build:web": "webpack",
|
|
"build:hash": "ts-node scripts/hash.ts",
|
|
"build": "yarn types && yarn build:node && yarn build:web && yarn build:hash",
|
|
"docker:build": "docker build -t tornado-scripts .",
|
|
"docker:hash": "docker container run --rm -it --entrypoint cat tornado-scripts /app/dist/hashes.json",
|
|
"test": "nyc mocha --require ts-node/register --require source-map-support/register --recursive 'test/**/*.ts' --timeout '300000'"
|
|
},
|
|
"author": "Tornado Contrib",
|
|
"license": "MIT",
|
|
"files": [
|
|
"dist",
|
|
"scripts",
|
|
"src",
|
|
"test",
|
|
".gitattributes",
|
|
".gitignore",
|
|
"Dockerfile",
|
|
"eslint.config.mjs",
|
|
"hardhat.config.ts",
|
|
"LICENSE",
|
|
"logo.png",
|
|
"logo2.png",
|
|
"rollup.config.mjs",
|
|
"tsconfig.build.json",
|
|
"tsconfig.json",
|
|
"webpack.config.js",
|
|
"yarn.lock"
|
|
],
|
|
"dependencies": {
|
|
"@ensdomains/content-hash": "2.5.7",
|
|
"@metamask/eth-sig-util": "^8.1.2",
|
|
"ajv": "^8.17.1",
|
|
"bn.js": "^5.2.1",
|
|
"circomlibjs": "git+https://github.com/tornadocontrib/circomlibjs.git#2aef7aade8e2b8d103250e4b24c7f1526cf1dd8d",
|
|
"ethers": "^6.13.4",
|
|
"ffjavascript": "git+https://github.com/tornadocontrib/ffjavascript.git#fc766f09818d46967d1329c0fc8e361d8b349109",
|
|
"fflate": "^0.8.2",
|
|
"fixed-merkle-tree": "0.7.3",
|
|
"snarkjs": "git+https://github.com/tornadocontrib/snarkjs.git#2c964b3fe6019e057acab04cc17705d1f7fdaf9a",
|
|
"tornado-contracts": "git+https://github.com/tornadocontrib/tornado-contracts.git#9be1e1c308ae891e939944b2220d9e2810e579f5",
|
|
"websnark": "git+https://github.com/tornadocontrib/websnark.git#e5a79cca905d1ffb61a69739492be58d438c9f17"
|
|
},
|
|
"devDependencies": {
|
|
"@nomicfoundation/hardhat-chai-matchers": "^2.0.8",
|
|
"@nomicfoundation/hardhat-ethers": "^3.0.8",
|
|
"@nomicfoundation/hardhat-ignition": "^0.15.9",
|
|
"@nomicfoundation/hardhat-ignition-ethers": "^0.15.9",
|
|
"@nomicfoundation/hardhat-network-helpers": "^1.0.12",
|
|
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
|
|
"@nomicfoundation/hardhat-verify": "^2.0.12",
|
|
"@rollup/plugin-commonjs": "^28.0.2",
|
|
"@rollup/plugin-json": "^6.1.0",
|
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
"@typechain/ethers-v6": "^0.5.1",
|
|
"@typechain/hardhat": "^9.1.0",
|
|
"@types/bn.js": "^5.1.6",
|
|
"@types/chai": "^5.0.1",
|
|
"@types/circomlibjs": "^0.1.6",
|
|
"@types/mocha": "^10.0.10",
|
|
"@types/node": "^22.10.2",
|
|
"chai": "^4.5.0",
|
|
"esbuild-loader": "^4.2.2",
|
|
"eslint": "^9.17.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-import-resolver-typescript": "^3.7.0",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-prettier": "^5.2.1",
|
|
"fetch-mock": "^12.2.0",
|
|
"hardhat": "^2.22.17",
|
|
"hardhat-gas-reporter": "^2.2.2",
|
|
"idb": "^8.0.1",
|
|
"mocha": "^11.0.1",
|
|
"node-polyfill-webpack-plugin": "^4.1.0",
|
|
"nyc": "^17.1.0",
|
|
"prettier": "^3.4.2",
|
|
"rollup": "^4.29.1",
|
|
"rollup-plugin-esbuild": "^6.1.1",
|
|
"solidity-coverage": "^0.8.14",
|
|
"ts-node": "^10.9.2",
|
|
"tsc": "^2.0.4",
|
|
"typechain": "^8.3.2",
|
|
"typescript": "^5.7.2",
|
|
"typescript-eslint": "^8.18.2",
|
|
"webpack": "^5.97.1",
|
|
"webpack-cli": "^6.0.1"
|
|
},
|
|
"resolutions": {
|
|
"@adraffy/ens-normalize": "1.10.1",
|
|
"@noble/curves": "1.2.0",
|
|
"@noble/hashes": "1.3.2",
|
|
"big-integer": "1.6.52",
|
|
"ffjavascript": "git+https://github.com/tornadocontrib/ffjavascript.git#fc766f09818d46967d1329c0fc8e361d8b349109"
|
|
}
|
|
}
|