Browse Source

More example package cleanup

Steven Silvester 8 years ago
parent
commit
4199864dc7
2 changed files with 6 additions and 4 deletions
  1. 3 2
      examples/filebrowser/package.json
  2. 3 2
      examples/terminal/package.json

+ 3 - 2
examples/filebrowser/package.json

@@ -3,6 +3,8 @@
   "name": "example",
   "scripts": {
     "build": "tsc --project src && webpack --config webpack.conf.js",
+    "clean": "rimraf build && rimraf node_modules",
+    "postinstall": "npm dedupe",
     "update": "rimraf node_modules/jupyter-js-ui && npm install"
   },
   "dependencies": {
@@ -11,8 +13,7 @@
     "phosphor-dockpanel": "^0.9.7",
     "phosphor-keymap": "^0.8.0",
     "phosphor-menus": "^1.0.0-rc.1",
-    "phosphor-splitpanel": "^1.0.0-rc.1",
-    "phosphor-widget": "^1.0.0-rc.1"
+    "phosphor-splitpanel": "^1.0.0-rc.1"
   },
   "devDependencies": {
     "css-loader": "^0.23.1",

+ 3 - 2
examples/terminal/package.json

@@ -3,12 +3,13 @@
   "name": "example",
   "scripts": {
     "build": "tsc --project src && webpack --config webpack.conf.js",
+    "clean": "rimraf build && rimraf node_modules",
+    "postinstall": "npm dedupe",
     "update": "rimraf node_modules/jupyter-js-ui && npm install"
   },
   "dependencies": {
     "jupyter-js-ui": "file:../..",
-    "phosphor-dockpanel": "^0.9.7",
-    "phosphor-widget": "^1.0.0-rc.1"
+    "phosphor-dockpanel": "^0.9.7"
   },
   "devDependencies": {
     "css-loader": "^0.23.1",