@form8ion/vite

2.0.1 • Public • Published

vite

form8ion plugin for managing Vite configuration in javascript projects

Node CI Workflow Status Codecov SLSA Level 2

Table of Contents

Usage

MIT license npm Try @form8ion/vite on RunKit node

Installation

$ npm install @form8ion/vite --save-dev

Example

Import

import {scaffold} from '@form8ion/vite';

Execute

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

API

scaffold

Scaffolder for enabling Vite for building a project.

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

Contributing

PRs Welcome Commitizen friendly Conventional Commits semantic-release: angular Renovate

Dependencies

$ nvm install
$ npm install

Verification

$ npm test

Readme

Keywords

none

Package Sidebar

Install

npm i @form8ion/vite

Weekly Downloads

203

Version

2.0.1

License

MIT

Unpacked Size

11.6 kB

Total Files

6

Last publish

Collaborators

  • travi
  • form8ion-bot