fix module config

This commit is contained in:
vcoppe
2024-05-04 02:18:07 +02:00
parent c9bc13a1c5
commit d368d9361c
2 changed files with 6 additions and 4 deletions

View File

@@ -1,7 +1,8 @@
{
"name": "gpx",
"version": "1.0.0",
"main": "dist/src/index.js",
"type": "module",
"exports": "./dist/src/index.js",
"types": "dist/src/index.d.ts",
"repository": {
"type": "git",
@@ -25,4 +26,4 @@
"ts-jest": "^29.1.2",
"typescript": "^5.4.5"
}
}
}

View File

@@ -1,9 +1,10 @@
{
"compilerOptions": {
"module": "ES6",
"target": "ES5",
"module": "ES2020",
"target": "ES2015",
"declaration": true,
"outDir": "./dist",
"moduleResolution": "node",
},
"include": [
"src",