@neuraiproject/neurai-message
Version:
Sign and Verify messages in Neurai
64 lines (63 loc) • 2.22 kB
JSON
{
"name": "@neuraiproject/neurai-message",
"version": "0.9.1",
"description": "Sign and Verify messages in Neurai",
"source": "index.ts",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"browser": {
"stream": "stream-browserify",
"buffer": "buffer/",
"process": "process/browser"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./browser": {
"types": "./dist/index.d.ts",
"import": "./dist/browser.mjs"
},
"./global": "./dist/NeuraiMessage.global.js"
},
"scripts": {
"test": "npm run build && vitest run",
"build": "esbuild src/index.ts --bundle --platform=node --target=es2020 --format=cjs --outfile=dist/index.cjs && esbuild src/index.ts --bundle --platform=node --target=es2020 --format=esm --outfile=dist/index.mjs && esbuild src/browser.ts --bundle --platform=browser --target=es2020 --format=esm --main-fields=browser,module,main --outfile=dist/browser.mjs --inject:./src/browser-shims.ts && esbuild src/global.ts --bundle --platform=browser --target=es2020 --format=iife --global-name=NeuraiMessage --main-fields=browser,module,main --outfile=dist/NeuraiMessage.global.js --inject:./src/browser-shims.ts && tsc --emitDeclarationOnly --declaration --outDir dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/neuraiproject/neurai-message.git"
},
"keywords": [
"Neurai",
"XNA"
],
"author": "Neuraiproject",
"license": "ISC",
"bugs": {
"url": "https://github.com/neuraiproject/neurai-message/issues"
},
"homepage": "https://github.com/neuraiproject/neurai-message#readme",
"dependencies": {
"@noble/hashes": "^2.0.1",
"@noble/post-quantum": "^0.6.0",
"@noble/secp256k1": "^3.0.0",
"bech32": "^2.0.0",
"bs58check": "^2.1.2",
"create-hash": "^1.2.0",
"varuint-bitcoin": "^1.1.2"
},
"devDependencies": {
"@types/node": "^18.0.0",
"buffer": "^6.0.3",
"esbuild": "^0.25.0",
"events": "^3.3.0",
"process": "^0.11.10",
"stream-browserify": "^3.0.0",
"typescript": "^4.9.4",
"vitest": "^3.2.4"
}
}