-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 3.43 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 3.43 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
{
"name": "@elastic/cli",
"version": "0.4.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 --max-old-space-size=8192 --import tsx/esm --test --test-timeout=60000 --experimental-test-coverage --test-coverage-lines=90 --test-coverage-branches=90 --test-coverage-functions=90 --test-coverage-include='src/**/*.ts' --test-coverage-include='packages/*/src/**/*.ts' --test-coverage-exclude='src/es/api-manifest.ts' --test-coverage-exclude='src/cloud/serverless-apis.ts' --test-coverage-exclude='node_modules/**'",
"test:lint": "eslint src packages test",
"codegen:functional": "npx tsx codegen/functional/es.ts --tests-dir ../elasticsearch-clients-tests/tests",
"codegen:functional:kb": "rm -rf test/functional/kb/generated && 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": "rm -rf test/functional/cloud/generated && 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": "./scripts/check-spdx",
"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"
],
"directories": {
"test": "test"
},
"dependencies": {
"@cli-schema/spec": "^0.2.0",
"@elastic/config-resolver": "0.1.1",
"@elastic/schemas": "^0.7.2",
"ajv": "^6.14.0",
"cli-table3": "^0.6.5",
"commander": "^15.0.0",
"cross-spawn": "^7.0.6",
"csv-parse": "^7.0.0",
"marked": "^18.0.0",
"marked-terminal": "^7.3.0",
"yaml": "^2.8.3"
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@types/cross-spawn": "6.0.6",
"@types/marked-terminal": "6.1.1",
"@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": "^3.1.4",
"marked-terminal": {
"marked": "$marked"
}
},
"bundleDependencies": [
"@elastic/config-resolver"
]
}