UNPKG

@toruslabs/metadata-helpers

Version:
89 lines (88 loc) 2.42 kB
{ "name": "@toruslabs/metadata-helpers", "version": "7.0.2", "description": "Helper methods for metadata", "main": "dist/lib.cjs/index.js", "module": "dist/lib.esm/index.js", "unpkg": "dist/metadataHelpers.umd.min.js", "jsdelivr": "dist/metadataHelpers.umd.min.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:ts": "eslint --fix 'src/**/*.ts'", "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": { "@toruslabs/eccrypto": "^6.0.2", "@toruslabs/http-helpers": "^8.1.0", "elliptic": "^6.6.1", "ethereum-cryptography": "^3.1.0", "json-stable-stringify": "^1.2.1" }, "devDependencies": { "@babel/register": "^7.25.9", "@toruslabs/config": "^3.1.0", "@toruslabs/eslint-config-node": "^4.1.0", "@toruslabs/torus-scripts": "^7.1.2", "@types/elliptic": "^6.4.18", "@types/json-stable-stringify": "^1.2.0", "@types/node": "^22.13.10", "@vitest/browser": "^3.0.8", "@vitest/coverage-istanbul": "^3.0.8", "eslint": "^9.22.0", "husky": "^9.1.7", "lint-staged": "^15.4.3", "playwright": "^1.51.0", "prettier": "^3.5.3", "rimraf": "^6.0.1", "tsx": "^4.19.3", "typescript": "^5.8.2", "vitest": "^3.0.8" }, "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": ">=20.x", "npm": ">=9.x" }, "overrides": { "esbuild": "^0.25.0" } }