Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gnestor committed Jul 5, 2017
1 parent b308cf4 commit b3b57fe
Show file tree
Hide file tree
Showing 28 changed files with 1,004 additions and 1,031 deletions.
19 changes: 8 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ This is a [monorepo](https://github.com/lerna/lerna#what-does-a-lerna-repo-look-

## Packages

* jsonviewer: Renders JSON data as a collapsible tree with a search field
* Mime types: `application/json`
* File extensions: `.json`
* geojsonviwer: Renders GeoJSON as a map
* Mime types: `application/geo+json`
* File extensions: `.geojson`, `.geo.json`
| Name | Mime types | File extensions |
| ----------- | -------------------- | --------------- |
| geojsonviewer | `application/geo+json` | `.geojson`, `.geo.json` |
| jsonviewer | `application/json` | `.json`, `.ipynb` |
| plotlyviewer | `application/vnd.plotly.v1+json` | `.plotly`, `.plotly.json` |

## Install

Expand All @@ -24,12 +23,10 @@ npm run build

## Link extensions with JupyterLab

```
# jsonviewer-extension
jupyter labextension link ./packages/jsonviewer-extension
Link geojsonviewer:

# geojsonviewer-extension
jupyter labextension link ./packages/geojsonviewer-extension
```
jupyter labextension link ./packages/geojsonviewer
```

## Developing JupyterLab extensions
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"scripts": {
"build": "lerna run build",
"install": "lerna exec -- npm install",
"postinstall": "lerna bootstrap --hoist",
"install": "lerna bootstrap --hoist",
"publish": "lerna publish"
},
"devDependencies": {
Expand Down
43 changes: 0 additions & 43 deletions packages/geojsonviewer-extension/package.json

This file was deleted.

108 changes: 0 additions & 108 deletions packages/geojsonviewer-extension/src/index.ts

This file was deleted.

23 changes: 11 additions & 12 deletions packages/geojsonviewer/package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
{
"name": "@jupyterlab/geojsonviewer",
"version": "0.6.0",
"version": "0.7.0",
"description": "JupyterLab - GeoJSON Renderer",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/*.d.ts",
"lib/*.js",
"style/*.css"
"lib/*.js"
],
"directories": {
"lib": "lib/"
},
"jupyerlab": {
"mimeExtension": true
},
"dependencies": {
"@jupyterlab/coreutils": "^0.6.0",
"@jupyterlab/docregistry": "^0.6.0",
"@jupyterlab/rendermime": "^0.6.0",
"@phosphor/messaging": "^1.2.0",
"@phosphor/widgets": "^1.2.0",
"@jupyterlab/rendermime-interfaces": "^0.1.0",
"@phosphor/widgets": "^1.3.0",
"leaflet": "^1.0.3"
},
"devDependencies": {
"@types/leaflet": "^1.0.62",
"rimraf": "^2.5.2",
"typescript": "^2.2.1"
"typescript": "~2.3.1"
},
"scripts": {
"build": "tsc",
Expand All @@ -32,12 +31,12 @@
},
"repository": {
"type": "git",
"url": "https://github.com/jupyterlab/geojsonviewer.git"
"url": "https://github.com/jupyterlab/jupyterlab.git"
},
"author": "Project Jupyter",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/jupyterlab/geojsonviewer/issues"
"url": "https://github.com/jupyterlab/jupyterlab/issues"
},
"homepage": "https://github.com/jupyterlab/geojsonviewer"
"homepage": "https://github.com/jupyterlab/jupyterlab"
}
27 changes: 0 additions & 27 deletions packages/geojsonviewer/src/index.ts

This file was deleted.

Loading

0 comments on commit b3b57fe

Please sign in to comment.