1.0.1 • Published 7 years ago
wooo v1.0.1
Wooo
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
1.0.1
7 years ago
1.0.0
7 years ago
0.1.1
7 years ago
0.1.0
8 years ago
0.0.35
8 years ago
0.0.34
8 years ago
0.0.33
8 years ago
0.0.32
9 years ago
0.0.31
9 years ago
0.0.30
9 years ago
0.0.29
9 years ago
0.0.28
9 years ago
0.0.27
9 years ago
0.0.26
9 years ago
0.0.24
9 years ago
0.0.23
9 years ago
0.0.22
9 years ago
0.0.21
9 years ago
0.0.20
9 years ago
0.0.19
9 years ago
0.0.18
9 years ago
0.0.17
9 years ago
0.0.16
9 years ago
0.0.14
9 years ago
0.0.13
9 years ago
0.0.12
9 years ago
0.0.11
9 years ago
0.0.10
9 years ago
0.0.9
9 years ago
0.0.8
10 years ago
0.0.7
10 years ago
0.0.6
10 years ago
0.0.5
10 years ago
0.0.4
10 years ago
0.0.3
10 years ago
0.0.2
10 years ago
0.0.1
10 years ago
0.0.0
10 years ago