Skip to content

Commit 304745e

Browse files
clean up package.json build steps
1 parent 1494a25 commit 304745e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/javascript/plotlywidget/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
"style/*.*"
2323
],
2424
"scripts": {
25-
"build": "npm run build:src",
26-
"build:src": "rimraf dist && tsc",
25+
"build": "webpack",
2726
"clean": "rimraf dist/ && rimraf ../../python/plotly/plotlywidget/static'",
2827
"test": "echo \"Error: no test specified\" && exit 1"
2928
},

packages/python/plotly/plotlywidget/static/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ module.exports = g;
9494
/* 1 */
9595
/***/ (function(module, exports) {
9696

97-
module.exports = {"name":"plotlywidget","version":"1.4.0+52.g81f392272","description":"The plotly JupyterLab extension","author":"The plotly.py team","license":"MIT","main":"src/index.js","repository":{"type":"git","url":"https://github.com/plotly/plotly.py"},"keywords":["jupyter","widgets","ipython","ipywidgets","plotly"],"files":["src/**/*.js","dist/*.js","style/*.*"],"scripts":{"build":"npm run build:src","build:src":"rimraf dist && tsc","clean":"rimraf dist/ && rimraf ../../python/plotly/plotlywidget/static'","test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"webpack":"^3.10.0","rimraf":"^2.6.1","ify-loader":"^1.1.0","typescript":"~3.1.1"},"dependencies":{"plotly.js":"^1.52.1","@jupyter-widgets/base":"^2.0.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin.js"}}
97+
module.exports = {"name":"plotlywidget","version":"1.4.0+52.g81f392272","description":"The plotly JupyterLab extension","author":"The plotly.py team","license":"MIT","main":"src/index.js","repository":{"type":"git","url":"https://github.com/plotly/plotly.py"},"keywords":["jupyter","widgets","ipython","ipywidgets","plotly"],"files":["src/**/*.js","dist/*.js","style/*.*"],"scripts":{"build":"webpack","clean":"rimraf dist/ && rimraf ../../python/plotly/plotlywidget/static'","test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"webpack":"^3.10.0","rimraf":"^2.6.1","ify-loader":"^1.1.0","typescript":"~3.1.1"},"dependencies":{"plotly.js":"^1.52.1","@jupyter-widgets/base":"^2.0.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin.js"}}
9898

9999
/***/ }),
100100
/* 2 */

0 commit comments

Comments
 (0)