0.0.3 • Published 10 years ago
build-chain v0.0.3
Build-chain
Installation
npm install -g build-chain
Usage
build.json
in project location
{
"default": [
"build-chain compile run"
],
"compile": [
"tsc -m commonjs --outDir build src/app.ts",
"echo Ok compiling done!"
],
"run": [
"node build/app.js",
"echo Ok everything looks good"
],
"my word": [
"echo You can use double quotes for string",
"echo so see you :)"
]
}
call build-chain with default parameter
build-chain
call build-chain with only compile
build-chain compile
call build-chain with double quotes
build-chain "my word"
call build-chain with multiple parameters
build-chain compile run "my word"
0.0.3
10 years ago