mirror of
https://github.com/asadbek064/hyparquet.git
synced 2025-12-26 23:26:38 +00:00
Map src to types with package exports (#70)
This commit is contained in:
parent
9c201e00e5
commit
b9ad12f7cc
10
package.json
10
package.json
@ -24,6 +24,16 @@
|
||||
],
|
||||
"type": "module",
|
||||
"types": "types/hyparquet.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./src/hyparquet.js",
|
||||
"types": "./types/hyparquet.d.ts"
|
||||
},
|
||||
"./src/*.js": {
|
||||
"import": "./src/*.js",
|
||||
"types": "./types/*.d.ts"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build:types": "tsc -p ./tsconfig.build.json",
|
||||
"coverage": "vitest run --coverage --coverage.include=src",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user