Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 1.65 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 1.65 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
{
"name": "detect-agent",
"version": "1.2.0",
"description": "Detect if code is running in an AI agent or automated development environment",
"keywords": [
"ai",
"agent",
"detection",
"environment",
"cursor",
"claude",
"devin",
"automation",
"ai-agent"
],
"license": "Apache-2.0",
"author": "Vercel",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"publishConfig": {
"access": "public"
},
"homepage": "https://github.com/vercel/detect-agent#readme",
"repository": {
"type": "git",
"url": "https://github.com/vercel/detect-agent.git"
},
"bugs": {
"url": "https://github.com/vercel/detect-agent/issues"
},
"engines": {
"node": ">=20"
},
"packageManager": "pnpm@10.9.0",
"scripts": {
"build": "tsup",
"test": "vitest run",
"test:watch": "vitest",
"type-check": "tsc --noEmit",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"format": "oxfmt",
"format:check": "oxfmt --check",
"changeset": "changeset",
"version-packages": "changeset version",
"release": "pnpm build && changeset publish"
},
"files": [
"dist",
"agents.json",
"agents.schema.json",
"README.md",
"CHANGELOG.md"
],
"devDependencies": {
"@changesets/cli": "^2.31.0",
"@types/mock-fs": "4.13.4",
"@types/node": "^22.10.0",
"mock-fs": "5.5.0",
"oxfmt": "^0.58.0",
"oxlint": "^1.73.0",
"tsup": "^8.3.5",
"typescript": "5.9.3",
"vite": "^5.1.6",
"vitest": "^2.0.1"
}
}