UNPKG

siwe-recap

Version:

A Typescript implementation of EIP-5573 utilities

75 lines (74 loc) 2.03 kB
{ "name": "siwe-recap", "version": "0.0.1-alpha.0", "description": "A Typescript implementation of EIP-5573 utilities", "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/index.d.ts", "license": "MIT", "author": "Spruce Systems Inc.", "scripts": { "build:cjs": "esbuild --bundle --target=es2019 --format=cjs --outfile=dist/index.cjs src/index.ts", "build:esm": "esbuild --bundle --target=es2019 --format=esm --outfile=dist/index.mjs src/index.ts", "build:types": "dts-bundle-generator --out-file=dist/index.d.ts src/index.ts", "clean": "rm -rf dist", "compile": "run-s clean build:*", "format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"", "lint": "eslint --ext .js,.ts .", "test": "run-s test:*", "test:lib": "cross-env NODE_OPTIONS=--experimental-vm-modules jest" }, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "jest": { "preset": "ts-jest/presets/default-esm", "globals": { "ts-jest": { "useESM": true } }, "verbose": true, "testTimeout": 30000, "testMatch": [ "**/*.test.[jt]s?(x)" ], "moduleFileExtensions": [ "js", "json", "ts" ], "moduleNameMapper": { "^(\\.{1,2}/.*)\\.js$": "$1" } }, "devDependencies": { "@types/jest": "^29.5.0", "@typescript-eslint/eslint-plugin": "^5.23.0", "@typescript-eslint/parser": "^5.23.0", "cross-env": "^7.0.3", "dts-bundle-generator": "^8.0.1", "esbuild": "^0.17.17", "eslint": "^8.38.0", "eslint-config-prettier": "^8.5.0", "ethers": "^5.5.1", "jest": "^29.5.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.7", "ts-jest": "^29.1.0", "typescript": "^5.0.2" }, "dependencies": { "canonicalize": "^2.0.0", "multiformats": "^11.0.2", "siwe": "^2.0.5" }, "peerDependencies": { "ethers": "^5.5.1" }, "type": "module" }