Skip to content

Commit ca98af3

Browse files
authored
fix: move bad postinstall script (#301)
* move bad postinstall script * update website readme
1 parent 44d00d7 commit ca98af3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@
6060
"uglify-js": "^2.0.0"
6161
},
6262
"scripts": {
63-
"postinstall": "cd website/ && yarn install",
6463
"test": "make test",
6564
"dev": "node test/browser/server.js",
65+
"docs:install": "cd website/ && yarn install",
6666
"docs:generate-jsdoc": "node website/generate-jsdoc",
6767
"docs:start": "cd website/ && yarn start",
6868
"docs:build": "cd website/ && yarn build",

website/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The JavaScript SDK API Reference website is built using [Docusaurus 2](https://v
44

55
### Installation
66

7-
Installation is automatically done when `yarn install` is ran from the base directory.
7+
Run `yarn docs:install` to install website dependencies.
88

99
### Generating `website/docs/` from `src/`
1010

0 commit comments

Comments
 (0)