@bitberry/bankai-revolutions-cli

1.2.0 • Public • Published

bankai-revolutions-cli

Zero configuration webpack runner

With bankai-cli you can run any ES20xx js file from anywhere. This is heavily inspired by backpack.

Installation

run npm install -g bankai-revolutions-cli

How to use

Get into the folder, where your javascript lives, and get started by typing bankai dev myfile.js This will start a development instance of your code.

Other starting options

Usage: bankai [options] [command]

zero config webpack runner

Options:
  -v,--version            output the version number
  -h, --help              output usage information

Commands:
  build [options] [file]  Build a production package
  dev [file]              start a development server

Usage: bankai build [options] [file]

Build a production package

Options:
  -r, --run         start build after compiling
  -o, --run-only    only start a ready built package
  -s, --as-service  run the package with nodemon
  -h, --help        output usage information

Usage: bankai dev [options] [file]

start a development server

Options:
  -h, --help  output usage information

Custom configuration

To add a new config to webpack, you can create a bankai.config.js file.

For example:

module.exports = {
    webpack: (config, options, webpack) => {
        // add a custom alias for imports
        config.resolve = {
            alias: {
                '~~': './'
            }
        }

        return config
    }
}

Package Sidebar

Install

npm i @bitberry/bankai-revolutions-cli

Weekly Downloads

27

Version

1.2.0

License

MIT

Unpacked Size

25.6 kB

Total Files

20

Last publish

Collaborators

  • xeinfallslos
  • eisblue
  • gloria_widhalm
  • schutt
  • rkan07
  • daspete
  • gsuvandzhiev
  • rubaabuisa