The simplest kind of projects are the single package repositories. Out of the box,
just can create a single package library or a batteries-included web application. The generated repository will use the
just library to manage its build definitions. You can customize the build task flow by editing the
just.config.js at the root of the generated repository.
To get started, have a look at the
README.md at the root of the newly generated repository. Some of the common commands are listed here.
Installing dependencies is the job of the package manager. By default node.js comes with the
npm package manager. We can simply do this:
Don't forget to run
npm installafter you do a
To build the package, simply run the
build npm script:
npm run build
To develop with an innerloop experience, type:
Testing the package
jest library is used to run tests. This library can run unit tests in parallel and has a good developer experience when developing test by providing an innerloop capability via its watch mode.
To run the tests in one pass:
To do innerloop test development:
npm run start-test