Skip to content

Commit

Permalink
Fixed entries in package.json so that package works with TypeScript. (#…
Browse files Browse the repository at this point in the history
…11)

The TypeScript entries were still set to some default values, which
prevented the index.d.ts from getting generated correctly.
Also fixed up the url/directory for the package.
  • Loading branch information
mbalfour-amzn authored Oct 1, 2024
1 parent b3ffd09 commit 748d71e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"homepage": "https://github.com/aws-geospatial/polyline",
"repository": {
"type": "git",
"url": "https://github.com/aws-geospatial/polyline"
"url": "git+https://github.com/aws-geospatial/polyline.git",
"directory": "javascript"
},
"bugs": {
"url": "https://github.com/aws-geospatial/polyline/issues",
Expand All @@ -30,8 +31,9 @@
"test": "jest --collectCoverage --collectCoverageFrom=src/**/*.{ts,js}",
"typedoc": "typedoc"
},
"main": "./dist/math.js",
"exports": "./dist/math.js",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"files": [
"dist/",
"!**/__tests__/**"
Expand Down

0 comments on commit 748d71e

Please sign in to comment.