UNPKG

@tkey/core

Version:
80 lines (79 loc) 2.71 kB
{ "name": "@tkey/core", "version": "16.0.1-alpha.0", "description": "TKey Core library", "main": "dist/lib.cjs/index.js", "module": "dist/lib.esm/index.js", "unpkg": "dist/core.umd.min.js", "jsdelivr": "dist/core.umd.min.js", "types": "dist/lib.cjs/types/index.d.ts", "sideEffects": false, "scripts": { "test": "cross-env MOCKED=true mocha --config ../../.mocharc.json ", "coverage": "nyc npm test", "coverage-production": "nyc npm run test-production", "test-development": "cross-env MOCKED=false METADATA=http://localhost:5051 mocha --config ../../.mocharc.json ", "test-production": "cross-env MOCKED=false METADATA=https://metadata.web3auth.io mocha --config ../../.mocharc.json ", "test-debugger": "mocha --config ../../.mocharc.json --inspect-brk", "browser-tests:local-mocked": "cross-env INFRA=LOCAL MOCKED=true karma start", "browser-tests:local-dev": "cross-env INFRA=LOCAL MOCKED=false METADATA=http://localhost:5051 karma start", "browser-tests:local-prod": "cross-env INFRA=LOCAL MOCKED=false METADATA=https://metadata.web3auth.io karma start", "browser-tests:cloud-mocked": "cross-env INFRA=CLOUD MOCKED=true karma start", "browser-tests:cloud-prod": "cross-env INFRA=CLOUD MOCKED=false METADATA=https://metadata.web3auth.io karma start", "dev": "rimraf dist/ && cross-env NODE_ENV=development torus-scripts build", "build": "rimraf dist/ && cross-env NODE_ENV=production torus-scripts build", "lint": "eslint --fix 'src/**/*.ts'", "prepack": "npm run build", "pre-commit": "lint-staged" }, "repository": { "type": "git", "url": "git+https://github.com/tkey/tkey.git" }, "files": [ "dist" ], "dependencies": { "@tkey/common-types": "^16.0.0", "@toruslabs/eccrypto": "^6.0.2", "@toruslabs/http-helpers": "^8.1.1", "@toruslabs/torus.js": "^16.0.0", "bn.js": "^5.2.1", "elliptic": "^6.6.1", "ethereum-cryptography": "^3.1.0", "json-stable-stringify": "^1.2.1" }, "devDependencies": { "@types/bn.js": "^5.1.6", "@types/elliptic": "^6.4.18" }, "peerDependencies": { "@babel/runtime": "7.x" }, "lint-staged": { "!(*d).ts": [ "npm run lint --", "prettier --write 'src/**/*.ts'" ] }, "author": "Torus Labs", "license": "MIT", "bugs": { "url": "https://github.com/tkey/tkey/issues" }, "homepage": "https://github.com/tkey/tkey#readme", "keywords": [ "customauth", "torus-threshold-bak", "threshold-bak", "torus nodes", "torus-embed", "direct auth", "tkey" ], "engines": { "node": ">=20.x", "npm": ">=9.x" }, "gitHead": "5750310e965333d13723fa02941b03793c073ca2" }