Skip to content

Commit

Permalink
Merge pull request #39 from bence-toth/ambient-types
Browse files Browse the repository at this point in the history
Added ambient types for TS
  • Loading branch information
bence-toth authored Nov 21, 2021
2 parents 5d43bbc + f7ef0eb commit 85dc200
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-hook-geolocation",
"version": "1.0.10",
"version": "1.0.11",
"description": "React hook for geolocation access",
"keywords": [
"react",
Expand All @@ -12,8 +12,7 @@
"author": "Bence A. Toth <[email protected]>",
"main": "dist/index.js",
"scripts": {
"build": "rm -rf dist && babel src --out-dir dist",
"build:watch": "babel src --out-dir dist --watch"
"build": "rm -rf dist && babel src --out-dir dist && cp ./src/index.d.ts ./dist"
},
"devDependencies": {
"@babel/cli": "^7.12.8",
Expand All @@ -25,5 +24,8 @@
},
"peerDependencies": {
"react": "^16.8.0 || ^17 || ^18"
}
},
"files": [
"/dist"
]
}

0 comments on commit 85dc200

Please sign in to comment.