From 85dbd7e4e3baf60cd50e08d1b09e323863e03458 Mon Sep 17 00:00:00 2001 From: Jonathan Batteas RQQC Date: Mon, 15 Apr 2024 10:52:02 -0400 Subject: [PATCH] add: index.js as "main" entrypoint In package.json. --- index.js | 15 +++++++++++++++ package.json | 1 + 2 files changed, 16 insertions(+) create mode 100644 index.js diff --git a/index.js b/index.js new file mode 100644 index 0000000..62f3efa --- /dev/null +++ b/index.js @@ -0,0 +1,15 @@ +import Dms from './dms.js' +import Utm from './utm.js' +import Vector3d from './vector3d.js' +import LatLonSpherical from './latlon-spherical.js' +import Mgrs from './mgrs.js' +import OsGridRef from './osgridref.js' +import LatLon_NvectorEllipsoidal from './latlon-nvector-ellipsoidal.js' +import LatLonNvectorSpherical from './latlon-nvector-spherical.js' +import LatLonEllipsoidal_ReferenceFrame from './latlon-ellipsoidal-referenceframe.js' +import LatLonEllipsoidal_Vincenty from './latlon-ellipsoidal-vincenty.js' +import LatLonEllipsoidal from './latlon-ellipsoidal.js' +import LatLonEllipsoidal_Datum from './latlon-ellipsoidal-datum.js' +import LatLonEllipsoidal_ReferenceFrame_Params from './latlon-ellipsoidal-referenceframe-txparams.js' + +export { Dms, Utm, Vector3d, LatLonSpherical, Mgrs, OsGridRef, LatLon_NvectorEllipsoidal, LatLonNvectorSpherical, LatLonEllipsoidal_ReferenceFrame, LatLonEllipsoidal_Vincenty, LatLonEllipsoidal, LatLonEllipsoidal_Datum, LatLonEllipsoidal_ReferenceFrame_Params } \ No newline at end of file diff --git a/package.json b/package.json index 5680192..11b3711 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "engines": { "node": ">=8.0.0" }, + "main": "index.js", "files": [ "dms.js", "latlon-*.js", "mgrs.js", "osgridref.js", "utm.js", "vector3d.js" ], "bugs": "https://github.com/chrisveness/geodesy/issues", "scripts": {