kds-gulp
v1.0.6
Published
[![Build Status][travis-image]][travis-url] [![Package Version][version-image]][version-url] [![License][license-image]][license-url] [![Dependency Status][dependency-image]][dependency-url] [![devDependency Status][devdependency-image]][devdependency-url
Downloads
3
Readme
kds-gulp
Always a pleasure scaffolding your awesome static sites.
Getting Started
# clone repo
$ git clone https://github.com/zce/pages-boilerplate.git my-awesome-pages
$ cd my-awesome-pages
# install dependencies
$ yarn # or npm install
Usage
$ yarn <task> [options]
e.g.
# Runs the app in development mode
$ yarn serve --port 5210 --open
# Builds the app for production to the `dist` folder
$ yarn build --production
Available Scripts
yarn lint
or npm run lint
Lint the styles & scripts files.
yarn compile
or npm run compile
Compile the styles & scripts & pages file.
yarn serve
or npm run serve
Runs the app in development mode with a automated server.
options
open
: Open browser on start, Default:false
port
: Specify server port, Default:2080
yarn build
or npm run build
Builds the app for production to the dist
folder. It minify source in production mode for the best performance.
options
production
: Production mode flag, Default:false
prod
: Alias toproduction
yarn start
or npm run start
Running projects in production mode.
options
open
: Open browser on start, Default:false
port
: Specify server port, Default:2080
yarn deploy
or npm run deploy
Deploy the dist
folder to GitHub Pages.
options
branch
: The name of the branch you'll be pushing to, Default:'gh-pages'
yarn clean
or npm run clean
Clean the dist
& temp
files.
Folder Structure
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!