Library template for rollup and typescript, powered by github actions. Dependencies always up to date thanks to dependabot.
See rollup-application if you need an application template.
Click on then wait for the initialize workflow to complete. The package name and urls will be automatically replaced at initialization. You may want to change the author name in
package.json and LICENSE.
- Rollup, TypeScript, ESLint and Jest
- ESM, CJS and UMD bundles
- Path alias from tsconfig.json synced with rollup
- Development server with demo in watch mode
- Terser for browser and demo bundle
- Build and test on pull requests and push to master
- Build, test and publish to npm when a new version is pushed to master
RequiresNODE_TOKENsecret to be set as a NPM authentication token. - Build demo and deploy to Github Pages on push to master
RequiresPERSONAL_TOKENsecret to be set as a GitHub personal access token with fullreposcope.
The publish and demo workflows are disabled by default, add the required secrets and remove the .sample suffix from the corresponding files to enable them.