UNPKG

@aptos-labs/wallet-adapter-core

Version:
69 lines 2.22 kB
{ "name": "@aptos-labs/wallet-adapter-core", "version": "8.2.0", "description": "Aptos Wallet Adapter Core", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "license": "Apache-2.0", "exports": { "types": "./dist/index.d.ts", "require": "./dist/index.js", "import": "./dist/index.mjs" }, "repository": { "type": "git", "url": "https://github.com/aptos-labs/aptos-wallet-adapter.git" }, "homepage": "https://github.com/aptos-labs/aptos-wallet-adapter", "bugs": { "url": "https://github.com/aptos-labs/aptos-wallet-adapter/issues" }, "author": "aptoslabs.com", "keywords": [ "Aptos", "Aptos Labs", "Wallet", "Wallet Adapter", "Aptos Wallet" ], "devDependencies": { "@swc/core": "^1.11.16", "@types/jest": "^29.2.4", "@types/node": "^20.10.4", "eslint": "^8.57.1", "jest": "^29.3.1", "ts-jest": "^29.0.3", "tsup": "^8.4.0", "typescript": "^5.8.3", "@aptos-labs/eslint-config-adapter": "0.0.2", "@aptos-labs/wallet-adapter-tsconfig": "0.0.2" }, "dependencies": { "@aptos-connect/wallet-adapter-plugin": "^3.0.2", "@aptos-labs/wallet-standard": "^0.5.2", "buffer": "^6.0.3", "eventemitter3": "^4.0.7", "tweetnacl": "^1.0.3" }, "peerDependencies": { "@aptos-labs/ts-sdk": "^5.1.1" }, "files": [ "dist", "src", "!src/**.test.ts", "!src/**/__tests__" ], "scripts": { "update-version": "node -p \"'export const WALLET_ADAPTER_CORE_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts", "build-package": "export $(cat .env | xargs) && pnpm build:bundle && pnpm build:declarations", "build:bundle": "tsup src/index.ts --format cjs,esm --sourcemap --env.GAID $GAID", "build:declarations": "tsc --emitDeclarationOnly --declaration --declarationMap", "build": "pnpm run update-version && pnpm run build-package", "dev": "export $(cat .env | xargs) && tsup src/index.ts --format esm,cjs --watch --dts --env.GAID $GAID", "test": "jest", "lint": "TIMING=1 eslint \"src/**/*.ts*\"", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" } }