msal-node library is under development, Please track the project progress here.
// Change to the msal-node package directory cd lib/msal-node/ // Ensure you are using the local build of msal-common npm link @azure/msal-common // To run build only for node package npm run build
TBD: Add lerna bootstrap to build common/node in one step
Below is a list of commands you will probably find useful.
Runs the project in development/watch mode. Your project will be rebuilt upon changes. TSDX has a special logger for you convenience. Error messages are pretty printed and formatted for compatibility VS Code's Problems tab.
Your library will be rebuilt if you make edits.
npm run build
Bundles the package to the
The package is optimized and bundled with Rollup into multiple formats (CommonJS, UMD, and ES Module).
npm run lint
Runs eslint with Prettier
npm run test:coverage,
npm run test:watch
Runs the test watcher (Jest) in an interactive mode. By default, runs tests related to files changed since the last commit. Generate code coverage by adding the flag --coverage. No additional setup needed. Jest can collect code coverage information from entire projects, including untested files.
This project was bootstrapped with TSDX.