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