sqd-build
v0.4.0
Published
CLI build directory for squared.
Downloads
80
Readme
sqd-build 0.4
Usage: npx build [options] -- [exec args...]
Traverse root source folder for build outputs
Options:
--version Print the current version
-d, --dir <path> Start directory
-e, --exec <program> Name of executable
-f, --filename <string> Name of config for executable
-p, --pipeline <path> Module dependency order
-c, --config <path> JSON file with non-overriding options
-w, --worker Use separate process for each execution
-a, --all Do not abort build for any reason
-t, --timeout <seconds> Maximum build time for each execution
-n, --newline <number> Exec separation for stdout
-E, --exclude <folders...> Name only or full path of sub-directories not to traverse
-Q, --break [limit] Abort when error limit is breached (preset: 1)
-s, --silent Suppress all console output
--no-color Disable coloring for console output
--help Print the command line options
Commands:
help [command] Print help for command
squared
npx build -d ./src -e tsc -f tsconfig.json -n-1 -a -- -b
npx build -c ./config/dev/build.json
{
"dir": "framework",
"exec": "tsc",
"args": ["-b"],
"filename": "tsconfig.json",
"all": true,
"worker": false,
"pipeline": [
["android", "chrome", "vdom"],
["vdom-lite"]
]
}
node build.js -c ./config/dev/bundle.json
{
"dir": "config/dev",
"exec": "rollup",
"args": ["--silent", "-c"],
"filename": "rollup.config.js",
"exclude": ["sqd"],
"all": true,
"worker": false,
"newline": 1
}
E-mc
npx build -c ./scripts/build.dev.json
{
"dir": "src",
"exec": "tsc",
"args": ["-b"],
"filename": "tsconfig.json",
"all": false,
"worker": false,
"pipeline": [
["types"],
["module"],
["core", "request", "compress"],
["watch", "image", "db", "task"],
["cloud", "document"],
["file-manager", "compat-v4"]
]
}
LICENSE
BSD 3-Clause