Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.51 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 1.51 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
{
"name": "agent-cli-detector",
"version": "0.1.8",
"description": "Detect whether a JavaScript CLI is running inside a coding agent.",
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"agent-cli-detector": "dist/cli.js"
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=18.18"
},
"scripts": {
"build": "tsup && node -e \"require('node:fs').chmodSync('dist/cli.js', 0o755)\"",
"clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
"test": "npm run build && node --test test/detector.test.mjs test/package.test.mjs",
"prepack": "npm run clean && npm run build && node --test test/detector.test.mjs"
},
"keywords": [
"agent",
"cli",
"detection",
"codex",
"claude",
"opencode"
],
"license": "MIT",
"devDependencies": {
"@types/node": "^24.0.4",
"tsup": "^8.5.0",
"typescript": "^5.8.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/expo/agent-cli-detector.git"
},
"bugs": {
"url": "https://github.com/expo/agent-cli-detector/issues"
},
"homepage": "https://github.com/expo/agent-cli-detector#readme"
}