Skip to content

Latest commit

 

History

History
44 lines (39 loc) · 847 Bytes

esdoc.md

File metadata and controls

44 lines (39 loc) · 847 Bytes

ESDoc

ESDoc Read more

yarn add esdoc esdoc-jsx-plugin esdoc-react-plugin esdoc-standard-plugin --exact

Add .esdoc.json config file

{
  "index": "./README.md",
  "package": "./package.json",
  "source": "./src",
  "destination": "./doc",
  "includes": ["\\.jsx?$"],
  "excludes": [],
  "plugins": [
    {
      "name": "esdoc-standard-plugin",
      "options": {
        "lint": {"enable": true},
        "coverage": {"enable": true},
        "accessor": {"access": ["public", "protected", "private"], "autoPrivate": true},
        "brand": {
          "title": "Awesome React"
        }
      }
    },
    {
      "name": "esdoc-jsx-plugin",
      "options": {
        "enable": true
      }
    },
    {
      "name": "esdoc-react-plugin"
    }
  ]
}

package.json add script esdoc