node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

boruto

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