Files
Jonas Danielsandgithub-actions[bot] 132ccd3535 Version Packages (#5171)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-25 13:06:16 +13:00

69 lines
2.3 KiB
JSON

{
"name": "@thirdweb-dev/service-utils",
"version": "0.4.47",
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"typings": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"default": "./dist/cjs/index.js"
},
"./node": {
"types": "./dist/types/node/index.d.ts",
"import": "./dist/esm/node/index.js",
"default": "./dist/cjs/node/index.js"
},
"./cf-worker": {
"types": "./dist/types/cf-worker/index.d.ts",
"import": "./dist/esm/cf-worker/index.js",
"default": "./dist/cjs/cf-worker/index.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"node": [
"./dist/types/node/index.d.ts"
],
"cf-worker": [
"./dist/types/cf-worker/index.d.ts"
]
}
},
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/pay",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/thirdweb-dev/js/issues"
},
"author": "thirdweb eng <[email protected]>",
"files": [
"dist/"
],
"sideEffects": false,
"dependencies": {
"aws4fetch": "1.0.20",
"zod": "3.23.8"
},
"devDependencies": {
"@cloudflare/workers-types": "4.20241022.0",
"@types/node": "20.14.9",
"typescript": "5.6.3",
"vitest": "2.1.3"
},
"scripts": {
"format": "biome format ./src --write",
"lint": "biome check ./src && tsc --project ./tsconfig.build.json --module esnext --noEmit",
"fix": "biome check ./src --fix",
"clean": "rm -rf dist/",
"build": "pnpm clean && pnpm build:types && pnpm build:cjs && pnpm build:esm",
"build:cjs": "tsc --noCheck --project ./tsconfig.build.json --module commonjs --outDir ./dist/cjs --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json",
"build:esm": "tsc --noCheck --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",
"test": "vitest run"
}
}