@leordev-web5/api
Version:
SDK for accessing the features and capabilities of Web5
118 lines • 3.62 kB
JSON
{
"name": "@leordev-web5/api",
"version": "0.8.5",
"description": "SDK for accessing the features and capabilities of Web5",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"scripts": {
"clean": "rimraf dist tests/compiled",
"build:esm": "rimraf dist/esm dist/types && npx tsc -p tsconfig.json",
"build:cjs": "rimraf dist/cjs && tsc -p tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > ./dist/cjs/package.json",
"build:browser": "rimraf dist/browser.mjs dist/browser.js && node build/bundles.js",
"build:tests:node": "rimraf tests/compiled && tsc -p tests/tsconfig.json",
"build:tests:browser": "rimraf tests/compiled && node build/esbuild-tests.cjs",
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:browser",
"lint": "eslint . --ext .ts --max-warnings 0",
"lint:fix": "eslint . --ext .ts --fix",
"test:node": "npm run build:tests:node && c8 mocha",
"test:browser": "npm run build:tests:browser && web-test-runner"
},
"homepage": "https://github.com/TBD54566975/web5-js/tree/main/packages/api#readme",
"bugs": "https://github.com/TBD54566975/web5-js/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/TBD54566975/web5-js.git",
"directory": "packages/api"
},
"license": "Apache-2.0",
"contributors": [
{
"name": "Daniel Buchner",
"url": "https://github.com/csuwildcat"
},
{
"name": "Frank Hinek",
"url": "https://github.com/frankhinek"
},
{
"name": "Moe Jangda",
"url": "https://github.com/mistermoe"
}
],
"files": [
"dist",
"src"
],
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./browser": {
"types": "./dist/types/index.d.ts",
"import": "./dist/browser.mjs",
"require": "./dist/browser.js"
}
},
"react-native": "./dist/esm/index.js",
"keywords": [
"decentralized",
"decentralized-applications",
"decentralized-identity",
"decentralized-web",
"DID",
"sdk",
"verifiable-credentials",
"web5",
"web5-sdk"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@tbd54566975/dwn-sdk-js": "0.2.10",
"@web5/crypto": "0.2.2",
"@web5/dids": "0.2.4",
"@web5/agent": "npm:@leordev-web5/agent@0.2.6",
"@web5/common": "npm:@leordev-web5/common@0.2.3",
"@web5/user-agent": "npm:@leordev-web5/user-agent@0.2.6",
"level": "8.0.0",
"ms": "2.1.3",
"readable-stream": "4.4.2",
"readable-web-to-node-stream": "3.0.2"
},
"devDependencies": {
"@playwright/test": "1.40.1",
"@types/chai": "4.3.6",
"@types/chai-as-promised": "7.1.5",
"@types/eslint": "8.44.2",
"@types/mocha": "10.0.1",
"@types/ms": "0.7.31",
"@types/readable-stream": "4.0.6",
"@types/sinon": "17.0.2",
"@typescript-eslint/eslint-plugin": "6.4.0",
"@typescript-eslint/parser": "6.4.0",
"@web/test-runner": "0.18.0",
"@web/test-runner-playwright": "0.11.0",
"c8": "9.0.0",
"chai": "4.3.10",
"chai-as-promised": "7.1.1",
"esbuild": "0.19.8",
"eslint": "8.47.0",
"eslint-plugin-mocha": "10.1.0",
"mocha": "10.2.0",
"mocha-junit-reporter": "2.2.1",
"node-stdlib-browser": "1.2.0",
"playwright": "1.40.1",
"rimraf": "4.4.0",
"sinon": "16.1.3",
"source-map-loader": "4.0.2",
"typescript": "5.1.6"
}
}