|
1 | 1 | { |
2 | 2 | "name": "alchemy-effect", |
3 | 3 | "version": "0.5.0", |
| 4 | + "homepage": "https://alchemy.run", |
4 | 5 | "license": "Apache-2.0", |
5 | 6 | "author": "Sam Goodwin <sam@alchemy.run>", |
6 | | - "homepage": "https://alchemy.run", |
7 | 7 | "repository": { |
8 | 8 | "type": "git", |
9 | 9 | "url": "git+https://github.com/alchemy-run/alchemy-effect.git", |
10 | 10 | "directory": "alchemy" |
11 | 11 | }, |
12 | | - "type": "module", |
13 | | - "sideEffects": false, |
| 12 | + "bin": { |
| 13 | + "alchemy-effect": "bin/alchemy-effect.js" |
| 14 | + }, |
14 | 15 | "files": [ |
15 | 16 | "bin", |
16 | 17 | "lib", |
17 | 18 | "src" |
18 | 19 | ], |
19 | | - "bin": { |
20 | | - "alchemy-effect": "bin/alchemy-effect.js" |
21 | | - }, |
22 | | - "scripts": { |
23 | | - "dev": "tsdown --watch", |
24 | | - "build": "bun bundle && bun pm pack", |
25 | | - "bundle": "tsdown", |
26 | | - "bundle:watch": "tsdown --watch", |
27 | | - "publish:npm": "cp ../README.md . && bun publish && rm README.md", |
28 | | - "test:benchmark": "tsx --tsconfig tsconfig.test.json test/types.benchmark.ts" |
29 | | - }, |
| 20 | + "type": "module", |
| 21 | + "sideEffects": false, |
30 | 22 | "exports": { |
31 | 23 | ".": { |
| 24 | + "types": "./src/index.d.ts", |
32 | 25 | "bun": "./src/index.ts", |
33 | | - "import": "./lib/index.js", |
34 | | - "types": "./src/index.d.ts" |
| 26 | + "import": "./lib/index.js" |
35 | 27 | }, |
36 | 28 | "./Output": { |
| 29 | + "types": "./lib/output.d.ts", |
37 | 30 | "bun": "./src/output.ts", |
38 | | - "import": "./lib/output.js", |
39 | | - "types": "./lib/output.d.ts" |
| 31 | + "import": "./lib/output.js" |
40 | 32 | }, |
41 | 33 | "./aws": { |
| 34 | + "types": "./lib/aws/index.d.ts", |
42 | 35 | "bun": "./src/aws/index.ts", |
43 | | - "import": "./lib/aws/index.js", |
44 | | - "types": "./lib/aws/index.d.ts" |
| 36 | + "import": "./lib/aws/index.js" |
45 | 37 | }, |
46 | 38 | "./aws/dynamodb": { |
| 39 | + "types": "./lib/aws/dynamodb/index.d.ts", |
47 | 40 | "bun": "./src/aws/dynamodb/index.ts", |
48 | | - "import": "./lib/aws/dynamodb/index.js", |
49 | | - "types": "./lib/aws/dynamodb/index.d.ts" |
| 41 | + "import": "./lib/aws/dynamodb/index.js" |
50 | 42 | }, |
51 | 43 | "./aws/ec2": { |
| 44 | + "types": "./lib/aws/ec2/index.d.ts", |
52 | 45 | "bun": "./src/aws/ec2/index.ts", |
53 | | - "import": "./lib/aws/ec2/index.js", |
54 | | - "types": "./lib/aws/ec2/index.d.ts" |
| 46 | + "import": "./lib/aws/ec2/index.js" |
55 | 47 | }, |
56 | 48 | "./aws/lambda": { |
| 49 | + "types": "./lib/aws/lambda/index.d.ts", |
57 | 50 | "bun": "./src/aws/lambda/index.ts", |
58 | | - "import": "./lib/aws/lambda/index.js", |
59 | | - "types": "./lib/aws/lambda/index.d.ts" |
| 51 | + "import": "./lib/aws/lambda/index.js" |
60 | 52 | }, |
61 | 53 | "./aws/sqs": { |
| 54 | + "types": "./lib/sqs/aws/index.d.ts", |
62 | 55 | "bun": "./src/aws/sqs/index.ts", |
63 | | - "import": "./lib/aws/sqs/index.js", |
64 | | - "types": "./lib/sqs/aws/index.d.ts" |
| 56 | + "import": "./lib/aws/sqs/index.js" |
65 | 57 | }, |
66 | 58 | "./aws/sts": { |
| 59 | + "types": "./lib/sts.d.ts", |
67 | 60 | "bun": "./src/aws/sts.ts", |
68 | | - "import": "./lib/aws/sts.js", |
69 | | - "types": "./lib/sts.d.ts" |
| 61 | + "import": "./lib/aws/sts.js" |
70 | 62 | }, |
71 | 63 | "./aws/iam": { |
| 64 | + "types": "./lib/iam.d.ts", |
72 | 65 | "bun": "./src/aws/iam.ts", |
73 | | - "import": "./lib/aws/iam.js", |
74 | | - "types": "./lib/iam.d.ts" |
| 66 | + "import": "./lib/aws/iam.js" |
75 | 67 | }, |
76 | 68 | "./aws/credentials": { |
| 69 | + "types": "./lib/aws/credentials.d.ts", |
77 | 70 | "bun": "./src/aws/credentials.ts", |
78 | | - "import": "./lib/aws/credentials.js", |
79 | | - "types": "./lib/aws/credentials.d.ts" |
| 71 | + "import": "./lib/aws/credentials.js" |
80 | 72 | }, |
81 | 73 | "./cli": { |
| 74 | + "types": "./lib/cli/index.d.ts", |
82 | 75 | "bun": "./src/cli/index.ts", |
83 | | - "import": "./lib/cli/index.js", |
84 | | - "types": "./lib/cli/index.d.ts" |
| 76 | + "import": "./lib/cli/index.js" |
85 | 77 | }, |
86 | 78 | "./cloudflare": { |
| 79 | + "types": "./lib/cloudflare/index.d.ts", |
87 | 80 | "bun": "./src/cloudflare/index.ts", |
88 | | - "import": "./lib/cloudflare/index.js", |
89 | | - "types": "./lib/cloudflare/index.d.ts" |
| 81 | + "import": "./lib/cloudflare/index.js" |
90 | 82 | }, |
91 | 83 | "./cloudflare/assets": { |
| 84 | + "types": "./lib/cloudflare/worker/assets.fetch.d.ts", |
92 | 85 | "bun": "./src/cloudflare/worker/assets.fetch.ts", |
93 | | - "import": "./lib/cloudflare/worker/assets.fetch.js", |
94 | | - "types": "./lib/cloudflare/worker/assets.fetch.d.ts" |
| 86 | + "import": "./lib/cloudflare/worker/assets.fetch.js" |
95 | 87 | }, |
96 | 88 | "./cloudflare/worker": { |
| 89 | + "types": "./lib/cloudflare/worker/index.d.ts", |
97 | 90 | "bun": "./src/cloudflare/worker/index.ts", |
98 | | - "import": "./lib/cloudflare/worker/index.js", |
99 | | - "types": "./lib/cloudflare/worker/index.d.ts" |
| 91 | + "import": "./lib/cloudflare/worker/index.js" |
100 | 92 | }, |
101 | 93 | "./cloudflare/kv": { |
| 94 | + "types": "./lib/cloudflare/kv/index.d.ts", |
102 | 95 | "bun": "./src/cloudflare/kv/index.ts", |
103 | | - "import": "./lib/cloudflare/kv/index.js", |
104 | | - "types": "./lib/cloudflare/kv/index.d.ts" |
| 96 | + "import": "./lib/cloudflare/kv/index.js" |
105 | 97 | }, |
106 | 98 | "./cloudflare/r2": { |
| 99 | + "types": "./lib/cloudflare/r2/index.d.ts", |
107 | 100 | "bun": "./src/cloudflare/r2/index.ts", |
108 | | - "import": "./lib/cloudflare/r2/index.js", |
109 | | - "types": "./lib/cloudflare/r2/index.d.ts" |
| 101 | + "import": "./lib/cloudflare/r2/index.js" |
110 | 102 | } |
111 | 103 | }, |
| 104 | + "publishConfig": { |
| 105 | + "access": "public" |
| 106 | + }, |
| 107 | + "scripts": { |
| 108 | + "dev": "tsdown --watch", |
| 109 | + "build": "bun bundle && bun pm pack", |
| 110 | + "bundle": "tsdown", |
| 111 | + "bundle:watch": "tsdown --watch", |
| 112 | + "publish:npm": "cp ../README.md . && bun publish && rm README.md", |
| 113 | + "test:benchmark": "tsx --tsconfig tsconfig.test.json test/types.benchmark.ts" |
| 114 | + }, |
112 | 115 | "dependencies": { |
113 | 116 | "@aws-sdk/credential-providers": "catalog:", |
114 | 117 | "@effect/vitest": "^0.27.0", |
|
160 | 163 | "effect": { |
161 | 164 | "optional": true |
162 | 165 | } |
163 | | - }, |
164 | | - "publishConfig": { |
165 | | - "access": "public" |
166 | 166 | } |
167 | 167 | } |
0 commit comments