UNPKG

@iden3/js-crypto

Version:
60 lines (59 loc) 1.71 kB
{ "name": "@iden3/js-crypto", "version": "1.3.1", "description": "Crypto primitives for iden3", "source": "./src/index.ts", "exports": { ".": { "node": { "import": "./dist/node/esm/index.js", "require": "./dist/node/cjs/index.cjs" }, "browser": "./dist/browser/esm/index.js", "umd": "./dist/browser/umd/index.js", "types": "./dist/types/index.d.ts" } }, "type": "module", "sideEffects": false, "types": "dist/types/index.d.ts", "files": [ "dist", "src" ], "scripts": { "build": "npm run clean && npm run build:node && npm run build:browser && npm run build:types", "build:browser": "node ./scripts/browser.js", "build:node": "node ./scripts/node.js", "build:types": "tsc --declaration --emitDeclarationOnly", "clean": "rimraf ./dist", "test": "vitest run --globals --coverage", "lint": "eslint --fix", "lint:check": "eslint", "format": "prettier --config .prettierrc './**/*.ts' --write", "format:check": "prettier --config .prettierrc './**/*.ts' --check" }, "repository": { "type": "git", "url": "git+https://github.com/iden3/js-crypto.git" }, "author": "", "license": "AGPL-3.0", "bugs": { "url": "https://github.com/iden3/js-crypto/issues" }, "homepage": "https://github.com/iden3/js-crypto#readme", "devDependencies": { "@iden3/eslint-config": "https://github.com/iden3/eslint-config", "@types/jest": "^29.5.14", "@vitest/coverage-v8": "^3.1.4", "esbuild": "^0.25.4", "rimraf": "^6.0.1", "ts-node": "^10.9.2", "typescript": "5.8.3", "vitest": "^3.1.3" }, "dependencies": { "@noble/hashes": "^1.8.0" } }