Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: index.js as "main" entrypoint In package.json. #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -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 }
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down