Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
80 lines
2.8 KiB
JSON
80 lines
2.8 KiB
JSON
{
|
|
"author": "thirdweb eng <[email protected]>",
|
|
"browser": {
|
|
"crypto": false
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/thirdweb-dev/js/issues"
|
|
},
|
|
"dependencies": {
|
|
"x402": "0.7.0",
|
|
"zod": "3.25.75"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.0.6",
|
|
"@size-limit/preset-small-lib": "11.2.0",
|
|
"knip": "5.60.2",
|
|
"rimraf": "6.0.1",
|
|
"size-limit": "11.2.0",
|
|
"typescript": "5.8.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/types/exports/nexus.d.ts",
|
|
"import": "./dist/esm/exports/nexus.js",
|
|
"default": "./dist/cjs/exports/nexus.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist/*",
|
|
"src/*",
|
|
"!**/*.tsbuildinfo",
|
|
"!**/*.test.ts",
|
|
"!**/*.test.tsx",
|
|
"!**/*.test.ts.snap",
|
|
"!**/*.test-d.ts",
|
|
"!**/*.bench.ts",
|
|
"!tsconfig.build.json"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"main": "./dist/cjs/exports/nexus.js",
|
|
"module": "./dist/esm/exports/nexus.js",
|
|
"name": "@thirdweb-dev/nexus",
|
|
"peerDependencies": {
|
|
"typescript": ">=5.0.4"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"typescript": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/thirdweb-dev/js.git#main"
|
|
},
|
|
"scripts": {
|
|
"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 nodenext --moduleResolution nodenext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
|
|
"clean": "rimraf dist",
|
|
"dev": "tsc --project ./tsconfig.build.json --module nodenext --moduleResolution nodenext --outDir ./dist/esm --watch",
|
|
"dev:cjs": "printf '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json && tsc --noCheck --project ./tsconfig.build.json --module commonjs --outDir ./dist/cjs --verbatimModuleSyntax false --watch",
|
|
"dev:esm": "printf '{\"type\": \"module\",\"sideEffects\":false}' > ./dist/esm/package.json && tsc --noCheck --project ./tsconfig.build.json --module es2020 --outDir ./dist/esm --watch",
|
|
"fix": "biome check ./src --fix",
|
|
"format": "biome format ./src --write",
|
|
"knip": "knip",
|
|
"lint": "knip && biome check ./src && tsc --project ./tsconfig.build.json --module nodenext --moduleResolution nodenext --noEmit",
|
|
"size": "size-limit",
|
|
"typecheck": "tsc --project ./tsconfig.build.json --module nodenext --moduleResolution nodenext --noEmit"
|
|
},
|
|
"sideEffects": false,
|
|
"type": "module",
|
|
"types": "./dist/types/exports/nexus.d.ts",
|
|
"typings": "./dist/types/exports/nexus.d.ts",
|
|
"version": "0.1.0"
|
|
}
|