📋Default commands

A Multijet project, by default, contains serveral npm scripts that are very useful to manage, build and deploy your project. All of the scripts are defined in the global package.json file (head to Project configuration section to know more).

Here are the main scripts that you will be using the most:

  • build: performs openapi types generation, typechecking on all packages and bundles each microservice in a single .js file.

  • lint: runs eslint for every package

  • test: runs all of your unit tests with mocha

  • clean: deletes all compiled and generated files, turbo cache and node modules

  • sam:start: builds your project and starts all the microservices with AWS Lambda

  • ts: runs a single TypeScript file (.ts) directly using esbuild-runner

Last updated