UNPKG

@iden3/js-iden3-core

Version:

Low level API to create and manipulate iden3 Claims.

79 lines (78 loc) 2.22 kB
{ "name": "@iden3/js-iden3-core", "version": "1.8.1", "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", "lint": "biome ci . && cspell \"**/*.{ts,js,mjs}\" --no-progress", "format": "biome format --write .", "check": "biome check --write ." }, "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": { "@iden3/biome-config": "https://github.com/iden3/eslint-config#biome-config", "@rollup/plugin-commonjs": "^29.0.3", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-typescript": "^12.3.0", "@types/node": "^25.9.2", "@vitest/browser": "4.1.8", "@vitest/browser-playwright": "4.1.8", "esbuild": "^0.28.0", "playwright": "1.60.0", "rimraf": "^6.1.3", "rollup": "^4.61.1", "ts-node": "^10.9.2", "tslib": "^2.8.1", "tsup": "^8.5.1", "typescript": "6.0.3", "vitest": "4.1.8" }, "peerDependencies": { "@iden3/js-crypto": "1.3.3" } }