|
@@ -99,7 +99,6 @@
|
|
"build:css": "node ./bin/build-css.js",
|
|
"build:css": "node ./bin/build-css.js",
|
|
"build:gzip": "node ./bin/gzip.js",
|
|
"build:gzip": "node ./bin/gzip.js",
|
|
"size": "echo 'JS Bundle mingz:' && cat ./dist/uppy.min.js | gzip | wc -c && echo 'CSS Bundle mingz:' && cat ./dist/uppy.min.css | gzip | wc -c",
|
|
"size": "echo 'JS Bundle mingz:' && cat ./dist/uppy.min.js | gzip | wc -c && echo 'CSS Bundle mingz:' && cat ./dist/uppy.min.css | gzip | wc -c",
|
|
- "build:bundle:fullpath": "env OUT=uppy-fp.js ./bin/build-bundle --full-paths",
|
|
|
|
"build:js": "npm-run-all build:bundle build:lib",
|
|
"build:js": "npm-run-all build:bundle build:lib",
|
|
"build:lib": "babel --version && babel src --source-maps -d lib",
|
|
"build:lib": "babel --version && babel src --source-maps -d lib",
|
|
"build": "npm-run-all --parallel build:js build:css --serial build:gzip size",
|
|
"build": "npm-run-all --parallel build:js build:css --serial build:gzip size",
|
|
@@ -133,7 +132,7 @@
|
|
"web:clean": "cd website && ./node_modules/.bin/hexo clean",
|
|
"web:clean": "cd website && ./node_modules/.bin/hexo clean",
|
|
"web:deploy": "npm-run-all web:install web:disc web:build && ./bin/web-deploy",
|
|
"web:deploy": "npm-run-all web:install web:disc web:build && ./bin/web-deploy",
|
|
"web:generated-docs": "cd website && node node_modules/documentation/bin/documentation.js readme ../src/index.js --readme-file=src/docs/api.md --section 'Uppy Core & Plugins' -q --github -c doc-order.json",
|
|
"web:generated-docs": "cd website && node node_modules/documentation/bin/documentation.js readme ../src/index.js --readme-file=src/docs/api.md --section 'Uppy Core & Plugins' -q --github -c doc-order.json",
|
|
- "web:disc": "npm run build:bundle:fullpath && discify dist/uppy-fp.js --output website/src/_disc.html && echo '---\nlayout: false\n---\n' |cat - website/src/_disc.html > website/src/disc.html && rm website/src/_disc.html",
|
|
|
|
|
|
+ "web:disc": "node ./bin/disc.js",
|
|
"web:install": "cd website && npm install",
|
|
"web:install": "cd website && npm install",
|
|
"web:bundle:update:watch": "onchange 'dist/**/*.css' 'dist/**/*.js' --initial --verbose -- node website/update.js",
|
|
"web:bundle:update:watch": "onchange 'dist/**/*.css' 'dist/**/*.js' --initial --verbose -- node website/update.js",
|
|
"web:examples:watch": "cd website && node build-examples.js watch",
|
|
"web:examples:watch": "cd website && node build-examples.js watch",
|