Skip to content

form8ion plugin for managing rollup configuration in javascript projects

License

Notifications You must be signed in to change notification settings

form8ion/rollup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rollup

form8ion plugin for managing rollup configuration in javascript projects

Node CI Workflow Status Codecov SLSA Level 2

Table of Contents

Usage

MIT license npm Try @form8ion/rollup on RunKit node

Installation

$ npm install @form8ion/rollup --save-prod

Example

Import

import {dialects, projectTypes} from '@form8ion/javascript-core';

Execute

(async () => {
  await scaffold({projectRoot: process.cwd(), dialect: dialects.BABEL, projectType: projectTypes.PACKAGE});
})();

API

scaffold

Scaffolder for configuring bundling of packages with Rollup

Takes a single options object as an argument, containing:

projectRoot string (required)

path to the root of the project

projectType string (required)

Chosen type of possible JavaScript project type

dialect string (required)

Chosen source JavaScript dialect of the project

Contributing

PRs Welcome Commitizen friendly Conventional Commits semantic-release Renovate

Dependencies

$ nvm install
$ npm install

Verification

$ npm test