|
@@ -92,8 +92,8 @@
|
|
|
"contributors:save": "replace-x -m '<!--contributors-->[\\s\\S]+<!--/contributors-->' \"<!--contributors-->\n## Contributors\n\n$(npm run --silent contributors:fetch)\n<!--/contributors-->\" README.md",
|
|
|
"dev:browsersync": "browser-sync start --no-open --no-ghost-mode false --server examples/dev --port 3452 --serveStatic packages/uppy/dist --files \"examples/dev/bundle.js, packages/uppy/dist/uppy.min.css, packages/uppy/lib/**/*\"",
|
|
|
"dev:watch-sandbox": "cd examples/dev && npm run watch:sandbox",
|
|
|
- "dev:with-companion": "npm-run-all --parallel start:companion dev:watch-sandbox watch dev:browsersync",
|
|
|
- "dev": "npm-run-all --parallel dev:watch-sandbox watch dev:browsersync",
|
|
|
+ "dev:with-companion": "npm-run-all --parallel start:companion dev:watch-sandbox watch:js:lib watch:css dev:browsersync",
|
|
|
+ "dev": "npm-run-all --parallel dev:watch-sandbox watch:js:lib watch:css dev:browsersync",
|
|
|
"lint:fix": "npm run lint -- --fix",
|
|
|
"lint:staged": "lint-staged",
|
|
|
"lint": "eslint . --cache",
|
|
@@ -117,7 +117,7 @@
|
|
|
"watch:css": "onchange 'packages/**/*.scss' --initial --verbose -- npm run build:css",
|
|
|
"watch:js:bundle": "onchange 'packages/{@uppy/,}*/src/**/*.js' --initial --verbose -- npm run build:bundle",
|
|
|
"watch:js:lib": "onchange 'packages/{@uppy/,}*/src/**/*.js' --initial --verbose -- npm run build:lib",
|
|
|
- "watch": "npm-run-all --parallel watch:*",
|
|
|
+ "watch": "npm-run-all --parallel watch:**",
|
|
|
"web:build-examples": "cd website && node build-examples.js",
|
|
|
"web:build": "npm-run-all web:inject-bundles-misc web:generate web:build-examples web:inject-frontpagecodesample",
|
|
|
"web:bundle-watch-inject": "onchange 'packages/uppy/dist/**/*.css' 'packages/uppy/dist/**/*.js' --initial --verbose -- npm run web:inject-bundles-misc",
|