|
1 | 1 | { |
2 | 2 | "name": "@delvtech/hyperdrive-js", |
3 | 3 | "version": "0.0.2", |
4 | | - "license": "AGPL-3.0", |
| 4 | + "description": "TypeScript SDK for the Hyperdrive AMM.", |
| 5 | + "license": "Apache-2.0", |
| 6 | + "author": "DELV (https://github.com/delvtech)", |
| 7 | + "repository": { |
| 8 | + "type": "git", |
| 9 | + "url": "git+https://github.com/delvtech/hyperdrive-frontend.git", |
| 10 | + "directory": "packages/hyperdrive-js" |
| 11 | + }, |
5 | 12 | "type": "module", |
| 13 | + "sideEffects": false, |
| 14 | + "exports": { |
| 15 | + ".": { |
| 16 | + "require": { |
| 17 | + "types": "./dist/index.d.cts", |
| 18 | + "default": "./dist/index.cjs" |
| 19 | + }, |
| 20 | + "import": { |
| 21 | + "types": "./dist/index.d.ts", |
| 22 | + "default": "./dist/index.js" |
| 23 | + } |
| 24 | + }, |
| 25 | + "./v1.0.14": { |
| 26 | + "require": { |
| 27 | + "types": "./dist/v1.0.14.d.cts", |
| 28 | + "default": "./dist/v1.0.14.cjs" |
| 29 | + }, |
| 30 | + "import": { |
| 31 | + "types": "./dist/v1.0.14.d.ts", |
| 32 | + "default": "./dist/v1.0.14.js" |
| 33 | + } |
| 34 | + }, |
| 35 | + "./package.json": "./package.json" |
| 36 | + }, |
6 | 37 | "scripts": { |
7 | 38 | "build": "tsup", |
8 | 39 | "watch": "npm run build -- --watch", |
|
41 | 72 | "vite-tsconfig-paths": "^4.3.2", |
42 | 73 | "vitest": "^2.0.4" |
43 | 74 | }, |
44 | | - "main": "dist/index.js", |
| 75 | + "main": "dist/index.cjs", |
| 76 | + "module": "dist/index.js", |
45 | 77 | "types": "dist/index.d.ts", |
| 78 | + "typesVersions": { |
| 79 | + "*": { |
| 80 | + ".": [ |
| 81 | + "./dist/index.d.ts" |
| 82 | + ], |
| 83 | + "v1.0.14": [ |
| 84 | + "./dist/v1.0.14.js" |
| 85 | + ] |
| 86 | + } |
| 87 | + }, |
46 | 88 | "files": [ |
47 | 89 | "dist" |
48 | 90 | ], |
49 | | - "exports": { |
50 | | - ".": { |
51 | | - "types": "./dist/index.d.ts", |
52 | | - "default": "./dist/index.js", |
53 | | - "require": "./dist/index.cjs" |
54 | | - }, |
55 | | - "./v1.0.14": { |
56 | | - "types": "./dist/v1.0.14.d.ts", |
57 | | - "default": "./dist/v1.0.14.js", |
58 | | - "require": "./dist/v1.0.14.cjs" |
59 | | - }, |
60 | | - "./package.json": "./package.json" |
61 | | - }, |
62 | 91 | "publishConfig": { |
63 | 92 | "access": "public" |
64 | 93 | } |
|
0 commit comments