Files
semaphore/packages/utils/package.json
2024-03-28 19:06:18 +00:00

60 lines
1.9 KiB
JSON

{
"name": "@semaphore-protocol/utils",
"version": "4.0.0-beta.7",
"description": "A library to provide utility functions to the other Semaphore packages.",
"type": "module",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./networks": {
"types": "./dist/types/networks/index.d.ts",
"require": "./dist/lib.commonjs/networks/index.cjs",
"default": "./dist/lib.esm/networks/index.js"
},
"./constants": {
"types": "./dist/types/constants.d.ts",
"require": "./dist/lib.commonjs/constants.cjs",
"default": "./dist/lib.esm/constants.js"
},
"./decode-message": {
"types": "./dist/types/decode-message.d.ts",
"require": "./dist/lib.commonjs/decode-message.cjs",
"default": "./dist/lib.esm/decode-message.js"
}
},
"files": [
"dist/",
"src/",
"LICENSE",
"README.md"
],
"repository": "https://github.com/semaphore-protocol/semaphore",
"homepage": "https://github.com/semaphore-protocol/semaphore/tree/main/packages/utils",
"bugs": {
"url": "https://github.com/semaphore-protocol/semaphore.git/issues"
},
"scripts": {
"build": "rimraf dist && rollup -c rollup.config.ts --configPlugin typescript",
"prepublishOnly": "yarn build"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-typescript": "^11.1.6",
"rimraf": "^5.0.5",
"rollup": "^4.12.0",
"rollup-plugin-cleanup": "^3.2.1"
},
"dependencies": {
"ethers": "^6.11.1"
}
}