Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
154 lines
4.4 KiB
JSON
154 lines
4.4 KiB
JSON
{
|
|
"name": "@thirdweb-dev/auth",
|
|
"version": "3.1.0",
|
|
"main": "dist/thirdweb-dev-auth.cjs.js",
|
|
"module": "dist/thirdweb-dev-auth.esm.js",
|
|
"browser": {
|
|
"./dist/thirdweb-dev-auth.esm.js": "./dist/thirdweb-dev-auth.browser.esm.js"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"module": {
|
|
"browser": "./dist/thirdweb-dev-auth.browser.esm.js",
|
|
"default": "./dist/thirdweb-dev-auth.esm.js"
|
|
},
|
|
"default": "./dist/thirdweb-dev-auth.cjs.js"
|
|
},
|
|
"./evm": {
|
|
"module": {
|
|
"browser": "./evm/dist/thirdweb-dev-auth-evm.browser.esm.js",
|
|
"default": "./evm/dist/thirdweb-dev-auth-evm.esm.js"
|
|
},
|
|
"default": "./evm/dist/thirdweb-dev-auth-evm.cjs.js"
|
|
},
|
|
"./next": {
|
|
"module": {
|
|
"browser": "./next/dist/thirdweb-dev-auth-next.browser.esm.js",
|
|
"default": "./next/dist/thirdweb-dev-auth-next.esm.js"
|
|
},
|
|
"default": "./next/dist/thirdweb-dev-auth-next.cjs.js"
|
|
},
|
|
"./solana": {
|
|
"module": {
|
|
"browser": "./solana/dist/thirdweb-dev-auth-solana.browser.esm.js",
|
|
"default": "./solana/dist/thirdweb-dev-auth-solana.esm.js"
|
|
},
|
|
"default": "./solana/dist/thirdweb-dev-auth-solana.cjs.js"
|
|
},
|
|
"./express": {
|
|
"module": {
|
|
"browser": "./express/dist/thirdweb-dev-auth-express.browser.esm.js",
|
|
"default": "./express/dist/thirdweb-dev-auth-express.esm.js"
|
|
},
|
|
"default": "./express/dist/thirdweb-dev-auth-express.cjs.js"
|
|
},
|
|
"./next-auth": {
|
|
"module": {
|
|
"browser": "./next-auth/dist/thirdweb-dev-auth-next-auth.browser.esm.js",
|
|
"default": "./next-auth/dist/thirdweb-dev-auth-next-auth.esm.js"
|
|
},
|
|
"default": "./next-auth/dist/thirdweb-dev-auth-next-auth.cjs.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/auth",
|
|
"author": "thirdweb eng <[email protected]>",
|
|
"license": "Apache-2.0",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "preconstruct build",
|
|
"format": "prettier --write 'src/**/*'",
|
|
"lint": "eslint src/",
|
|
"fix": "eslint src/ --fix",
|
|
"clean": "rm -rf dist/ && rm -rf node_modules/",
|
|
"test": "mocha --config './test/.mocharc.json' --timeout 30000 --parallel './test/**/*.test.ts'",
|
|
"push": "yalc push"
|
|
},
|
|
"preconstruct": {
|
|
"entrypoints": [
|
|
"index.ts",
|
|
"express/index.ts",
|
|
"next/index.ts",
|
|
"next-auth/index.ts",
|
|
"evm/index.ts",
|
|
"solana/index.ts"
|
|
],
|
|
"exports": {
|
|
"envConditions": [
|
|
"browser"
|
|
]
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.19.3",
|
|
"@babel/preset-env": "^7.18.10",
|
|
"@babel/preset-typescript": "^7.18.6",
|
|
"@microsoft/api-documenter": "^7.19.4",
|
|
"@microsoft/api-extractor": "^7.29.2",
|
|
"@microsoft/tsdoc": "^0.14.1",
|
|
"@preconstruct/cli": "^2.2.1",
|
|
"@solana/web3.js": "^1.62.0",
|
|
"@swc-node/register": "^1.5.1",
|
|
"@swc/core": "^1.3.23",
|
|
"@thirdweb-dev/tsconfig": "workspace:*",
|
|
"@types/chai": "^4.3.3",
|
|
"@types/cookie": "^0.5.1",
|
|
"@types/cookie-parser": "^1.4.3",
|
|
"@types/express": "^4.17.13",
|
|
"@types/mocha": "^10.0.0",
|
|
"@types/uuid": "^9.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.33.0",
|
|
"@typescript-eslint/parser": "^5.33.0",
|
|
"chai": "^4.3.6",
|
|
"cookie-parser": "^1.4.6",
|
|
"eslint": "^8.21.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-config-thirdweb": "workspace:*",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-inclusive-language": "^2.2.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-tsdoc": "^0.2.16",
|
|
"ethers": "^5.7.2",
|
|
"express": "^4.18.1",
|
|
"mocha": "^10.2.0",
|
|
"next": "^12.2.0",
|
|
"next-auth": "^4.20.1",
|
|
"prettier": "^2.7.1",
|
|
"typescript": "^4.7.4"
|
|
},
|
|
"peerDependencies": {
|
|
"@solana/web3.js": "^1.73.0",
|
|
"cookie-parser": "^1.4.6",
|
|
"ethers": "^5",
|
|
"express": "^4",
|
|
"next": "^12 || ^13",
|
|
"next-auth": "^4"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@solana/web3.js": {
|
|
"optional": true
|
|
},
|
|
"cookie-parser": {
|
|
"optional": true
|
|
},
|
|
"ethers": {
|
|
"optional": true
|
|
},
|
|
"express": {
|
|
"optional": true
|
|
},
|
|
"next": {
|
|
"optional": true
|
|
},
|
|
"next-auth": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@thirdweb-dev/wallets": "workspace:*",
|
|
"cookie": "^0.5.0",
|
|
"uuid": "^9.0.0",
|
|
"zod": "^3.20.2"
|
|
}
|
|
}
|