From b40f7ee6d93fd017e70571b88bc0468206d5cb93 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Thu, 7 Apr 2022 11:46:29 +0200 Subject: [PATCH] chore: add stub and notes --- README.md | 4 +++- package.json | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cedb1730e2..b87884905a 100644 --- a/README.md +++ b/README.md @@ -516,8 +516,10 @@ Preview and deploy command hints are usually filled by deployment presets. - Fork and clone this repository - Enable [corepack](https://github.com/nodejs/corepack) using `corepack enable` (use `npm i -g corepack` for Node.js < 16.10) -- Install dependencies using `yarn install`. +- Install dependencies using `yarn install` +- Activate passive watcher using `yarn stub` - Start playground with `yarn dev` and open http://localhost:3000 + - You can also try [`examples/`](./examples/) using `yarn example ` and `yarn example:build ` - Make changes - Ensure all tests pass using the `yarn test` command - Open that lovely PR! diff --git a/package.json b/package.json index 9b129add83..51e8df1837 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "nitro": "jiti ./src/cli.ts", "prepack": "yarn build", "release": "yarn test && yarn build && standard-version && npm run publish && git push --follow-tags", + "stub": "unbuild --stub", "test": "yarn lint && vitest run --silent" }, "resolutions": {