Skip to content

Commit bed9dc3

Browse files
committed
Update jupyter-threejs package, and strip out the lab plugin.
1 parent 4a00ca8 commit bed9dc3

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

js/package.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jupyter-threejs",
3-
"version": "0.2.0",
3+
"version": "0.3.0-alpha.0",
44
"description": "jupyter - threejs bridge",
55
"author": "Jupyter-Threejs development team",
66
"license": "BSD-3-Clause",
@@ -15,13 +15,11 @@
1515
},
1616
"devDependencies": {
1717
"json-loader": "^0.5.4",
18-
"@jupyterlab/extension-builder": "^0.10.0",
1918
"rimraf": "^2.4.1",
2019
"webpack": "^1.12.14"
2120
},
2221
"dependencies": {
23-
"@jupyterlab/nbwidgets": "^0.6.15",
24-
"jupyter-js-widgets": "^2.1.4",
22+
"jupyter-js-widgets": "^3.0.0-alpha.2",
2523
"ndarray": "^1.0.18",
2624
"three": "^0.75.0",
2725
"underscore": "^1.8.3"

js/webpack.config.js

-14
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,6 @@ var loaders = [
22
{ test: /\.json$/, loader: "json-loader" },
33
];
44

5-
var buildExtension = require('@jupyterlab/extension-builder/lib/builder').buildExtension;
6-
7-
buildExtension({
8-
name: 'jupyter-threejs',
9-
entry: './src/labplugin',
10-
outputDir: '../pythreejs/staticlab',
11-
useDefaultLoaders: false,
12-
config: {
13-
module: {
14-
loaders: loaders
15-
}
16-
}
17-
});
18-
195
module.exports = [
206
{// Notebook extension
217
entry: './src/extension.js',

js/src/labplugin.js renamed to jslab/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var jupyter_threejs = require('./index');
1+
var jupyter_threejs = require('jupyter-threejs');
22

33
var jupyterlab_widgets = require('@jupyterlab/nbwidgets');
44

0 commit comments

Comments
 (0)