node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

balm



NPM version Build Status Build Status Dependency Status Coverage percentage

BalmJS

A flexible Front-End workflow for webapps

Ecosystem

Project Status Description
balm-cli NPM version Project scaffolding 👻👻👻
balm-gui N/A GUI for BalmJS
balm-ui-lite NPM version Material Design Lite + Vue
balm-ui NPM version Material Components + Vue

Demo

Structure

project
├── .tmp // for development
├── dist // for production
├─┬ src
│ ├─┬ styles
│ │ └── main.css
│ ├─┬ scripts
│ │ └── main.js
│ ├── images
│ ├── fonts
│ ├── media
│ └── index.html
├─┬ config
│ ├── balmrc.js
│ └── publish.js
├── .dotfile
├── gulpfile.js
├── package.json
└── ...

Installation & Setup

yarn add -D gulp balm
# OR 
npm install -D gulp balm

Configuration

File: gulpfile.js

// 1. import balm
var balm = require('balm');
 
// 2. config balm
balm.config = {
  // your project config
};
 
// 3. run balm
balm.go();

Custom Task API

Usage

# for development 
$ gulp
 
# for production 
$ gulp --production

Common Issues

License

MIT

© 2016-present, Elf-mousE

thx node & gulp & webpack