jsrepo.json
Configuration for your project.
jsrepo.json holds the configuration for your project.
You can create a jsrepo.json by running the init command with the --project flag:
$schema
$schema is tracked with the cli so you can use a specific version using unpkg:
repos
repos allows you to specify different registries to install blocks from. All of the blocks from each registry will be listed when you run add.
paths
Where to add specific categories in your project.
includeTests
Whether or not to include test files when installing blocks.
watermark
Whether or not to add a watermark to installed blocks.
When true adds a watermark with the jsrepo version repository it was added from and the date it was added on.
formatter
The formatter to use when writing files in your project.
jsrepo can format your files following your local config before adding them to your repository. Currently the only supported formatters are Prettier and Biome.