Browse Source

Minor build script update

Artur Paikin 9 years ago
parent
commit
ff8fbd4338
2 changed files with 5 additions and 5 deletions
  1. 3 3
      website/build-examples.js
  2. 2 2
      website/package.json

+ 3 - 3
website/build-examples.js

@@ -115,10 +115,10 @@ glob(srcPattern, function (err, files) {
 
       console.info(chalk.green('✓ building:'), chalk.green(path.relative(process.cwd(), file)))
 
-      var bundle = browseFy.bundle()
+      browseFy
+        .bundle()
         .on('error', onError)
-
-      bundle.pipe(createStream(output))
+        .pipe(createStream(output))
     }
   })
 })

+ 2 - 2
website/package.json

@@ -26,7 +26,7 @@
     "uuid": "2.0.1"
   },
   "devDependencies": {
-    "browserify": "12.0.1",
+    "browserify": "13.0.0",
     "chalk": "1.1.1",
     "documentation": "4.0.0-beta",
     "eslint-config-standard": "4.4.0",
@@ -37,6 +37,6 @@
     "multi-glob": "1.0.1",
     "node-notifier": "4.4.0",
     "remark": "3.0.0",
-    "watchify": "3.6.1"
+    "watchify": "3.7.0"
   }
 }