Kevin van Zonneveld 9 years ago
parent
commit
2937e56339
2 changed files with 1 additions and 6 deletions
  1. 1 0
      package.json
  2. 0 6
      website/src/guide/contributing.md

+ 1 - 0
package.json

@@ -17,6 +17,7 @@
     "watch:css": "nodemon -e src/scss -x \"npm run build:css\"",
     "watch:css": "nodemon -e src/scss -x \"npm run build:css\"",
     "watch:examples": "cd website && node build-examples.js watch",
     "watch:examples": "cd website && node build-examples.js watch",
     "watch:js": "nodemon --watch src -e js --ignore src/scss -x \"npm run build:lib\"",
     "watch:js": "nodemon --watch src -e js --ignore src/scss -x \"npm run build:lib\"",
+    "web:clean": "cd website && ./node_modules/.bin/hexo clean",
     "web:build": "cd website && node update.js && ./node_modules/.bin/hexo generate",
     "web:build": "cd website && node update.js && ./node_modules/.bin/hexo generate",
     "web:deploy": "npm run web:install && npm run web:build && ./bin/web-deploy",
     "web:deploy": "npm run web:install && npm run web:build && ./bin/web-deploy",
     "web:install": "cd website && rm -rf node_modules/hexo-uppyexamplebuilder && npm install",
     "web:install": "cd website && rm -rf node_modules/hexo-uppyexamplebuilder && npm install",

+ 0 - 6
website/src/guide/contributing.md

@@ -137,9 +137,3 @@ For local previews on http://127.0.0.1:4000 type:
 ```bash
 ```bash
 npm run web
 npm run web
 ```
 ```
-
-This will start Hexo and rebuilds the site as you save. If you also want to work on examples / Uppy itself you then open a second tab in which you type:
-
-```bash
-npm run watch:examples
-```