Include type definitions in the NPM package

This commit is contained in:
Mahesh Bandara Wijerathna
2023-08-10 22:44:32 +05:30
parent 222b6e23dc
commit 42793ea845
2 changed files with 4 additions and 2 deletions
Vendored
+2 -2
View File
@@ -1,5 +1,5 @@
// Type definitions for better-sqlite3 7.6
// Project: https://github.com/JoshuaWise/better-sqlite3
// Type definitions for better-sqlite3-multiple-ciphers 8.5.0
// Project: https://github.com/m4heshd/better-sqlite3-multiple-ciphers
// Definitions by: Ben Davies <https://github.com/Morfent>
// Mathew Rumsey <https://github.com/matrumz>
// Santiago Aguilar <https://github.com/sant123>
+2
View File
@@ -11,6 +11,7 @@
"main": "lib/index.js",
"types": "index.d.ts",
"files": [
"index.d.ts",
"binding.gyp",
"src/*.[ch]pp",
"lib/**",
@@ -21,6 +22,7 @@
"prebuild-install": "^7.1.0"
},
"devDependencies": {
"@types/node": "20.4.9",
"chai": "^4.3.6",
"cli-color": "^2.0.2",
"fs-extra": "^10.1.0",