From 4279584e524568608e8f8ca72837b7bad8608add Mon Sep 17 00:00:00 2001 From: Joseph Orbegoso Pea Date: Mon, 5 Jan 2015 23:07:47 -0800 Subject: [PATCH 1/3] Initial package.json for npm. --- package.json | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..e9c5558 --- /dev/null +++ b/package.json @@ -0,0 +1,34 @@ +{ + "name": "webglearth", + "version": "2.1.0", + "description": "[![WebGL Earth](https://cloud.githubusercontent.com/assets/59284/3467435/90001280-0290-11e4-9d6f-04fa4479cea0.png)](http://www.webglearth.com/)", + "main": "src/app.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "https://github.com/webglearth/webglearth2.git" + }, + "keywords": [ + "WebGL", + "Earth", + "Globe", + "Map", + "Tiles", + "Leaflet", + "LeafletJS", + "Google", + "Maps", + "Bing", + "Open", + "Street", + "Map" + ], + "author": "", + "license": "Apache 2.0", + "bugs": { + "url": "https://github.com/webglearth/webglearth2/issues" + }, + "homepage": "https://github.com/webglearth/webglearth2" +} From 57a2eb22151d3681220b7365fe43e58c6bde4bbc Mon Sep 17 00:00:00 2001 From: Joseph Orbegoso Pea Date: Mon, 5 Jan 2015 23:15:53 -0800 Subject: [PATCH 2/3] Remove cesium submodule to use an npm dependency instead. --- .gitmodules | 3 --- cesium | 1 - 2 files changed, 4 deletions(-) delete mode 100644 .gitmodules delete mode 160000 cesium diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 5816d89..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "cesium"] - path = cesium - url = https://github.com/klokantech/cesium.git diff --git a/cesium b/cesium deleted file mode 160000 index f9e6daf..0000000 --- a/cesium +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f9e6daf6f5ad65a5ae71c1ee1c93c5926e5c3f0f From 8ed2a9e4fdb596f4371cff967fe72129cda78749 Mon Sep 17 00:00:00 2001 From: Joseph Orbegoso Pea Date: Mon, 5 Jan 2015 23:17:54 -0800 Subject: [PATCH 3/3] Added the cesiumjs dependency from npmjs.org. --- .gitignore | 1 + package.json | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 48230c2..6072266 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /deploy/api.js +node_modules diff --git a/package.json b/package.json index e9c5558..b1d4b29 100644 --- a/package.json +++ b/package.json @@ -30,5 +30,8 @@ "bugs": { "url": "https://github.com/webglearth/webglearth2/issues" }, - "homepage": "https://github.com/webglearth/webglearth2" + "homepage": "https://github.com/webglearth/webglearth2", + "dependencies": { + "cesiumjs": "^1.4.0" + } }