Skip to content

Commit

Permalink
Merge pull request #4 from stamen/librarify
Browse files Browse the repository at this point in the history
Librarify
  • Loading branch information
curran authored Jul 1, 2020
2 parents 2358c02 + bc71ba1 commit a21fe5c
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
*.swp
package-lock.json
31 changes: 31 additions & 0 deletions package.json
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"
}
}
12 changes: 12 additions & 0 deletions rollup.config.js
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.

0 comments on commit a21fe5c

Please sign in to comment.