static-pipe
v0.0.6-alpha
Published
Simple non-bundling processing of static input sources.
Downloads
5
Readme
static-pipe
Simple, linear, non-bundling processing of static source files to produce static web output files.
Install - project dependency
npm i static-pipeInstall - cli
npm i -g static-pipeUsage
static-pipe run [options]
Options:
--src <inputDir> Input sources folder.
--out <outputDir> Output folder.
-w, --watch Auto run on changes in source folder.
--serve Serve the output dir.
-p, --port <port> Server port. Used with --serve.
--ejs Apply the ejs parser pipe.
--ejs-views <ejsViewsPath> Relative path inside sources dir, indicating ejs "views" path.
--clean Clear the output directory before running.
-h, --help display help for command
- If no
--srcsources dir is specified,src/will be used. - If no
--outoutput dir is specified,dist/will be used. static-pipeexpects a "static" folder to be present in the specified--srcsources folder. If it does not exist, it will be created.
