common-ts

A sample addon for AdonisJs

Usage no npm install needed!

<script type="module">
  import commonTs from 'https://cdn.skypack.dev/common-ts';
</script>

README

Adonis Addon

This is a boilerplate for creating AdonisJs Addons. It is suggested to read addons guide to learn more about the development process.

Dependencies

This project includes following dependencies, you are free to remove them.

  1. japa - Test runner to run tests
  2. standardjs - Code linter

Things to note

  1. Always include @adonisjs/fold as a dev dependency to your addon.
  2. Use require.main.require('@adonisjs/fold') vs require('@adonisjs/fold') when importing the IoC container dependency.