Skip to content

Commit

Permalink
fix package main file, update example
Browse files Browse the repository at this point in the history
  • Loading branch information
wharsojo committed Apr 23, 2017
1 parent 4e709e1 commit b9ce7cc
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 84 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -2,6 +2,7 @@
logs
*.log
npm-debug.log*
.DS_Store

# Runtime data
pids
Expand Down
3 changes: 1 addition & 2 deletions example/index.html
Expand Up @@ -2,9 +2,8 @@
<meta charset="utf-8">
<link type="text/css" rel="stylesheet" href="./css/earthjs.css">
<script src="./js/d3.min.js"></script>
<script src="./js/versor.js"></script>
<script src="./js/topojson.min.js"></script>
<script src="./js/queue.v1.min.js"></script>
<script src="./js/topojson.v1.min.js"></script>
<script src="../dist/earthjs.min.js"></script>
<div class="set-options"></div>
<svg id="earth"></svg>
Expand Down
2 changes: 2 additions & 0 deletions example/js/topojson.min.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion example/js/topojson.v1.min.js

This file was deleted.

79 changes: 0 additions & 79 deletions example/js/versor.js

This file was deleted.

8 changes: 6 additions & 2 deletions package.json
@@ -1,8 +1,8 @@
{
"name": "earthjs",
"version": "0.3.0",
"version": "0.3.1",
"description": "D3 Earth JS using SVG, build with plugins.",
"main": "earthjs.js",
"main": "index.js",
"scripts": {
"test": "tape 'test/**/*-test.js' && mkdir -p test/output && eslint src",
"build": "rollup -c && uglifyjs dist/earthjs.js -c -m -o dist/earthjs.min.js"
Expand All @@ -29,5 +29,9 @@
"rollup-plugin-node-resolve": "^3.0.0",
"tape": "^4.6.3",
"uglify-js": "github:mishoo/UglifyJS2#harmony"
},
"dependencies": {
"d3": "^4.8.0",
"topojson": "^3.0.0"
}
}

0 comments on commit b9ce7cc

Please sign in to comment.