Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
159 lines
4.5 KiB
JSON
159 lines
4.5 KiB
JSON
{
|
|
"name": "@thirdweb-dev/auth",
|
|
"version": "4.1.12",
|
|
"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"
|
|
},
|
|
"./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"
|
|
},
|
|
"./fastify": {
|
|
"module": {
|
|
"browser": "./fastify/dist/thirdweb-dev-auth-fastify.browser.esm.js",
|
|
"default": "./fastify/dist/thirdweb-dev-auth-fastify.esm.js"
|
|
},
|
|
"default": "./fastify/dist/thirdweb-dev-auth-fastify.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/ && bunx publint --strict --level warning",
|
|
"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",
|
|
"fastify/index.ts",
|
|
"evm/index.ts"
|
|
],
|
|
"exports": {
|
|
"envConditions": [
|
|
"browser"
|
|
]
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.22.9",
|
|
"@babel/preset-env": "^7.22.9",
|
|
"@babel/preset-typescript": "^7.22.5",
|
|
"@microsoft/api-documenter": "^7.22.30",
|
|
"@microsoft/api-extractor": "^7.36.3",
|
|
"@microsoft/tsdoc": "^0.14.1",
|
|
"@preconstruct/cli": "2.7.0",
|
|
"@swc-node/register": "^1.6.6",
|
|
"@swc/core": "^1.3.71",
|
|
"@thirdweb-dev/tsconfig": "workspace:*",
|
|
"@types/chai": "^4.3.5",
|
|
"@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.5",
|
|
"@typescript-eslint/eslint-plugin": "^6.2.0",
|
|
"@typescript-eslint/parser": "^6.2.0",
|
|
"chai": "^4.3.6",
|
|
"cookie-parser": "^1.4.6",
|
|
"eslint": "^8.45.0",
|
|
"eslint-config-prettier": "^8.9.0",
|
|
"eslint-config-thirdweb": "workspace:*",
|
|
"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",
|
|
"express": "^4.18.1",
|
|
"fastify": "^4.24.2",
|
|
"mocha": "^10.2.0",
|
|
"next": "^12.3.4",
|
|
"next-auth": "^4.22.3",
|
|
"prettier": "^3.0.0",
|
|
"typescript": "^5.1.6"
|
|
},
|
|
"peerDependencies": {
|
|
"cookie-parser": "^1.4.6",
|
|
"ethers": "^5",
|
|
"express": "^4",
|
|
"fastify": "^4.24.2",
|
|
"next": "^12 || ^13 || ^14",
|
|
"next-auth": "^4"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"cookie-parser": {
|
|
"optional": true
|
|
},
|
|
"ethers": {
|
|
"optional": true
|
|
},
|
|
"express": {
|
|
"optional": true
|
|
},
|
|
"fastify": {
|
|
"optional": true
|
|
},
|
|
"next": {
|
|
"optional": true
|
|
},
|
|
"next-auth": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cookie": "^9.1.0",
|
|
"@thirdweb-dev/wallets": "workspace:*",
|
|
"cookie": "^0.5.0",
|
|
"fastify-type-provider-zod": "^1.1.9",
|
|
"uuid": "^9.0.1",
|
|
"zod": "^3.22.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|