blob: adc94f90c6713b02cd2442df25cf14738b7c4698 [file]
{
"name": "iotdb-client-nodejs",
"version": "0.1.0",
"description": "Apache IoTDB Node.js client with SessionPool and TableSessionPool support",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"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 dist/thrift/generated/",
"test": "jest",
"test:unit": "jest --testPathPatterns=tests/unit",
"test:e2e": "jest --testPathPatterns=tests/e2e",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"prepublishOnly": "npm run build"
},
"keywords": [
"iotdb",
"timeseries",
"database",
"thrift",
"apache"
],
"author": "",
"license": "Apache-2.0",
"dependencies": {
"thrift": "^0.22.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.19.12",
"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"
}
}