Переглянути джерело

Fix, that somehow documentation is failing now

on sh: documentation: command not found
Kevin van Zonneveld 9 роки тому
батько
коміт
10b8d51e7c
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      package.json
  2. 1 1
      website/package.json

+ 1 - 1
package.json

@@ -12,7 +12,7 @@
     "build:lib": "babel --version && babel src -d lib",
     "build": "npm run build:lib && npm run build:bundle && npm run build:bundle:min && npm run build:css",
     "clean": "rm -rf lib && rm -rf dist",
-    "docs": "cd website && documentation readme ../src/index.js --readme-file=src/api/docs.md --section 'Uppy Core & Plugins' -q --github -c doc-order.json",
+    "docs": "cd website && node node_modules/documentation/bin/documentation.js readme ../src/index.js --readme-file=src/api/docs.md --section 'Uppy Core & Plugins' -q --github -c doc-order.json",
     "install": "npm run web:install",
     "lint:fix": "eslint src test website/build-examples.js website/update.js website/themes/uppy/source/js/common.js --fix",
     "lint": "eslint src test website/build-examples.js website/update.js website/themes/uppy/source/js/common.js",

+ 1 - 1
website/package.json

@@ -28,7 +28,7 @@
   "devDependencies": {
     "browserify": "13.0.0",
     "chalk": "1.1.1",
-    "documentation": "4.0.0-beta",
+    "documentation": "4.0.0-beta2",
     "eslint-config-standard": "4.4.0",
     "eslint-plugin-standard": "1.3.1",
     "eslint": "1.10.3",