Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
69 lines
2.3 KiB
JSON
69 lines
2.3 KiB
JSON
{
|
|
"name": "@thirdweb-dev/service-utils",
|
|
"version": "0.6.0",
|
|
"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.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "4.20241216.0",
|
|
"@types/node": "22.10.2",
|
|
"typescript": "5.7.2",
|
|
"vitest": "2.1.8"
|
|
},
|
|
"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"
|
|
}
|
|
}
|