Templates

Denon is designed to be simple but also extremely configurable to fit your project needs. It supports JSON, YAML, and Typescript configuration file. Example in this page are provided in all three formats.

to create a basic configuration in the root directory of your project you can run:

denon --init

this will create a basic denon.json file:

{
"scripts": {
"start": "app.js"
}
}

you can also initialize from a custom template (see the templates folder for all the available templates)

denon --init <template>
template for denon.json
{
"$schema": "https://deno.land/x/denon/schema.json",
"scripts": {
"start": {
"cmd": "deno run app.ts",
"desc": "run my app.ts file"
}
}
}