ciffi
v3.4.4
Published
Ciffi Frontend Generator
Downloads
294
Maintainers
Readme
Ciffi Frontend Generator
Ciffi js is a frontend project generator with node based build system and javascript framework.
It includes webpack for javascript module, node-sass for build scss files with postCSS autoprefixer and cleancss, livereloadjs for fast development
full documentation available at ciffi.it/ciffi-js
install ciffi
npm install -g ciffi
setup new project
ciffi setup [projectname]
CLI COMPLETION
- add this snippet to your .bash_profile
# ciffi completion
if [ -f /usr/local/lib/node_modules/ciffi/ciffi.bash ]; then
. /usr/local/lib/node_modules/ciffi/ciffi.bash
fi
WORKFLOW
- create folder (I usually use frontend in the root of project), then browse inside it and run setup task
- answer the setup process questions
- define your config files in src/config/env/envName.js
- finish project's configuration by edit the .ciffisettings file
- link main.css and main.js to your project
- each new project contains all tasks for develop, test and build
full documentation available at ciffi.it/ciffi-js