blob: 2380462a7eb4c196c118be34c069924fb4736293 [file]
{
"name": "@iotdb/client",
"publishConfig": {
"access": "public"
},
"version": "2.0.11",
"description": "Apache IoTDB Node.js client with SessionPool and TableSessionPool support",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/",
"README.md",
"README_zh.md",
"CHANGELOG.md",
"LICENSE",
"NOTICE"
],
"repository": {
"type": "git",
"url": "git+https://github.com/apache/iotdb-client-nodejs.git"
},
"homepage": "https://iotdb.apache.org/",
"bugs": {
"url": "https://github.com/apache/iotdb-client-nodejs/issues"
},
"scripts": {
"prebuild": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
"build": "npm run build:esbuild && npm run build:types && npm run copy:thrift",
"build:esbuild": "node esbuild.config.js",
"build:types": "tsc --emitDeclarationOnly",
"build:tsc": "tsc && npm run copy:thrift",
"copy:thrift": "mkdir -p dist/thrift/generated && cp -r src/thrift/generated/*.js src/thrift/generated/*.d.ts dist/thrift/generated/",
"generate:thrift": "rm -rf src/thrift/generated/*.js src/thrift/generated/*.d.ts && thrift --gen js:node,ts -out src/thrift/generated thrift/client.thrift",
"test": "jest",
"test:unit": "jest --testPathPatterns=tests/unit",
"test:e2e": "jest --testPathPatterns=tests/e2e",
"test:e2e:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --testPathPatterns=tests/e2e",
"test:e2e:check-handles": "jest --testPathPatterns=tests/e2e --detectOpenHandles --forceExit",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"prepublishOnly": "npm run build"
},
"keywords": [
"iotdb",
"timeseries",
"database",
"thrift",
"apache"
],
"author": "The Apache Software Foundation",
"license": "Apache-2.0",
"dependencies": {
"denque": "^2.1.0",
"thrift": "^0.23.0"
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^20.10.6",
"@types/thrift": "^0.10.14",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"esbuild": "^0.25.0",
"eslint": "^9.18.0",
"globals": "^15.15.0",
"jest": "^30.2.0",
"prettier": "^3.1.1",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3"
},
"overrides": {
"test-exclude": "^7.0.1"
},
"engines": {
"node": ">=14.0.0"
}
}