|
@@ -32,10 +32,13 @@
|
|
|
"test:unit": "node test/unit/index.js | tap-spec",
|
|
|
"test": "npm run lint && npm run test:unit",
|
|
|
"travis:deletecache": "travis cache --delete",
|
|
|
- "watch:css": "nodemon --watch src --ext scss -x 'npm run build:css && node website/update.js'",
|
|
|
- "watch:fast": "npm-run-all --parallel watch:css web:preview",
|
|
|
- "watch:js": "nodemon --watch src --ext js -x 'npm run build:bundle && node website/update.js'",
|
|
|
+ "watch:css": "nodemon --watch src --ext scss -x 'npm run build:css'",
|
|
|
+ "watch:js": "nodemon --watch src --ext js -x 'npm run build:bundle'",
|
|
|
"watch": "npm-run-all --parallel watch:js watch:css",
|
|
|
+ "watch:fast": "npm-run-all --parallel watch:css web:preview",
|
|
|
+ "watch:example:browsersync": "browser-sync start --server 'example' --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",
|
|
|
"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",
|
|
@@ -70,8 +73,9 @@
|
|
|
"babel-preset-es2015-loose": "7.0.0",
|
|
|
"babel-register": "6.7.2",
|
|
|
"babelify": "7.2.0",
|
|
|
- "browser-sync": "2.10.0",
|
|
|
- "browserify": "12.0.1",
|
|
|
+ "browser-sync": "2.13.0",
|
|
|
+ "browserify": "13.0.1",
|
|
|
+ "watchify": "3.7.0",
|
|
|
"chalk": "1.1.1",
|
|
|
"cssnano": "3.6.2",
|
|
|
"disc": "1.3.2",
|