diff --git a/package.json b/package.json index 5c12b5df..766d9358 100644 --- a/package.json +++ b/package.json @@ -60,9 +60,9 @@ "uglify-js": "^2.0.0" }, "scripts": { - "postinstall": "cd website/ && yarn install", "test": "make test", "dev": "node test/browser/server.js", + "docs:install": "cd website/ && yarn install", "docs:generate-jsdoc": "node website/generate-jsdoc", "docs:start": "cd website/ && yarn start", "docs:build": "cd website/ && yarn build", diff --git a/website/README.md b/website/README.md index 69f8f780..653b82c5 100644 --- a/website/README.md +++ b/website/README.md @@ -4,7 +4,7 @@ The JavaScript SDK API Reference website is built using [Docusaurus 2](https://v ### Installation -Installation is automatically done when `yarn install` is ran from the base directory. +Run `yarn docs:install` to install website dependencies. ### Generating `website/docs/` from `src/`