|
29 | 29 | "license": "MIT",
|
30 | 30 | "version": "0.0.0-dev",
|
31 | 31 | "main": "./lib/tedious.js",
|
| 32 | + "types": "./lib/tedious.d.ts", |
32 | 33 | "repository": {
|
33 | 34 | "type": "git",
|
34 | 35 | "url": "https://github.com/tediousjs/tedious.git"
|
|
43 | 44 | "@azure/identity": "^3.4.1",
|
44 | 45 | "@azure/keyvault-keys": "^4.4.0",
|
45 | 46 | "@js-joda/core": "^5.6.1",
|
| 47 | + "@types/node": ">=18", |
46 | 48 | "bl": "^6.0.11",
|
47 | 49 | "iconv-lite": "^0.6.3",
|
48 | 50 | "js-md4": "^0.3.2",
|
|
62 | 64 | "@types/depd": "^1.1.36",
|
63 | 65 | "@types/lru-cache": "^5.1.1",
|
64 | 66 | "@types/mocha": "^10.0.6",
|
65 |
| - "@types/node": ">=18", |
66 | 67 | "@types/sprintf-js": "^1.1.4",
|
67 | 68 | "@typescript-eslint/eslint-plugin": "^7.0.2",
|
68 | 69 | "@typescript-eslint/parser": "^7.0.2",
|
|
86 | 87 | "test": "mocha --forbid-only test/unit test/unit/token test/unit/tracking-buffer",
|
87 | 88 | "test-integration": "mocha --forbid-only test/integration/",
|
88 | 89 | "test-all": "mocha --forbid-only test/unit/ test/unit/token/ test/unit/tracking-buffer test/integration/",
|
89 |
| - "build": "rimraf lib && babel src --out-dir lib --extensions .js,.ts", |
| 90 | + "build:types": "tsc --project tsconfig.build-types.json", |
| 91 | + "build": "rimraf lib && babel src --out-dir lib --extensions .js,.ts && npm run build:types", |
90 | 92 | "prepublish": "npm run build",
|
91 | 93 | "semantic-release": "semantic-release"
|
92 | 94 | },
|
|
0 commit comments