Browse Source

add `npm run dev` shortcut to work on Uppy, same as watch:example, but shorter and easier to memorize

//cc @ifedapoolarewaju @goto-bus-stop
Artur Paikin 8 years ago
parent
commit
8a6f88d9af
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -122,6 +122,7 @@
     "watch:example:browsersync": "browser-sync start --server example --port 3452 --serveStatic dist --files \"example/bundle.js, dist/uppy.min.css\"",
     "watch:example:js": "watchify -t babelify example/main.js -o example/bundle.js -vd",
     "watch:example": "npm-run-all --parallel watch:example:js watch:css watch:example:browsersync",
+    "dev": "npm-run-all --parallel watch:example:js watch:css watch:example:browsersync",
     "web:build": "cd website && node update.js && ./node_modules/.bin/hexo generate --silent && node build-examples.js",
     "web:clean": "cd website && ./node_modules/.bin/hexo clean",
     "web:deploy": "npm-run-all web:install web:disc docs web:build && ./bin/web-deploy",