UNPKG

@toruslabs/metadata-helpers

Version:
89 lines (88 loc) 2.39 kB
{ "name": "@toruslabs/metadata-helpers", "version": "8.2.0", "description": "Helper methods for metadata", "main": "dist/lib.cjs/index.js", "module": "dist/lib.esm/index.js", "unpkg": "dist/lib.esm/index.js", "jsdelivr": "dist/lib.esm/index.js", "types": "dist/lib.cjs/types/index.d.ts", "sideEffects": false, "scripts": { "start": "torus-scripts start", "build": "torus-scripts build", "release": "torus-scripts release", "lint": "torus-scripts lint", "prepack": "npm run build", "test": "npm run test:node && npm run test:browsers", "test:node": "vitest run --config test/configs/node.config.mts --coverage", "test:browsers": "vitest run --config test/configs/browsers.config.mts --coverage", "prepare": "husky" }, "files": [ "dist" ], "peerDependencies": { "@babel/runtime": "7.x" }, "dependencies": { "@noble/curves": "^2.0.1", "@noble/hashes": "^2.0.1", "@scure/base": "^2.0.0", "@toruslabs/eccrypto": "^7.0.0", "@toruslabs/http-helpers": "^9.0.0", "json-stable-stringify": "^1.3.0" }, "devDependencies": { "@babel/register": "^7.28.6", "@toruslabs/config": "^4.0.0", "@toruslabs/eslint-config-node": "^5.0.1", "@toruslabs/torus-scripts": "^8.0.1", "@types/json-stable-stringify": "^1.2.0", "@types/node": "^25.3.3", "@vitest/browser-playwright": "^4.0.18", "@vitest/coverage-istanbul": "^4.0.18", "eslint": "^9.39.2", "husky": "^9.1.7", "lint-staged": "^16.3.2", "playwright": "^1.58.2", "prettier": "^3.8.1", "rimraf": "^6.1.3", "tsx": "^4.21.0", "typescript": "^5.9.3", "vitest": "^4.0.18" }, "author": "Torus Labs", "license": "MIT", "lint-staged": { "!(*d).{js,ts}": [ "eslint --cache --fix", "prettier --write" ], "*.{json,md}": [ "prettier --write" ] }, "repository": { "type": "git", "url": "git+https://github.com/torusresearch/metadata-helpers.git" }, "bugs": { "url": "https://github.com/torusresearch/metadata-helpers/issues" }, "homepage": "https://github.com/torusresearch/metadata-helpers#readme", "keywords": [ "metadata-helpers", "torus-direct-auth", "torus nodes", "torus-embed", "direct auth" ], "engines": { "node": ">=22.x", "npm": ">=10.x" }, "overrides": { "esbuild": "^0.25.0" } }