Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juliendargelos/rollup-application

Application template for rollup and typescript, powered by github actions
https://github.com/juliendargelos/rollup-application

ejs rollup sass template typescript

Last synced: about 1 month ago
JSON representation

Application template for rollup and typescript, powered by github actions

Awesome Lists containing this project

README

        

# rollup-application

[![build](https://github.com/juliendargelos/rollup-application/workflows/build/badge.svg?branch=master)](https://github.com/juliendargelos/rollup-application/actions?workflow=build)
[![version](https://img.shields.io/github/package-json/v/juliendargelos/rollup-application)](https://github.com/juliendargelos/rollup-application)

Application template for rollup and typescript, powered by github actions. Dependencies always up to date thanks to [dependabot](https://dependabot.com).

*See [rollup-library](https://github.com/juliendargelos/rollup-library) if you need a library template.*

### Usage

Click on [![Use this template](https://img.shields.io/badge/-Use%20this%20template-brightgreen)](https://github.com/juliendargelos/rollup-application/generate) then wait for the [initialize workflow](.github/workflows/initialize.yml) 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`.

### Features

#### Bundling

- Rollup, TypeScript and ESLint
- IIFE bundle
- Path alias from tsconfig.json synced with rollup
- Development server with SSL and livereload
- Views with EJS
- Stylesheets with SASS including CSS reset and easing variables
- Static files
- Terser

#### Continuous integration (Github Actions)

- Build on pull requests and push to master
- Build and deploy to Github Pages on push to master

*Requires `PERSONAL_TOKEN` [secret](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets) to be set as a [GitHub personal access token](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line) with full `repo` scope.*

*The [deploy](.github/workflows/deploy.yml.sample) workflow is disabled by default, remove the `.sample` suffix to enable it.*