frontwork

1.1.4 • Public • Published

Frontwork

Tools for Front End Web Developers Work.

NPM Build Status MIT License

Specification

  • Compile EJS & Lint HTML

  • Compile & Lint SCSS

  • Transpile & Bundle & Lint JavaScript (Webpack)

  • Compress Images

  • Generate Iconfont

  • Generate Styleguide

  • Live Reload (Browsersync)

  • Prepared SCSS and JavaScript - Frontwork CSS

Installation

NPM

$ npm install --save frontwork

Usage

CLI

Options:
  --init         whether to initialize. [boolean] [default: false]
  --watch        whether to watch the files. [boolean] [default: false]
  --production   whether to product. [boolean] [default: false]
  --version, -v  show this version. [boolean]
  --help, -h     show this help. [boolean]

Initialize

Install the source files.

$ npx frontwork --init

Watch

Watch the source files and processes the task if there are changes.

$ npx frontwork --watch

Production

Delete unnecessary files and Compress all files.

$ npx frontwork --production

JavaScript

frontwork({
  init: true,
  watch: false,
  production: false
}).then(() => {
  console.log('Complete!!');
});

Changelog

License

/frontwork/

    Package Sidebar

    Install

    npm i frontwork

    Weekly Downloads

    1

    Version

    1.1.4

    License

    MIT

    Unpacked Size

    343 kB

    Total Files

    123

    Last publish

    Collaborators

    • isaxxx