|
| 1 | +{ |
| 2 | + "author": "thirdweb eng <[email protected]>", |
| 3 | + "browser": { |
| 4 | + "crypto": false |
| 5 | + }, |
| 6 | + "bugs": { |
| 7 | + "url": "https://github.com/thirdweb-dev/js/issues" |
| 8 | + }, |
| 9 | + "dependencies": {}, |
| 10 | + "devDependencies": { |
| 11 | + "@biomejs/biome": "2.0.6", |
| 12 | + "knip": "5.60.2", |
| 13 | + "size-limit": "11.2.0", |
| 14 | + "typescript": "5.8.3", |
| 15 | + "rimraf": "6.0.1" |
| 16 | + }, |
| 17 | + "engines": { |
| 18 | + "node": ">=22" |
| 19 | + }, |
| 20 | + "exports": { |
| 21 | + ".": { |
| 22 | + "types": "./dist/types/exports/nexus.d.ts", |
| 23 | + "import": "./dist/esm/exports/nexus.js", |
| 24 | + "default": "./dist/cjs/exports/nexus.js" |
| 25 | + } |
| 26 | + }, |
| 27 | + "files": [ |
| 28 | + "dist/*", |
| 29 | + "src/*", |
| 30 | + "!**/*.tsbuildinfo", |
| 31 | + "!**/*.test.ts", |
| 32 | + "!**/*.test.tsx", |
| 33 | + "!**/*.test.ts.snap", |
| 34 | + "!**/*.test-d.ts", |
| 35 | + "!**/*.bench.ts", |
| 36 | + "!tsconfig.build.json" |
| 37 | + ], |
| 38 | + "license": "Apache-2.0", |
| 39 | + "main": "./dist/cjs/exports/nexus.js", |
| 40 | + "module": "./dist/esm/exports/nexus.js", |
| 41 | + "name": "@thirdweb-dev/nexus", |
| 42 | + "peerDependencies": { |
| 43 | + "typescript": ">=5.0.4" |
| 44 | + }, |
| 45 | + "peerDependenciesMeta": { |
| 46 | + "typescript": { |
| 47 | + "optional": true |
| 48 | + } |
| 49 | + }, |
| 50 | + "repository": { |
| 51 | + "type": "git", |
| 52 | + "url": "git+https://github.com/thirdweb-dev/js.git#main" |
| 53 | + }, |
| 54 | + "scripts": { |
| 55 | + "build": "pnpm clean && pnpm build:types && pnpm build:cjs && pnpm build:esm", |
| 56 | + "build:cjs": "tsc --noCheck --project ./tsconfig.build.json --module commonjs --outDir ./dist/cjs --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json", |
| 57 | + "build:esm": "tsc --noCheck --project ./tsconfig.build.json --module es2020 --outDir ./dist/esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./dist/esm/package.json", |
| 58 | + "build:types": "tsc --project ./tsconfig.build.json --module nodenext --moduleResolution nodenext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap", |
| 59 | + "clean": "rimraf dist", |
| 60 | + "dev": "tsc --project ./tsconfig.build.json --module nodenext --moduleResolution nodenext --outDir ./dist/esm --watch", |
| 61 | + "dev:cjs": "printf '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json && tsc --noCheck --project ./tsconfig.build.json --module commonjs --outDir ./dist/cjs --verbatimModuleSyntax false --watch", |
| 62 | + "dev:esm": "printf '{\"type\": \"module\",\"sideEffects\":false}' > ./dist/esm/package.json && tsc --noCheck --project ./tsconfig.build.json --module es2020 --outDir ./dist/esm --watch", |
| 63 | + "fix": "biome check ./src --fix", |
| 64 | + "format": "biome format ./src --write", |
| 65 | + "knip": "knip", |
| 66 | + "lint": "knip && biome check ./src && tsc --project ./tsconfig.build.json --module nodenext --moduleResolution nodenext --noEmit", |
| 67 | + "size": "size-limit", |
| 68 | + "typecheck": "tsc --project ./tsconfig.build.json --module nodenext --moduleResolution nodenext --noEmit", |
| 69 | + "update-version": "node scripts/version.mjs" |
| 70 | + }, |
| 71 | + "sideEffects": false, |
| 72 | + "type": "module", |
| 73 | + "types": "./dist/types/exports/nexus.d.ts", |
| 74 | + "typings": "./dist/types/exports/nexus.d.ts", |
| 75 | + "version": "0.1.0" |
| 76 | +} |
0 commit comments