summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2023-08-18 11:09:36 -0700
committerMatthew Miller <matthew@millerti.me>2023-08-18 11:09:36 -0700
commita85427c6f2d8127ffeeb25ca4d155211f10356cd (patch)
treeb956afec4b905b0a81eadb32a9f4898554cddb39
parent34a0c49714b2974e409495bd0dba59ccc7003ae1 (diff)
Update development section of README
-rw-r--r--README.md19
1 files changed, 14 insertions, 5 deletions
diff --git a/README.md b/README.md
index e8b636b..2704168 100644
--- a/README.md
+++ b/README.md
@@ -39,21 +39,30 @@ with WebAuthn.
## Development
+Install the following before proceeding:
+
+- **Node.js 18**
+- **Deno 1.36.x**
+
After pulling down the code, set up dependencies:
```sh
$> npm install
```
-To run unit tests for all tracked lerna packages, run the following:
+To run unit tests for all workspace packages, use the `test` series of scripts:
```sh
-$> npx lerna run test
+# Run All tests
+$> npm run test
+# Run an individual package's tests
+$> npm run test:browser
+$> npm run test:server
```
-Running Jest in watch mode for a specific project requires the use of
-`lerna exec`:
+Tests can be run in watch mode with the `dev` series of scripts:
```sh
-$> npx lerna exec npm run test:watch --scope=@simplewebauthn/server
+$> npm run dev:browser
+$> npm run dev:server
```