Kevin van Zonneveld 9 years ago
parent
commit
304eaadca0
3 changed files with 6 additions and 3 deletions
  1. 1 1
      bin/build-umd
  2. 1 2
      package.json
  3. 4 0
      website/src/disc.html

+ 1 - 1
bin/build-umd

@@ -18,4 +18,4 @@ FLAGS="-t [ babelify ] --standalone Uppy"
 
 mkdir -p "${OUTDIR}"
 
-browserify ${@} $SRC $FLAGS > $OUTDIR/$OUT
+browserify ${@:-} $SRC $FLAGS > $OUTDIR/$OUT

+ 1 - 2
package.json

@@ -25,8 +25,7 @@
     "web:build": "cd website && node update.js && ./node_modules/.bin/hexo generate",
     "web:clean": "cd website && ./node_modules/.bin/hexo clean",
     "web:deploy": "npm run web:install && npm run web:disc && npm run web:build && ./bin/web-deploy",
-    "web:disc": "cd website && npm run disc",
-    "web:disc": "npm run build:umd:fullpath && discify dist/uppy-fp.js --output website/src/disc.html",
+    "web:disc": "npm run build:umd: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:install": "cd website && rm -rf node_modules/hexo-renderer-uppyexamples && npm install",
     "web:preview": "cd website && ./node_modules/.bin/hexo server --debug",
     "web:update-frontpage-code-sample": "cd website && ./node_modules/.bin/hexo generate && cp -f public/frontpage-code-sample.html ./themes/uppy/layout/partials/frontpage-code-sample.html",

File diff suppressed because it is too large
+ 4 - 0
website/src/disc.html


Some files were not shown because too many files changed in this diff