npm i -g curse-fe
An all-in-one package for Curse, Inc's front-end devs
create curse-fe.json file:
curse-fe and let the magic happen!
Check Current Version:
check current version with
curse-fe -v or
To use BrowserSync, simply navigate to vhost:3000 after running curse-fe!
use PostCSS (currently only autoprefixer) with
note: this will be phased out as legacy code is cleaned up. future versions will have PostCSS on by default with
to lint a js/jsx file, run
curse-fe lint FILE_NAME. it will return either the lint response, or nothing if the file is good to go!
adding the concatenate object to your curse-fe.json file and adding the files/destination objects to it will concatenate the files in the files list and output the bundle to the destination folder.
if you pass
curse-fe minify it will minify your css and js concatenated bundle (if those objects are created in your curse-fe.json file). if you'd like to minify your PostCSS'd css, pass
curse-fe minify postcss