🏛️ Base repository for building JavaScript apps or libraries.
To use this template, clone this repository and rename all "Foundation" instances to the name of your library. Set this package to "public" before publishing it.
nvm install
npm install
Use the application to test your library:
npm run dev
npm run dev:test
(or use dedicated Vitest plugin of your IDE)
Build and publish the library:
npm run build:lib
- Set the
private
property tofalse
in package.json npm run release:init
Release subsequent versions using either:
npm run release:alpha
npm run release:beta
npm run release:patch
npm run release:minor
npm run release:major
Develop on the application:
npm run dev
npm run dev:test
(or use dedicated Vitest plugin of your IDE)
Build and run:
npm run build:app
npm start
- List the main features of the library
- Explain how it distinguishes from other libraries
Everything is exported from the main entry-point through an ES6 module:
import { add } from "foundation";
Install with the Node Package Manager:
npm install foundation
Documentation is generated here.