Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
labextension/lib/
nbextension/lib/
component/lib/
nbextension/embed/
node_modules/
npm-debug.log
Expand Down
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A JupyterLab and Jupyter Notebook extension for rendering [JSON Table Schema](ht

## Prerequisites

* JupyterLab ^0.18.0 and/or Notebook >=4.3.0
* JupyterLab ^0.20.0 and/or Notebook >=4.3.0

## Usage

Expand Down Expand Up @@ -86,12 +86,11 @@ To render a .table.json file as a tree, simply open it:
## Install

```bash
pip install jupyterlab_table
# For JupyterLab
jupyter labextension install --symlink --py --sys-prefix jupyterlab_table
jupyter labextension enable --py --sys-prefix jupyterlab_table
jupyter labextension install jupyterlab_table
# For Notebook
jupyter nbextension install --symlink --py --sys-prefix jupyterlab_table
pip install jupyterlab_table
jupyter nbextension install --py --sys-prefix jupyterlab_table
jupyter nbextension enable --py --sys-prefix jupyterlab_table
```

Expand All @@ -100,8 +99,8 @@ jupyter nbextension enable --py --sys-prefix jupyterlab_table
```bash
pip install -e .
# For JupyterLab
jupyter labextension install --symlink --py --sys-prefix jupyterlab_table
jupyter labextension enable --py --sys-prefix jupyterlab_table
cd labextension
jupyter labextension link .
# For Notebook
jupyter nbextension install --symlink --py --sys-prefix jupyterlab_table
jupyter nbextension enable --py --sys-prefix jupyterlab_table
Expand Down
20 changes: 0 additions & 20 deletions build.sh

This file was deleted.

3 changes: 3 additions & 0 deletions component/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["latest", "stage-0", "react"]
}
68 changes: 0 additions & 68 deletions component/fixed-data-table.js

This file was deleted.

26 changes: 19 additions & 7 deletions component/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{
"name": "jupyterlab_table_react",
"version": "1.0.0",
"description": "A React component for rendering JSON schema table",
"main": "index.js",
"description": "A React component for rendering JSONTable",
"main": "lib/index.js",
"files": [
"lib/*.js",
"*.css"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"build": "babel src --out-dir lib",
"prepublishOnly": "npm run build"
},
"keywords": [
"jupyter",
Expand All @@ -13,10 +18,17 @@
"author": "Grant Nestor",
"license": "ISC",
"dependencies": {
"fixed-data-table": "^0.6.3",
"jsontableschema": "^0.2.2",
"react": "^15.3.2",
"react-addons-shallow-compare": "^15.4.2",
"react-virtualized": "^8.11.4"
"react-virtualized": "^9.7.3"
},
"peerDependencies": {
"react": "^15.3.2"
},
"devDependencies": {
"babel-cli": "^6.24.0",
"babel-core": "^6.18.2",
"babel-preset-latest": "^6.16.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-0": "^6.16.0"
}
}
2 changes: 0 additions & 2 deletions component/index.js → component/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
export VirtualizedTable from './virtualized-table';
export VirtualizedGrid from './virtualized-grid';
export FixedDataTable from './fixed-data-table';
export VanillaTable from './vanilla-table';
Loading