bi-gulp
v0.1.3
Published
Awesome node modules.
Downloads
1
Readme
bi-gulp
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
- Fork it on GitHub!
- Clone the fork to your own machine.
- Checkout your feature branch:
git checkout -b my-awesome-feature
- Commit your changes to your own branch:
git commit -am 'Add some feature'
- Push your work back up to your fork:
git push -u origin my-awesome-feature
- 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!