-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from swsvindland/master
Update project to use more modern standards
- Loading branch information
Showing
6 changed files
with
1,265 additions
and
78 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
{ | ||
"name": "react-geocode", | ||
"version": "1.0.0-alpha.1", | ||
"version": "1.0.0", | ||
"description": "A module to transform a description of a location (i.e. street address, town name, etc.) into geographic coordinates (i.e. latitude and longitude) and vice versa.", | ||
"main": "dist/index.js", | ||
"types": "types/index.d.ts", | ||
"src": "src/index.ts", | ||
"packageManager": "[email protected]", | ||
"main": "dist/index.umd.js", | ||
"module": "dist/index.es.js", | ||
"types": "dist/index.d.ts", | ||
"type": "module", | ||
"export": { | ||
".": { | ||
"import": "./dist/index.es.js", | ||
"require": "./dist/index.umd.js", | ||
"types": "./dist/index.d.ts" | ||
} | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/shukerullah/react-geocode.git" | ||
|
@@ -15,18 +27,21 @@ | |
"geocoder", | ||
"geocoding" | ||
], | ||
"author": "Pir Shukarulalh Shah <[email protected]> (http://www.shukarullah.com)", | ||
"author": "Pir Shukarulalh Shah <[email protected]> (https://www.shukarullah.com)", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/shukerullah/react-geocode/issues" | ||
}, | ||
"homepage": "https://github.com/shukerullah/react-geocode#readme", | ||
"scripts": { | ||
"build": "tsc && uglifyjs --compress --mangle --output ./dist/index.js -- ./dist/index.js" | ||
"build": "vite build", | ||
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx}\"" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.6.2", | ||
"typescript": "^4.9.5", | ||
"uglify-js": "^3.17.4" | ||
"@types/node": "^20.16.11", | ||
"prettier": "^3.3.3", | ||
"typescript": "^5.6.3", | ||
"vite": "^5.4.9", | ||
"vite-plugin-dts": "^4.2.4" | ||
} | ||
} |
Oops, something went wrong.