sqd-build

0.3.0 • Public • Published

sqd-build 0.2

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

Readme

Keywords

Package Sidebar

Install

npm i sqd-build

Weekly Downloads

0

Version

0.3.0

License

BSD 3-Clause

Unpacked Size

18.5 kB

Total Files

5

Last publish

Collaborators

  • anpham6