0.1.3 • Published 4 years ago

bi-gulp v0.1.3

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

bi-gulp

Build Status Coverage Status License NPM Downloads NPM Version Dependency Status devDependency Status Code Style

Awesome node modules.

Installation

$ npm install bi-gulp

# or yarn
$ yarn add bi-gulp

Usage

module.exports = require('bi-gulp')
// pages.config.js
module.exports = {
  build: {
    src: 'src',
    dist: 'dist',
    public: 'public',
    paths: {
      style: 'src/css/*.css',
      script: 'src/**/*.js',
      image: 'src/images/**',
      page: 'src/**/*.html'
    },
    proxyArr: [
      {
        "/backorg": {
          target: "http://**********/uuuu",
          changeOrigin: true,
        },
      },
    ]
  }
}

API

biGulp(input, options?)

input

  • Type: string
  • Details: name string

options

host
  • Type: string
  • Details: host string
  • Default: 'zce.me'

CLI Usage

Use npx:

$ npx bi-gulp <input> [options]

Globally install:

$ npm install bi-gulp -g
# or yarn
$ yarn global add bi-gulp
$ bi-gulp --help
demo v0.1.0

Usage:
  $ bi-gulp <input>

Commands:
  <input>  Sample cli program

For more info, run any command with the `--help` flag:
  $ bi-gulp --help

Options:
  --host <host>  Sample options
  -h, --help     Display this message
  -v, --version  Display version number

Examples:
  $ bi-gulp w --host zce.me

Contributing

  1. Fork it on GitHub!
  2. Clone the fork to your own machine.
  3. Checkout your feature branch: git checkout -b my-awesome-feature
  4. Commit your changes to your own branch: git commit -am 'Add some feature'
  5. Push your work back up to your fork: git push -u origin my-awesome-feature
  6. Submit a Pull Request so that we can review your changes.

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

License

MIT © Your name