Skip to content

Commit ed5d38a

Browse files
committed
Fix exports for neaps module
1 parent abab0e8 commit ed5d38a

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

packages/neaps/package.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "neaps",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Tide predictions",
55
"keywords": [
66
"tides",
@@ -18,14 +18,21 @@
1818
"license": "MIT",
1919
"author": "Brandon Keepers <brandon@openwaters.io>",
2020
"type": "module",
21-
"main": "src/index.ts",
22-
"scripts": {
23-
"build": "tsdown",
24-
"prepack": "npm run build"
21+
"main": "dist/index.cjs",
22+
"exports": {
23+
".": {
24+
"types": "./dist/index.d.ts",
25+
"import": "./dist/index.js",
26+
"require": "./dist/index.cjs"
27+
}
2528
},
2629
"files": [
2730
"dist"
2831
],
32+
"scripts": {
33+
"build": "tsdown",
34+
"prepack": "npm run build"
35+
},
2936
"dependencies": {
3037
"@neaps/tide-predictor": "^0.2.0",
3138
"@neaps/tide-database": "^0.0",

0 commit comments

Comments
 (0)