UNPKG

@iden3/js-iden3-core

Version:

Low level API to create and manipulate iden3 Claims.

79 lines (78 loc) 2.27 kB
{ "name": "@iden3/js-iden3-core", "version": "1.7.0", "description": "Low level API to create and manipulate iden3 Claims.", "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:node": "node ./scripts/node.js", "build:types": "tsc --declaration --emitDeclarationOnly", "build:esm": "tsc --outDir dist/node/esm --declaration --declarationDir dist/types", "build:browser": "rollup -c scripts/browser.mjs", "clean": "rimraf ./dist", "test": "vitest run --globals", "lint": "eslint --fix", "lint:check": "eslint", "format": "prettier --config .prettierrc './**/*.ts' --write", "format:check": "prettier --config .prettierrc './**/*.ts' --check", "deps:check": "madge --warning --circular --extensions ts ./" }, "release": { "branches": [ "main" ] }, "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/iden3/js-iden3-core.git" }, "keywords": [ "iden3" ], "author": "Iden3 Core team", "license": "MIT or Apache-2.0", "bugs": { "url": "https://github.com/iden3/js-iden3-core/issues" }, "homepage": "https://github.com/iden3/js-iden3-core#readme", "devDependencies": { "@cspell/eslint-plugin": "^8.14.2", "@iden3/eslint-config": "https://github.com/iden3/eslint-config", "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-typescript": "^12.1.2", "@types/jest": "^29.5.14", "esbuild": "^0.25.4", "madge": "^8.0.0", "rimraf": "^6.0.1", "rollup": "^4.41.0", "ts-node": "^10.9.2", "tsup": "^8.5.0", "typescript": "^5.8.3", "vitest": "^3.1.4" }, "peerDependencies": { "@iden3/js-crypto": "1.3.1" } }