Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
163 lines
5.3 KiB
JSON
163 lines
5.3 KiB
JSON
{
|
|
"name": "@thirdweb-dev/sdk",
|
|
"version": "4.0.16",
|
|
"description": "The main thirdweb SDK.",
|
|
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/sdk",
|
|
"license": "Apache-2.0",
|
|
"main": "dist/thirdweb-dev-sdk.cjs.js",
|
|
"module": "dist/thirdweb-dev-sdk.esm.js",
|
|
"browser": {
|
|
"./dist/thirdweb-dev-sdk.esm.js": "./dist/thirdweb-dev-sdk.browser.esm.js"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"module": {
|
|
"browser": "./dist/thirdweb-dev-sdk.browser.esm.js",
|
|
"default": "./dist/thirdweb-dev-sdk.esm.js"
|
|
},
|
|
"default": "./dist/thirdweb-dev-sdk.cjs.js"
|
|
},
|
|
"./evm": {
|
|
"module": {
|
|
"browser": "./evm/dist/thirdweb-dev-sdk-evm.browser.esm.js",
|
|
"default": "./evm/dist/thirdweb-dev-sdk-evm.esm.js"
|
|
},
|
|
"default": "./evm/dist/thirdweb-dev-sdk-evm.cjs.js"
|
|
},
|
|
"./evm/zksync": {
|
|
"module": {
|
|
"browser": "./evm/zksync/dist/thirdweb-dev-sdk-evm-zksync.browser.esm.js",
|
|
"default": "./evm/zksync/dist/thirdweb-dev-sdk-evm-zksync.esm.js"
|
|
},
|
|
"default": "./evm/zksync/dist/thirdweb-dev-sdk-evm-zksync.cjs.js"
|
|
},
|
|
"./evm/functions": {
|
|
"module": {
|
|
"browser": "./evm/functions/dist/thirdweb-dev-sdk-evm-functions.browser.esm.js",
|
|
"default": "./evm/functions/dist/thirdweb-dev-sdk-evm-functions.esm.js"
|
|
},
|
|
"default": "./evm/functions/dist/thirdweb-dev-sdk-evm-functions.cjs.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"evm/",
|
|
"server/"
|
|
],
|
|
"preconstruct": {
|
|
"entrypoints": [
|
|
"index.ts",
|
|
"evm/index.ts",
|
|
"evm/functions/index.ts",
|
|
"evm/zksync/index.ts"
|
|
],
|
|
"exports": {
|
|
"envConditions": [
|
|
"browser"
|
|
]
|
|
}
|
|
},
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"format": "prettier --write 'src/**/*'",
|
|
"lint": "eslint src/",
|
|
"fix": "eslint src/ --fix",
|
|
"clean": "rm -rf dist/",
|
|
"generate-docs": "pnpm generate-docs:evm && pnpm generate-snippets",
|
|
"generate-docs:evm": "api-extractor run --local --config ./config/api-extractor-evm.json && api-documenter markdown -i ./temp -o ./docs/evm && rm -rf ./temp-evm && mv ./temp ./temp-evm",
|
|
"generate-snippets": "node ./scripts/generate-snippets.mjs && node ./scripts/generate-feature-snippets-evm.mjs",
|
|
"build": "tsc && preconstruct build",
|
|
"test:all": "SWC_NODE_PROJECT=./tsconfig.test.json nyc --reporter lcovonly --report-dir ./coverage/evm mocha --config './test/evm/.mocharc.json' --timeout 90000 --parallel './test/evm/**/*.test.ts'",
|
|
"test": "make test-evm",
|
|
"test:single": "SWC_NODE_PROJECT=./tsconfig.test.json mocha --config './test/evm/.mocharc.json' --timeout 90000",
|
|
"push": "yalc push",
|
|
"typedoc": "rimraf typedoc && node typedoc.js"
|
|
},
|
|
"devDependencies": {
|
|
"@aws-sdk/client-secrets-manager": "^3.378.0",
|
|
"@ethersproject/abstract-provider": "^5.7.0",
|
|
"@microsoft/api-documenter": "^7.22.30",
|
|
"@microsoft/api-extractor": "^7.36.3",
|
|
"@microsoft/tsdoc": "^0.14.1",
|
|
"@nomiclabs/hardhat-ethers": "^2.2.3",
|
|
"@preconstruct/cli": "2.7.0",
|
|
"@project-serum/anchor": "^0.25.0",
|
|
"@swc-node/register": "^1.6.6",
|
|
"@swc/core": "^1.3.71",
|
|
"@thirdweb-dev/tsconfig": "workspace:*",
|
|
"@types/bn.js": "^5.1.1",
|
|
"@types/chai": "^4.3.5",
|
|
"@types/deep-equal-in-any-order": "^1.0.1",
|
|
"@types/mocha": "^10.0.0",
|
|
"@types/node": "^18.17.1",
|
|
"@types/uuid": "^9.0.5",
|
|
"@typescript-eslint/eslint-plugin": "^6.2.0",
|
|
"@typescript-eslint/parser": "^6.2.0",
|
|
"chai": "^4.3.6",
|
|
"deep-equal-in-any-order": "^1.1.18",
|
|
"dotenv-mono": "^1.3.10",
|
|
"eslint": "^8.45.0",
|
|
"eslint-config-prettier": "^8.9.0",
|
|
"eslint-config-thirdweb": "workspace:*",
|
|
"eslint-plugin-better-tree-shaking": "0.0.4",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-inclusive-language": "^2.2.0",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"eslint-plugin-tsdoc": "^0.2.16",
|
|
"ethers": "^5.7.2",
|
|
"ethers-aws-kms-signer": "^1.3.2",
|
|
"hardhat": "^2.17.0",
|
|
"mocha": "^10.2.0",
|
|
"nyc": "^15.1.0",
|
|
"prettier": "^3.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"typedoc": "^0.25.2",
|
|
"typescript": "^5.1.6",
|
|
"zksync-web3": "^0.14.3"
|
|
},
|
|
"peerDependencies": {
|
|
"@aws-sdk/client-secrets-manager": "^3.215.0",
|
|
"ethers": "^5",
|
|
"ethers-aws-kms-signer": "^1.3.2",
|
|
"zksync-web3": "^0.14.3"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@aws-sdk/client-secrets-manager": {
|
|
"optional": true
|
|
},
|
|
"ethers-aws-kms-signer": {
|
|
"optional": true
|
|
},
|
|
"zksync-web3": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@thirdweb-dev/chains": "workspace:*",
|
|
"@thirdweb-dev/contracts-js": "workspace:*",
|
|
"@thirdweb-dev/generated-abis": "workspace:*",
|
|
"@thirdweb-dev/storage": "workspace:*",
|
|
"@thirdweb-dev/merkletree": "workspace:*",
|
|
"@thirdweb-dev/crypto": "workspace:*",
|
|
"abitype": "^0.2.5",
|
|
"bn.js": "^5.2.1",
|
|
"bs58": "^5.0.0",
|
|
"buffer": "^6.0.3",
|
|
"eventemitter3": "^5.0.1",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"tiny-invariant": "^1.2.0",
|
|
"tweetnacl": "^1.0.3",
|
|
"uuid": "^9.0.1",
|
|
"yaml": "^2.3.1",
|
|
"zod": "^3.22.3"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/thirdweb-dev/js/issues"
|
|
},
|
|
"author": "thirdweb eng <[email protected]>",
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|