mirror of
https://github.com/0xbow-io/privacy-pools-core.git
synced 2026-01-09 09:27:58 -05:00
93 lines
2.9 KiB
JSON
93 lines
2.9 KiB
JSON
{
|
|
"name": "@privacy-pool-core/sdk",
|
|
"version": "0.1.0",
|
|
"description": "Typescript SDK for the Privacy Pool protocol",
|
|
"repository": "https://github.com/defi-wonderland/privacy-pool-core",
|
|
"license": "MIT",
|
|
"author": "Wonderland",
|
|
"type": "module",
|
|
"main": "./dist/node/index.mjs",
|
|
"module": "./dist/esm/index.mjs",
|
|
"browser": "./dist/esm/index.mjs",
|
|
"types": {
|
|
"import": "./dist/index.d.mts"
|
|
},
|
|
"exports": {
|
|
"node": {
|
|
"types": "./dist/index.d.mts",
|
|
"default": "./dist/node/index.mjs"
|
|
},
|
|
"import": {
|
|
"types": "./dist/index.d.mts",
|
|
"default": "./dist/esm/index.mjs"
|
|
},
|
|
"browser": {
|
|
"types": "./dist/index.d.mts",
|
|
"default": "./dist/esm/index.mjs"
|
|
}
|
|
},
|
|
"directories": {
|
|
"src": "src"
|
|
},
|
|
"files": [
|
|
"dist/*",
|
|
"src",
|
|
"package.json",
|
|
"!**/*.tsbuildinfo"
|
|
],
|
|
"scripts": {
|
|
"circuits:setup": "cd ../circuits/ && yarn install && yarn compile && yarn setup:all",
|
|
"circuits:copy": "sh ./scripts/copy_circuits.sh",
|
|
"build": "yarn clean && rollup -c ./configs/rollup.config.mjs",
|
|
"build:bundle": "yarn clean && rollup -c ./configs/rollup.config.mjs && yarn circuits:setup && yarn circuits:copy",
|
|
"check-types": "tsc --noEmit -p ./tsconfig.json",
|
|
"clean": "rm -rf dist .rollup.cache tsconfig.build.tsbuildinfo",
|
|
"format": "prettier --check \"{src,test}/**/*.{js,ts,json}\"",
|
|
"format:fix": "prettier --write \"{src,test}/**/*.{js,ts,json}\"",
|
|
"lint": "eslint \"{src,test}/**/*.{js,ts,json}\"",
|
|
"lint:fix": "eslint \"{src,test}/**/*.{js,ts,json}\" --fix",
|
|
"test": "vitest run --config vitest.config.ts --passWithNoTests",
|
|
"test:cov": "vitest run --config vitest.config.ts --coverage"
|
|
},
|
|
"dependencies": {
|
|
"@zk-kit/lean-imt": "2.2.2",
|
|
"maci-crypto": "2.5.0",
|
|
"snarkjs": "0.7.5",
|
|
"@types/snarkjs": "0.7.9",
|
|
"viem": "2.21.4"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/config-conventional": "19.4.1",
|
|
"@eslint/js": "9.18.0",
|
|
"@ianvs/prettier-plugin-sort-imports": "4.3.1",
|
|
"@rollup/plugin-alias": "5.1.1",
|
|
"@rollup/plugin-commonjs": "28.0.2",
|
|
"@rollup/plugin-inject": "5.0.5",
|
|
"@rollup/plugin-json": "6.1.0",
|
|
"@rollup/plugin-node-resolve": "16.0.0",
|
|
"@rollup/plugin-typescript": "12.1.2",
|
|
"@rollup/plugin-wasm": "6.2.2",
|
|
"@types/node": "20.3.1",
|
|
"@types/snarkjs": "0.7.9",
|
|
"@typescript-eslint/eslint-plugin": "7.18.0",
|
|
"@typescript-eslint/parser": "7.18.0",
|
|
"@vitest/coverage-v8": "2.0.5",
|
|
"commitlint": "19.4.1",
|
|
"eslint": "9.18.0",
|
|
"eslint-config-prettier": "9.1.0",
|
|
"eslint-plugin-prettier": "5.2.1",
|
|
"globals": "15.14.0",
|
|
"husky": "9.1.5",
|
|
"lint-staged": "15.2.10",
|
|
"memfs": "4.17.0",
|
|
"prettier": "3.3.3",
|
|
"rollup": "4.30.1",
|
|
"rollup-plugin-dts": "6.1.1",
|
|
"snarkjs": "0.7.5",
|
|
"sort-package-json": "2.10.1",
|
|
"typescript": "5.5.4",
|
|
"typescript-eslint": "8.20.0",
|
|
"vitest": "2.0.5"
|
|
}
|
|
}
|