* Switch to SPDX license format for all non-codegen files * Add test to ensure all committed JS files have SPDX header
104 lines
3.0 KiB
JSON
104 lines
3.0 KiB
JSON
{
|
|
"name": "@elastic/elasticsearch",
|
|
"version": "9.0.0-alpha.4",
|
|
"versionCanary": "9.0.0-canary.0",
|
|
"description": "The official Elasticsearch client for Node.js",
|
|
"main": "./index.js",
|
|
"types": "index.d.ts",
|
|
"exports": {
|
|
"require": "./index.js",
|
|
"import": "./index.js",
|
|
"types": "./index.d.ts"
|
|
},
|
|
"scripts": {
|
|
"test": "npm run build && npm run lint && tap",
|
|
"test:unit": "npm run build && tap",
|
|
"test:unit-bun": "bun run build && bunx tap",
|
|
"test:esm": "npm run build && cd test/esm/ && npm install && node test-import.mjs",
|
|
"test:coverage-100": "npm run build && tap --coverage --100",
|
|
"test:coverage-report": "npm run build && tap --coverage && nyc report --reporter=text-lcov > coverage.lcov",
|
|
"test:coverage-ui": "npm run build && tap --coverage --coverage-report=html",
|
|
"test:integration": "tsc && node test/integration/index.js",
|
|
"lint": "ts-standard src",
|
|
"lint:fix": "ts-standard --fix src",
|
|
"license-checker": "license-checker --production --onlyAllow='MIT;Apache-2.0;Apache1.1;ISC;BSD-3-Clause;BSD-2-Clause;0BSD'",
|
|
"license-header": "./scripts/check-spdx",
|
|
"prebuild": "npm run clean-build && npm run lint",
|
|
"build": "tsc && rm lib/package.json && mv lib/src/* lib/ && rm -rf lib/src",
|
|
"clean-build": "rimraf ./lib && mkdir lib",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"keywords": [
|
|
"elasticsearch",
|
|
"elastic",
|
|
"kibana",
|
|
"mapping",
|
|
"REST",
|
|
"search",
|
|
"client",
|
|
"index"
|
|
],
|
|
"contributors": [
|
|
{
|
|
"name": "Elastic Client Library Maintainers",
|
|
"company": "Elastic BV"
|
|
}
|
|
],
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/elastic/elasticsearch-js.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/elastic/elasticsearch-js/issues"
|
|
},
|
|
"homepage": "http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"devDependencies": {
|
|
"@elastic/request-converter": "8.18.0",
|
|
"@sinonjs/fake-timers": "14.0.0",
|
|
"@types/debug": "4.1.12",
|
|
"@types/ms": "0.7.34",
|
|
"@types/node": "22.13.10",
|
|
"@types/sinonjs__fake-timers": "8.1.5",
|
|
"@types/split2": "4.2.3",
|
|
"@types/stoppable": "1.1.3",
|
|
"chai": "5.2.0",
|
|
"cross-zip": "4.0.1",
|
|
"desm": "1.3.1",
|
|
"into-stream": "8.0.1",
|
|
"js-yaml": "4.1.0",
|
|
"license-checker": "25.0.1",
|
|
"minimist": "1.2.8",
|
|
"ms": "2.1.3",
|
|
"node-abort-controller": "3.1.1",
|
|
"node-fetch": "2.7.0",
|
|
"ora": "5.4.1",
|
|
"proxy": "1.0.2",
|
|
"rimraf": "3.0.2",
|
|
"semver": "7.7.1",
|
|
"split2": "4.2.0",
|
|
"stoppable": "1.1.0",
|
|
"tap": "21.0.2",
|
|
"ts-node": "10.9.2",
|
|
"ts-standard": "12.0.2",
|
|
"typescript": "5.7.3",
|
|
"workq": "3.0.0",
|
|
"xmlbuilder2": "3.1.1",
|
|
"zx": "7.2.3"
|
|
},
|
|
"dependencies": {
|
|
"@elastic/transport": "9.0.0-alpha.1",
|
|
"apache-arrow": "^18.0.0",
|
|
"tslib": "^2.4.0"
|
|
},
|
|
"tap": {
|
|
"disable-coverage": true,
|
|
"files": [
|
|
"test/unit/{*,**/*}.test.ts"
|
|
]
|
|
}
|
|
}
|