rak-wrapper
v0.0.1
Published
Monorepo for the RAK Bank JavaScript SDK
Downloads
2
Readme
rak-js-sdk
The RAK JavaScript SDK implements the client-side libraries used by applications using RAK services.
Scripts
The following npm scripts are made
available to you in the project root. You can run each of them with
npm run <script-name>
.
If you want to limit the scope of a script to a particular package, add the
--scope
option to the command (e.g.,
npm run clean -- --scope=@lerna-app/core
). See run options.
You can also run Lerna commands in this
project. It is recommended that you use
npx
to run these commands (i.e.,
npx lerna <command>
).
clean
Supports run options.
Clean coverage results in ./coverage
and runs npm run clean
for each
package.
lint
Supports run options.
Runs ESLint for each package.
build
Supports run options.
Runs the TypeScript compiler for each package.
test
Runs Jest in watch mode, which attempts to run only on changed files.
This command doesn't support --scope
, but you can narrow the test run by
adding filename (path) filters in as many ...args
that follow (e.g.,
npm test core/src
).
cover
Runs Jest in coverage mode,
dumping coverage results in ./coverage
and showing a text summary in the
console output.
Feel free to add more
coverage reporters
to the list. The Jest configuration can be found in the root package.json
.
commit
Runs Commitizen commit wizard, ensuring that your commit messages conform to Conventional Commits.
Use the git commit
command directly
with the
-n
, --no-verify
option
to bypasses the pre-commit and commit-msg hooks.