1.0.0 • Published 8 years ago
ez-compiler v1.0.0
EZ-Compiler
A fast and easy tool to get your project up and going, then watch it, and build it!
How to install:
npm install -g ez-compiler
How to get started with a project:
npm init
ornpm init -y
(If you're lazy like me and want npm to answer all the questions for you)ezc create default
ORezc create angular1
(with any flags you like. See listed below.) Files will be created in a./src
directory. The file structures for default and angular1 are shown belownpm install
to install the preprocessor flags you addedezc compile
(to watch and automatically compile and build files) Once the files are compiled, they will automatically be put into the./dist
folder.
!!!!Please don't change the directory names. This tool will not work if you change "src" or "dist"!!!!
Flags for "create":
When you run ezc create default
OR ezc create angular1
, you can add flags to use preprocessors, like SASS, Pug/Jade, Coffeescript, and more. These change the file extensions in the src
directory to the corresponding file extensions. These are the current flags that exist as of right now. Please don't hesitate to suggest ones that should be added. NOTE: When flags are added, the file extensions for files related to that preprocessor will be changed. i.e. .css -> .sass
--stylus
for Stylus--sass
for Sass--scss
for Scss--pug
for Pug/Jade--coffee
for Coffeescript--babel
for Babel