-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 1.04 KB
/
package.json
File metadata and controls
38 lines (38 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "libai",
"main": "./dist/cjs/libai.js",
"module": "./dist/esm/libai.js",
"types": "./dist/types/libai.d.ts",
"exports": {
"import": "./dist/esm/libai.js",
"require": "./dist/cjs/libai.js"
},
"type": "module",
"readme": "./README.md",
"repository": {
"type": "git",
"url": "https://github.com/decryptable/libai",
"directory": "./src"
},
"author": {
"name": "decryptable",
"url": "https://decryptable.dev"
},
"scripts": {
"build:types": "tsc --emitDeclarationOnly --outDir dist/types",
"build:esm": "bun build src/libai.ts --outdir dist/esm --target browser --format esm --bundle",
"build:cjs": "esbuild src/libai.ts --bundle --platform=node --format=cjs --outfile=dist/cjs/libai.js",
"build": "npm run build:types && npm run build:esm && npm run build:cjs"
},
"devDependencies": {
"@types/bun": "^1.2.10",
"esbuild": "^0.25.2"
},
"peerDependencies": {
"typescript": "^5.8.3"
},
"dependencies": {
"fetch-event-stream": "^0.1.5",
"uuid": "^11.1.0"
}
}