Coder Social home page Coder Social logo

wo's Introduction

Wooo

Wooo Version Build Status codecov.io dependencies up to date License

A FE Build tool with easy cli.

┬ ┬╔═╗╔═╗╔═╗
│││║ ║║ ║║ ║
└┴┘╚═╝╚═╝╚═╝

Requirement

"node" : ">=4.0.0"

Install globally

npm install wooo -g

Usage: wo <command> <input> <options>

command:
  build     - clear && build all source files to dest
  deploy    - build && upload to ftp server
  release   - build && taged git source - (Experimental)
  start     - build && start a local server with default root [.www]
  clear     - by default, rm -rf build .www
  gen       - generate a new demo project

input:
  path/to/dir
  glob/pattern/**
  path/to/file.ext
  component_name
  component_name1,component_name2
  gen_project_name

options:
  --sprite      - concat sprites to one image and generate a style file
  --nunjucks    - compile nunjucks to html
  --uglify      - compress scripts
  --imagemin    - optimize images
  --sass        - compile sass to css
  --debug       - build uncompressed js file
  --force       - deploy file with no cache
  --currdir     - generate demo project file to current directory
  --config      - specified config file path

Bundled with npm scripts

npm install wooo --save-dev

"scripts": {
    "start": "node ./node_modules/wooo start",
    "build": "node ./node_modules/wooo build",
    "build:sprite": "node ./node_modules/wooo build --sprite",
    "deploy": "node ./node_modules/wooo deploy",
    "release": "node ./node_modules/wooo release",
    "clear": "node ./node_modules/wooo clear",
    "gen": "node ./node_modules/wooo gen"
}

Documention

wiki

wo's People

Contributors

keelii avatar

Watchers

James Cloos avatar  jeffy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.