boruto

2.3.0 • Public • Published

The tool for web development

pug + stylus + es6

npm node GitHub tag GitHub release npm GitHub license

Workflow

Workflow

Installation

npm i boruto -g

Usage

Initialization
boruto init [directory]
param desc
[directory] Set the dir for initialization
Debug
boruto server [directory]
param desc
[directory] Set the dir for server
Dist
boruto dist [directory]
参数 说明
[directory] Set the dir for dist

.borutorc

The config file for boruto

{
  "server": {
    "extDirs": [],
    "serveStatic": [],
    "port": 8080,
    "open": false
  },
  "dist": {
    "distDir": "dist",
    "compress": true,
    "requirejsConfig": "app/scripts/config.js",
    "amdOptimizationDir": [
      "app/scripts"
    ],
    "templateDir": [
      "app/scripts/_template"
    ],
    "moduleDir": []
  }
}

Boruto's server use browsersync, so you can find more options in https://browsersync.io/docs/options/

License

MIT

Dependents (0)

Package Sidebar

Install

npm i boruto

Weekly Downloads

0

Version

2.3.0

License

MIT

Last publish

Collaborators

  • cntanglijun