-
Notifications
You must be signed in to change notification settings - Fork 5
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 #4 from stamen/librarify
Librarify
- Loading branch information
Showing
4 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules | ||
dist | ||
*.swp | ||
package-lock.json |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "geo-albers-usa-territories", | ||
"version": "0.0.1", | ||
"description": "A map projection including all US overseas territories.", | ||
"main": "dist/geo-albers-usa-territories.js", | ||
"scripts": { | ||
"prepublish": "rollup --config" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/stamen/us-albers-territories.git" | ||
}, | ||
"keywords": [ | ||
"Map", | ||
"Geo", | ||
"GIS", | ||
"D3" | ||
], | ||
"author": "Alan McConchie", | ||
"contributors": [ | ||
"Curran Kelleher" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/stamen/geo-albers-usa-territories/issues" | ||
}, | ||
"homepage": "https://github.com/stamen/geo-albers-usa-territories#readme", | ||
"devDependencies": { | ||
"rollup": "^2.18.1" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export default { | ||
input: 'src/index.js', | ||
external: ['d3-geo'], | ||
output: { | ||
file: 'dist/us-albers-territories.js', | ||
format: 'umd', | ||
name: 'geoAlbersUsaTerritories', | ||
globals: { | ||
'd3-geo': 'd3' | ||
} | ||
} | ||
}; |
File renamed without changes.