The module starter template.
-
Via the CLI:
npx @tinijs/cli@latest new my-module -t module -
Or, download this repo and run
npm i.
First, name your module and add && npm publish to the release script in package.json.
Start the development from module/index.ts. For more details, please visit https://tinijs.dev/module/author-guide.
Scripts:
- Run
npm run buildto build. - Run
npm run testto test. - Run
npm run releaseto release.
Released under the MIT license.