Skip to content

Add pre-publish hook to run jsdoc generation #4

Open
@code-for-coffee

Description

@code-for-coffee

I have setup Github pages to host the docs/ folder. It is located http://codeforcoffee.org/simple-state/.

Because npm publish is a manual task (no CI is setup for it currently) this project needs to have a pre-publish hook added using the npm script prepublishOnly (we do not want this running on every npm i, which will be triggered via prepublish). This way docs are always up to date whenever I publish a version to npm.

Related: https://docs.npmjs.com/misc/scripts

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions