This repository is a library template.
For any question please open an issue.
$ npm install @danbot-hosting/ui
$ yarn add @danbot-hosting/ui
$ pnpm add @danbot-hosting/ui
Running npm publish
would build "src/index.ts" and upload a pack with only following items:
- LICENSE
- README.md
- dist/index.d.mts
- dist/index.d.ts
- dist/index.js
- dist/index.mjs
- package.json
Removing ESM definition types (dist/index.d.mts") is unnecessary!
There's already a preconfigured entry point for both CJS & ESM. JSON file offers a preset with github repository, scripts, development dependencies and some useful empty fields to configure.
It is highly recommended to install biome toolchain & prettier formatter as extensions in your IDE (text editor)!
Template includes biome, prettier, tsup, turbo, typescript & vitest preinstalled. There're already a bunch of configs for them.
This project is under MIT license. You can freely use it for your own purposes.