-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 3.37 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 3.37 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
{
"name": "@elastic/cli",
"version": "0.2.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 -e \"const {unlinkSync,readdirSync,existsSync}=require('fs'),{join}=require('path'),d='dist/es/apis/schemas';if(existsSync(d))readdirSync(d).filter(f=>/\\.(d\\.ts|d\\.ts\\.map|js\\.map)$/.test(f)).forEach(f=>unlinkSync(join(d,f)))\"",
"test": "npm run build && npm run test:unit && npm run test:license",
"test:unit": "node --max-old-space-size=8192 --import tsx/esm --test --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/cloud/apis/**' --test-coverage-exclude='src/es/apis.ts' --test-coverage-exclude='src/es/api-manifest.ts' --test-coverage-exclude='src/es/apis/**' --test-coverage-exclude='src/cloud/apis.ts' --test-coverage-exclude='src/cloud/serverless-apis.ts' --test-coverage-exclude='node_modules/**'",
"test:lint": "eslint src packages",
"codegen:functional": "npx tsx codegen/functional/index.ts --tests-dir ../elasticsearch-clients-tests/tests",
"codegen:es": "node scripts/codegen.mjs es",
"codegen:cloud": "node scripts/codegen.mjs cloud",
"codegen:kibana": "node scripts/codegen.mjs kibana",
"test:functional:es": "bash test/functional/es/run.sh",
"test:functional:cloud": "bash test/functional/cloud/smoke.sh",
"test:functional:kb": "bash test/functional/kb/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": {
"@elastic/config-resolver": "*",
"@elastic/es-schemas": "1.0.2",
"cli-table3": "^0.6.5",
"commander": "^14.0.3",
"csv-parse": "^6.2.1",
"marked": "^14.1.4",
"marked-terminal": "^7.3.0",
"yaml": "^2.8.3",
"zod": "^4.3.6"
},
"bundledDependencies": [
"@elastic/config-resolver",
"@elastic/es-schemas",
"zod"
],
"devDependencies": {
"@eslint/js": "10.0.1",
"@types/marked-terminal": "6.1.1",
"@types/node": "25.9.0",
"eslint": "10.4.0",
"license-checker": "25.0.1",
"mega-linter-runner": "9.4.0",
"tsx": "4.22.2",
"typescript": "6.0.3",
"typescript-eslint": "8.59.4"
}
}