Change package name & git url to self-host as part of tornado packages

This commit is contained in:
Theo 2023-09-11 22:41:29 -07:00
parent fba1252f57
commit ee79410f42

@ -1,65 +1,65 @@
{ {
"name": "snarkjs", "name": "@tornado/snarkjs",
"type": "module", "type": "module",
"version": "0.4.15", "version": "0.4.15",
"description": "zkSNARKs implementation in JavaScript", "description": "zkSNARKs implementation in JavaScript",
"main": "./build/main.cjs", "main": "./build/main.cjs",
"module": "./main.js", "module": "./main.js",
"exports": { "exports": {
"import": "./main.js", "import": "./main.js",
"require": "./build/main.cjs" "require": "./build/main.cjs"
}, },
"scripts": { "scripts": {
"test": "mocha", "test": "mocha",
"build": "rollup -c config/rollup.cjs.config.js", "build": "rollup -c config/rollup.cjs.config.js",
"buildcli": "rollup -c config/rollup.cli.config.js", "buildcli": "rollup -c config/rollup.cli.config.js",
"buildiife": "BROWSER=true rollup -c config/rollup.iife.config.js", "buildiife": "BROWSER=true rollup -c config/rollup.iife.config.js",
"buildiifemin": "BROWSER=true rollup -c config/rollup.iife_min.config.js" "buildiifemin": "BROWSER=true rollup -c config/rollup.iife_min.config.js"
}, },
"bin": { "bin": {
"snarkjs": "build/cli.cjs" "snarkjs": "build/cli.cjs"
}, },
"directories": { "directories": {
"templates": "templates" "templates": "templates"
}, },
"keywords": [ "keywords": [
"zksnark", "zksnark",
"zcash", "zcash",
"ethereum", "ethereum",
"zero", "zero",
"knowlage", "knowlage",
"cryptography", "cryptography",
"circuit" "circuit"
], ],
"author": "Jordi Baylina", "author": "Jordi Baylina",
"license": "GPL-3.0", "license": "GPL-3.0",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/iden3/snarkjs.git" "url": "https://git.tornado.ws/tornado-packages/snarkjs"
}, },
"dependencies": { "dependencies": {
"@iden3/binfileutils": "0.0.10", "@iden3/binfileutils": "0.0.10",
"blake2b-wasm": "^2.4.0", "blake2b-wasm": "^2.4.0",
"circom_runtime": "0.1.17", "circom_runtime": "0.1.17",
"ejs": "^3.1.6", "ejs": "^3.1.6",
"fastfile": "0.0.19", "fastfile": "0.0.19",
"ffjavascript": "0.2.48", "ffjavascript": "0.2.48",
"js-sha3": "^0.8.0", "js-sha3": "^0.8.0",
"logplease": "^1.2.15", "logplease": "^1.2.15",
"r1csfile": "0.0.35", "r1csfile": "0.0.35",
"readline": "^1.3.0" "readline": "^1.3.0"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0", "@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-json": "^4.1.0", "@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.1.0", "@rollup/plugin-node-resolve": "^11.1.0",
"@rollup/plugin-replace": "^2.3.4", "@rollup/plugin-replace": "^2.3.4",
"@rollup/plugin-virtual": "^2.0.3", "@rollup/plugin-virtual": "^2.0.3",
"chai": "^4.2.0", "chai": "^4.2.0",
"eslint": "^8.7.0", "eslint": "^8.7.0",
"mocha": "^9.1.4", "mocha": "^9.1.4",
"rollup": "^2.36.2", "rollup": "^2.36.2",
"rollup-plugin-terser": "^7.0.2", "rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^4.2.0" "rollup-plugin-visualizer": "^4.2.0"
} }
} }