|
| 1 | +{ |
| 2 | + "name": "@thirdweb-dev/nebula", |
| 3 | + "version": "1.0.0", |
| 4 | + "repository": { |
| 5 | + "type": "git", |
| 6 | + "url": "git+https://github.com/thirdweb-dev/js.git#main" |
| 7 | + }, |
| 8 | + "license": "Apache-2.0", |
| 9 | + "bugs": { |
| 10 | + "url": "https://github.com/thirdweb-dev/js/issues" |
| 11 | + }, |
| 12 | + "author": "thirdweb eng <[email protected]>", |
| 13 | + "type": "module", |
| 14 | + "main": "./dist/cjs/exports/thirdweb.js", |
| 15 | + "module": "./dist/esm/exports/thirdweb.js", |
| 16 | + "types": "./dist/types/exports/thirdweb.d.ts", |
| 17 | + "typings": "./dist/types/exports/thirdweb.d.ts", |
| 18 | + "exports": { |
| 19 | + ".": { |
| 20 | + "types": "./dist/types/exports/thirdweb.d.ts", |
| 21 | + "import": "./dist/esm/exports/thirdweb.js", |
| 22 | + "default": "./dist/cjs/exports/thirdweb.js" |
| 23 | + }, |
| 24 | + "./package.json": "./package.json" |
| 25 | + }, |
| 26 | + "files": ["dist/*", "src/*"], |
| 27 | + "dependencies": { |
| 28 | + "@hey-api/client-fetch": "0.10.0", |
| 29 | + "thirdweb": "workspace:*" |
| 30 | + }, |
| 31 | + "devDependencies": { |
| 32 | + "@hey-api/openapi-ts": "0.72.1", |
| 33 | + "rimraf": "6.0.1", |
| 34 | + "tslib": "^2.8.1" |
| 35 | + }, |
| 36 | + "peerDependencies": { |
| 37 | + "typescript": ">=5.0.4" |
| 38 | + }, |
| 39 | + "peerDependenciesMeta": { |
| 40 | + "typescript": { |
| 41 | + "optional": true |
| 42 | + } |
| 43 | + }, |
| 44 | + "scripts": { |
| 45 | + "format": "biome format ./src --write", |
| 46 | + "lint": "biome check ./src", |
| 47 | + "fix": "biome check ./src --fix", |
| 48 | + "build": "pnpm clean && pnpm build:cjs && pnpm build:esm && pnpm build:types", |
| 49 | + "build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./dist/cjs --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json", |
| 50 | + "build:esm": "tsc --project ./tsconfig.build.json --module es2020 --outDir ./dist/esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./dist/esm/package.json", |
| 51 | + "build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap", |
| 52 | + "clean": "rimraf dist", |
| 53 | + "build:generate": "openapi-ts && pnpm format" |
| 54 | + }, |
| 55 | + "engines": { |
| 56 | + "node": ">=18" |
| 57 | + } |
| 58 | +} |
0 commit comments