diff --git a/package.json b/package.json index 823cb0b..6826fbc 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,8 @@ "test:types": "tsc --noEmit", "build:clean": "rimraf lib module types umd", "build": "npm run build:clean && rollup -c rollup.config.js", - "build:website": "yarn build && cd website && yarn build", + "build:website": "cd website && yarn install && yarn build", + "serve:website": "cd website && yarn serve", "format": "prettier --write '{,!(coverage)/**/}{*.{js,tsx,html,md,yml},!(package-lock).json}'", "prepublishOnly": "npm run test && npm run build", "prepack": "node -e \"require('./package.json').files.map((file) => require('fs').statSync(require('path').join(process.cwd(), file)))\""