Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <[email protected]>
309 lines
9.5 KiB
JSON
309 lines
9.5 KiB
JSON
{
|
|
"name": "thirdweb",
|
|
"version": "5.29.1",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/thirdweb-dev/js.git#main"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/thirdweb-dev/js/issues"
|
|
},
|
|
"author": "thirdweb eng <[email protected]>",
|
|
"type": "module",
|
|
"bin": {
|
|
"thirdweb": "./dist/esm/cli/bin.js",
|
|
"thirdweb-cli": "./dist/esm/cli/bin.js"
|
|
},
|
|
"main": "./dist/cjs/exports/thirdweb.js",
|
|
"module": "./dist/esm/exports/thirdweb.js",
|
|
"types": "./dist/types/exports/thirdweb.d.ts",
|
|
"typings": "./dist/types/exports/thirdweb.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/types/exports/thirdweb.d.ts",
|
|
"import": "./dist/esm/exports/thirdweb.js",
|
|
"default": "./dist/cjs/exports/thirdweb.js"
|
|
},
|
|
"./adapters/*": {
|
|
"types": "./dist/types/exports/adapters/*.d.ts",
|
|
"import": "./dist/esm/exports/adapters/*.js",
|
|
"default": "./dist/cjs/exports/adapters/*.js"
|
|
},
|
|
"./auth": {
|
|
"types": "./dist/types/exports/auth.d.ts",
|
|
"import": "./dist/esm/exports/auth.js",
|
|
"default": "./dist/cjs/exports/auth.js"
|
|
},
|
|
"./chains": {
|
|
"types": "./dist/types/exports/chains.d.ts",
|
|
"import": "./dist/esm/exports/chains.js",
|
|
"default": "./dist/cjs/exports/chains.js"
|
|
},
|
|
"./contract": {
|
|
"types": "./dist/types/exports/contract.d.ts",
|
|
"import": "./dist/esm/exports/contract.js",
|
|
"default": "./dist/cjs/exports/contract.js"
|
|
},
|
|
"./deploys": {
|
|
"types": "./dist/types/exports/deploys.d.ts",
|
|
"import": "./dist/esm/exports/deploys.js",
|
|
"default": "./dist/cjs/exports/deploys.js"
|
|
},
|
|
"./event": {
|
|
"types": "./dist/types/exports/event.d.ts",
|
|
"import": "./dist/esm/exports/event.js",
|
|
"default": "./dist/cjs/exports/event.js"
|
|
},
|
|
"./extensions/*": {
|
|
"types": "./dist/types/exports/extensions/*.d.ts",
|
|
"import": "./dist/esm/exports/extensions/*.js",
|
|
"default": "./dist/cjs/exports/extensions/*.js"
|
|
},
|
|
"./pay": {
|
|
"types": "./dist/types/exports/pay.d.ts",
|
|
"import": "./dist/esm/exports/pay.js",
|
|
"default": "./dist/cjs/exports/pay.js"
|
|
},
|
|
"./react": {
|
|
"types": "./dist/types/exports/react.d.ts",
|
|
"import": "./dist/esm/exports/react.js",
|
|
"react-native": "./dist/esm/exports/react-native.js",
|
|
"default": "./dist/cjs/exports/react.js"
|
|
},
|
|
"./react-native": {
|
|
"types": "./dist/types/exports/react-native.d.ts",
|
|
"import": "./dist/esm/exports/react-native.js",
|
|
"default": "./dist/cjs/exports/react-native.js"
|
|
},
|
|
"./rpc": {
|
|
"types": "./dist/types/exports/rpc.d.ts",
|
|
"import": "./dist/esm/exports/rpc.js",
|
|
"default": "./dist/cjs/exports/rpc.js"
|
|
},
|
|
"./storage": {
|
|
"types": "./dist/types/exports/storage.d.ts",
|
|
"import": "./dist/esm/exports/storage.js",
|
|
"default": "./dist/cjs/exports/storage.js"
|
|
},
|
|
"./transaction": {
|
|
"types": "./dist/types/exports/transaction.d.ts",
|
|
"import": "./dist/esm/exports/transaction.js",
|
|
"default": "./dist/cjs/exports/transaction.js"
|
|
},
|
|
"./utils": {
|
|
"types": "./dist/types/exports/utils.d.ts",
|
|
"import": "./dist/esm/exports/utils.js",
|
|
"default": "./dist/cjs/exports/utils.js"
|
|
},
|
|
"./wallets": {
|
|
"types": "./dist/types/exports/wallets.d.ts",
|
|
"import": "./dist/esm/exports/wallets.js",
|
|
"default": "./dist/cjs/exports/wallets.js"
|
|
},
|
|
"./wallets/*": {
|
|
"types": "./dist/types/exports/wallets/*.d.ts",
|
|
"import": "./dist/esm/exports/wallets/*.js",
|
|
"default": "./dist/cjs/exports/wallets/*.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"adapters/*": [
|
|
"./dist/types/exports/adapters/*.d.ts"
|
|
],
|
|
"auth": [
|
|
"./dist/types/exports/auth.d.ts"
|
|
],
|
|
"chains": [
|
|
"./dist/types/exports/chains.d.ts"
|
|
],
|
|
"contract": [
|
|
"./dist/types/exports/contract.d.ts"
|
|
],
|
|
"deploys": [
|
|
"./dist/types/exports/deploys.d.ts"
|
|
],
|
|
"event": [
|
|
"./dist/types/exports/event.d.ts"
|
|
],
|
|
"extensions/*": [
|
|
"./dist/types/exports/extensions/*.d.ts"
|
|
],
|
|
"pay": [
|
|
"./dist/types/exports/pay.d.ts"
|
|
],
|
|
"react": [
|
|
"./dist/types/exports/react.d.ts"
|
|
],
|
|
"react-native": [
|
|
"./dist/types/exports/react-native.d.ts"
|
|
],
|
|
"rpc": [
|
|
"./dist/types/exports/rpc.d.ts"
|
|
],
|
|
"storage": [
|
|
"./dist/types/exports/storage.d.ts"
|
|
],
|
|
"transaction": [
|
|
"./dist/types/exports/transaction.d.ts"
|
|
],
|
|
"utils": [
|
|
"./dist/types/exports/utils.d.ts"
|
|
],
|
|
"wallets": [
|
|
"./dist/types/exports/wallets.d.ts"
|
|
],
|
|
"wallets/*": [
|
|
"./dist/types/exports/wallets/*.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"browser": {
|
|
"crypto": false
|
|
},
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist/*",
|
|
"src/*",
|
|
"!**/*.tsbuildinfo",
|
|
"!**/*.test.ts",
|
|
"!**/*.test.tsx",
|
|
"!**/*.test.ts.snap",
|
|
"!**/*.test-d.ts",
|
|
"!**/*.bench.ts",
|
|
"!tsconfig.build.json"
|
|
],
|
|
"dependencies": {
|
|
"@coinbase/wallet-sdk": "4.0.3",
|
|
"@emotion/react": "11.11.4",
|
|
"@emotion/styled": "11.11.0",
|
|
"@google/model-viewer": "2.1.1",
|
|
"@noble/curves": "1.4.0",
|
|
"@noble/hashes": "1.4.0",
|
|
"@passwordless-id/webauthn": "^1.6.1",
|
|
"@radix-ui/react-dialog": "1.0.5",
|
|
"@radix-ui/react-focus-scope": "1.0.4",
|
|
"@radix-ui/react-icons": "1.3.0",
|
|
"@radix-ui/react-tooltip": "1.0.7",
|
|
"@tanstack/react-query": "5.29.2",
|
|
"@walletconnect/ethereum-provider": "2.12.2",
|
|
"@walletconnect/sign-client": "^2.13.1",
|
|
"abitype": "1.0.0",
|
|
"fast-text-encoding": "^1.0.6",
|
|
"fuse.js": "7.0.0",
|
|
"input-otp": "^1.2.4",
|
|
"mipd": "0.0.7",
|
|
"node-libs-browser": "2.2.1",
|
|
"uqr": "0.1.2",
|
|
"viem": "2.13.7"
|
|
},
|
|
"peerDependencies": {
|
|
"@aws-sdk/client-lambda": "^3",
|
|
"@aws-sdk/credential-providers": "^3",
|
|
"@coinbase/wallet-mobile-sdk": "^1",
|
|
"@react-native-async-storage/async-storage": "^1",
|
|
"amazon-cognito-identity-js": "^6",
|
|
"aws-amplify": "^5",
|
|
"ethers": "^5 || ^6",
|
|
"expo-web-browser": "^13",
|
|
"react": ">=18",
|
|
"react-native": ">=0.70",
|
|
"react-native-aes-gcm-crypto": "^0.2",
|
|
"react-native-quick-crypto": ">=0.7.0-rc.6 || >=0.7",
|
|
"typescript": ">=5.0.4"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"react": {
|
|
"optional": true
|
|
},
|
|
"react-native": {
|
|
"optional": true
|
|
},
|
|
"ethers": {
|
|
"optional": true
|
|
},
|
|
"typescript": {
|
|
"optional": true
|
|
},
|
|
"react-native-aes-gcm-crypto": {
|
|
"optional": true
|
|
},
|
|
"expo-web-browser": {
|
|
"optional": true
|
|
},
|
|
"react-native-quick-crypto": {
|
|
"optional": true
|
|
},
|
|
"aws-amplify": {
|
|
"optional": true
|
|
},
|
|
"@aws-sdk/client-lambda": {
|
|
"optional": true
|
|
},
|
|
"@aws-sdk/credential-providers": {
|
|
"optional": true
|
|
},
|
|
"amazon-cognito-identity-js": {
|
|
"optional": true
|
|
},
|
|
"@react-native-async-storage/async-storage": {
|
|
"optional": true
|
|
},
|
|
"@coinbase/wallet-mobile-sdk": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"bench:compare": "bun run ./benchmarks/run.ts",
|
|
"bench": "vitest -c ./test/vitest.config.ts bench",
|
|
"format": "biome format 'src/**/*' --write",
|
|
"lint": "biome check src/",
|
|
"fix": "biome check src/ --apply",
|
|
"knip": "knip",
|
|
"build:generate": "bun scripts/generate/generate.ts",
|
|
"build:generate-wallets": "bun scripts/wallets/generate.ts",
|
|
"dev": "tsc --project ./tsconfig.build.json --module es2020 --outDir ./dist/esm --watch",
|
|
"build": "pnpm clean && pnpm build:cjs && pnpm build:esm && pnpm build:types",
|
|
"build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./dist/cjs --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json",
|
|
"build:esm": "tsc --project ./tsconfig.build.json --module es2020 --outDir ./dist/esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./dist/esm/package.json",
|
|
"build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
|
|
"clean": "rimraf dist",
|
|
"push": "yalc push",
|
|
"size": "size-limit",
|
|
"test:watch": "vitest -c ./test/vitest.config.ts dev",
|
|
"test": "vitest run -c ./test/vitest.config.ts --coverage",
|
|
"test:cov": "vitest dev -c ./test/vitest.config.ts --coverage",
|
|
"test:dev": "vitest run -c ./test/vitest.config.ts",
|
|
"test:react": "vitest run -c ./test/vitest.config.ts dev --ui src/react",
|
|
"typedoc": "node scripts/typedoc.mjs",
|
|
"update-version": "node scripts/version.mjs"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"devDependencies": {
|
|
"@aws-sdk/client-lambda": "3.577.0",
|
|
"@aws-sdk/credential-providers": "3.577.0",
|
|
"@coinbase/wallet-mobile-sdk": "1.0.13",
|
|
"@react-native-async-storage/async-storage": "^1.23.1",
|
|
"@testing-library/jest-dom": "^6.4.5",
|
|
"@testing-library/react": "^15.0.6",
|
|
"@testing-library/react-hooks": "^8.0.1",
|
|
"@types/cross-spawn": "^6.0.6",
|
|
"@types/react": "18.2.17",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"@vitest/ui": "1.5.0",
|
|
"amazon-cognito-identity-js": "6.3.12",
|
|
"aws-amplify": "5.3.18",
|
|
"cross-spawn": "7.0.3",
|
|
"expo-web-browser": "13.0.3",
|
|
"happy-dom": "^14.10.1",
|
|
"react-native": "0.74.1",
|
|
"react-native-aes-gcm-crypto": "0.2.2",
|
|
"react-native-quick-crypto": "0.7.0-rc.6",
|
|
"vitest": "1.5.0"
|
|
}
|
|
}
|