diff options
author | Matthew Miller <matthew@millerti.me> | 2023-08-18 11:09:36 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2023-08-18 11:09:36 -0700 |
commit | a85427c6f2d8127ffeeb25ca4d155211f10356cd (patch) | |
tree | b956afec4b905b0a81eadb32a9f4898554cddb39 | |
parent | 34a0c49714b2974e409495bd0dba59ccc7003ae1 (diff) |
Update development section of README
-rw-r--r-- | README.md | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -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 ``` |