light-scripts

3.3.1 • Public • Published

Light scripts

Build scripts for Lighting Beetle* light framework.

Table of Contents

Prerequisites

node.js >= 6.9.0

Install

npm install light-scripts --save-dev

or

yarn add light-scripts --dev

Features

Usage

Config

Add light.config.js file to light project root. Format of config file should look like this:

module.exports = (defaultPaths, defaultConfig, flags) => ({
  paths: {},
  config: {},
});

Via config file, default configuration can be customized if necessary.

If custom configuration is not needed, light.config.js can be omitted.

Tasks

Tasks should be run in main project folder, which depends on light-scripts.

Main gulp tasks:

  • Project serving with live-reload:
gulp serve
  • Project build:
gulp serve
  • Other tasks:
gulp -T

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i light-scripts

Weekly Downloads

22

Version

3.3.1

License

MIT

Unpacked Size

70.4 kB

Total Files

23

Last publish

Collaborators

  • adam.mockor
  • jurajk