-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 3.21 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 3.21 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "agentmail",
"version": "0.4.4",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/agentmail-to/agentmail-node.git"
},
"type": "commonjs",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
"types": "./dist/cjs/index.d.ts",
"import": {
"types": "./dist/esm/index.d.mts",
"default": "./dist/esm/index.mjs"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
},
"default": "./dist/cjs/index.js"
},
"./serialization": {
"types": "./dist/cjs/serialization/index.d.ts",
"import": {
"types": "./dist/esm/serialization/index.d.mts",
"default": "./dist/esm/serialization/index.mjs"
},
"require": {
"types": "./dist/cjs/serialization/index.d.ts",
"default": "./dist/cjs/serialization/index.js"
},
"default": "./dist/cjs/serialization/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"reference.md",
"README.md",
"LICENSE"
],
"scripts": {
"format": "biome format --write --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
"format:check": "biome format --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
"lint": "biome lint --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
"lint:fix": "biome lint --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
"check": "biome check --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
"check:fix": "biome check --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
"build": "npm run build:cjs && npm run build:esm && node -e \"const https=require('https'),fs=require('fs');const download=(f)=>new Promise((res,rej)=>https.get('https://docs.agentmail.to/'+f,r=>r.pipe(fs.createWriteStream('dist/'+f)).on('finish',res).on('error',rej)));Promise.all(['llms.txt','llms-full.txt'].map(download)).catch(e=>{console.error(e);process.exit(1)});\"",
"build:cjs": "tsc --project ./tsconfig.cjs.json",
"build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm",
"test": "vitest",
"test:unit": "vitest --project unit",
"test:wire": "vitest --project wire"
},
"dependencies": {
"ws": "^8.16.0"
},
"devDependencies": {
"webpack": "^5.97.1",
"ts-loader": "^9.5.1",
"@types/ws": "^8.5.10",
"vitest": "^3.2.4",
"msw": "2.11.2",
"@types/node": "^18.19.70",
"typescript": "~5.7.2",
"@biomejs/biome": "2.3.11"
},
"browser": {
"fs": false,
"os": false,
"path": false,
"stream": false
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18.0.0"
},
"sideEffects": false
}