Skip to content

Commit

Permalink
Merge pull request #52 from swsvindland/master
Browse files Browse the repository at this point in the history
Update project to use more modern standards
  • Loading branch information
swsvindland authored Feb 24, 2025
2 parents e4967de + ffda35b commit 429a859
Show file tree
Hide file tree
Showing 6 changed files with 1,265 additions and 78 deletions.
26 changes: 0 additions & 26 deletions .npmignore

This file was deleted.

33 changes: 24 additions & 9 deletions package.json
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"
Expand All @@ -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"
}
}
Loading

0 comments on commit 429a859

Please sign in to comment.