Skip to content

Commit 23dad18

Browse files
committed
Update npm build to include jupyter lab extension build
1 parent aa13a97 commit 23dad18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plotly/labextension/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"scripts": {
66
"build:widget": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=../package_data/widgetbundle.js src/widget.ts",
77
"build:mimerenderer": "esbuild --bundle --alias:plotly.js=plotly.js/dist/plotly --format=esm --minify --outfile=lib/mimeExtension.js src/mimeExtension.ts",
8-
"build": "npm run build:widget && npm run build:mimerenderer",
8+
"build:labextension": "jupyter labextension build .",
9+
"build": "npm run build:widget && npm run build:mimerenderer && npm run build:labextension",
910
"watch": "npm run build -- --watch --sourcemap=inline",
1011
"typecheck": "tsc --noEmit"
1112
},

0 commit comments

Comments
 (0)