Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 3.13 KB
/
Copy pathpackage.json
File metadata and controls
96 lines (96 loc) · 3.13 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
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "@elastic/cli",
"version": "0.7.0",
"description": "Interact with the Elastic Stack and Elastic Cloud from the command line.",
"main": "dist/cli.js",
"bin": {
"elastic": "dist/cli.js"
},
"workspaces": [
"packages/*"
],
"scripts": {
"prepare": "git config core.hooksPath .githooks || true",
"build": "node --max-old-space-size=8192 node_modules/typescript/bin/tsc -b",
"postbuild": "node scripts/create-dist-package-jsons.mjs",
"test": "npm run build && npm run test:unit && npm run test:license",
"test:unit": "node scripts/unit-tests.mjs",
"test:lint": "eslint src packages test",
"codegen:functional": "npx tsx codegen/functional/es.ts",
"codegen:functional:kb": "node -e \"require('node:fs').rmSync('test/functional/kb/generated',{recursive:true,force:true})\" && npx tsx codegen/functional/kb.ts",
"test:functional:es": "bash test/functional/es/run.sh",
"codegen:functional:cloud:definitions": "npx tsx codegen/functional/cloud-definitions.ts",
"codegen:functional:cloud": "node -e \"require('node:fs').rmSync('test/functional/cloud/generated',{recursive:true,force:true})\" && npx tsx codegen/functional/cloud.ts",
"test:functional:cloud": "npm run codegen:functional:cloud && bash test/functional/cloud/generated/run.sh",
"test:functional:kb": "npm run codegen:functional:kb && bash test/functional/kb/generated/run.sh",
"test:license": "license-checker --production",
"test:spdx": "node scripts/check-spdx.mjs",
"build:schema": "node --import tsx/esm src/cli.ts cli-schema > docs/cli/schema.json",
"generate:notice": "node scripts/generate-notice.mjs",
"test:notice": "node scripts/generate-notice.mjs --check",
"test:megalinter": "mega-linter-runner --flavor javascript"
},
"keywords": [
"cli",
"elasticsearch",
"elastic",
"agents"
],
"author": {
"name": "Elastic Client Library Maintainers",
"company": "Elastic BV"
},
"homepage": "https://github.com/elastic/cli#readme",
"bugs": {
"url": "https://github.com/elastic/cli/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/elastic/cli.git"
},
"license": "Apache-2.0",
"type": "module",
"types": "./dist/cli.d.ts",
"files": [
"dist",
"NOTICE.txt"
],
"engines": {
"node": ">=22.1.0",
"bun": ">=1.2.0"
},
"directories": {
"test": "test"
},
"dependencies": {
"@cli-schema/spec": "^0.2.0",
"@elastic/agent-env": "0.1.2",
"@elastic/config-resolver": "0.1.3",
"@elastic/schemas": "0.12.0",
"ajv": "^8.0.0",
"cli-table3": "^0.6.5",
"commander": "^15.0.0",
"cross-spawn": "^7.1.2",
"csv-parse": "^7.0.2",
"marked": "^18.0.0",
"yaml": "^2.8.3"
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@types/cross-spawn": "6.0.6",
"@types/node": "25.9.4",
"eslint": "10.6.0",
"license-checker": "25.0.1",
"mega-linter-runner": "9.5.0",
"tsx": "4.23.0",
"typescript": "6.0.3",
"typescript-eslint": "8.62.1"
},
"overrides": {
"fast-uri": "^4.2.3"
},
"bundleDependencies": [
"@elastic/config-resolver",
"@elastic/agent-env"
]
}