UNPKG

@iden3/js-iden3-core

Version:

Low level API to create and manipulate iden3 Claims.

83 lines (82 loc) 2.52 kB
{ "name": "@iden3/js-iden3-core", "version": "1.4.1", "description": "Low level API to create and manipulate iden3 Claims.", "source": "./src/index.ts", "types": "dist/types/index.d.ts", "main": "dist/node/cjs/index.js", "module": "dist/node/esm/index.js", "exports": { ".": { "node": { "import": "./dist/node/esm/index.js", "require": "./dist/node/cjs/index.js" }, "browser": "./dist/browser/esm/index.js", "umd": "./dist/browser/umd/index.js", "types": "./dist/types/index.d.ts" } }, "files": [ "dist" ], "scripts": { "clean": "rimraf ./dist", "build": "npm run clean && npm run build:node && npm run build:browser", "build:node": "npm run build:tsc && npm run build:esm", "build:esm": "tsc --outDir dist/node/esm --declaration --declarationDir dist/types", "build:browser": "rollup -c config/rollup.config.mjs", "build:tsc": "tsc --module commonjs --outDir dist/node/cjs", "deps:check": "madge --warning --circular --extensions ts ./", "test": "jest", "test:watch": "jest --watch", "lint": "eslint --fix --fix --ext .ts src/** tests/**", "lint:check": "eslint --ext .ts src/** tests/**", "format": "prettier --config .prettierrc './**/*.ts' --write", "format:check": "prettier --config .prettierrc './**/*.ts' --check" }, "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/eslint-config": "https://github.com/iden3/eslint-config", "@rollup/plugin-commonjs": "^25.0.4", "@rollup/plugin-node-resolve": "^15.2.1", "@rollup/plugin-terser": "^0.4.3", "@rollup/plugin-typescript": "^11.1.4", "@types/jest": "^29.2.0", "@typescript-eslint/eslint-plugin": "^5.0.0", "eslint-plugin-prettier": "^4.2.1", "@cspell/eslint-plugin": "^8.14.2", "jest": "^29.2.2", "madge": "^6.1.0", "prettier": "^2.7.1", "rimraf": "^3.0.2", "rollup": "^3.29.4", "ts-jest": "^29.0.3", "ts-loader": "^9.4.1", "ts-node": "^10.9.1", "typescript": "^4.7.4" }, "peerDependencies": { "@iden3/js-crypto": "1.1.0" } }