Home

Awesome

tooling

NPM version NPM downloads Build Status donate

Install

yarn add tooling tooling-preset-web --dev

How to use

Configure npm scripts:

{
  "scripts": {
    "build": "tooling build",
    "dev": "tooling dev"
  },
  "tooling": {
    "presets": [
      "web"
    ]
  }
}

Populate index.js inside your project:

document.write('<h1>Hello World!<h1>')

And run yarn dev and go to http://localhost:4000.

Command

Configuration

The surpise is, tooling requires no configurations! Oh well, there're a couple CLI options. You can run tooling --help and tooling <command> --help to check out!

However, presets may require options, then you can configure them in:

Presets

Your app is driven by presets under the hood, just like babel is driven by babel presets.

List of presets

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

tooling © egoist, Released under the MIT License.<br> Authored and maintained by egoist with help from contributors (list).

egoistian.com · GitHub @egoist · Twitter @rem_rin_rin