compy - rapid frontend development cli tool
Compy is a cli that allows to raise frontend development usability to the next level. It allows you to install components and use them in your code right away. Compy uses TJ's components so it have all capabilities including local require and building the project
features
- installed components wire up instantly
- local require
- local static server +livereload
- componentjs packages support
todo:
- instant karma based tests
- grunt extendable
- tbd
cli comands
install[:<component>]
- installs components from dependencies. With argument installs component, automatically saves it inside package.jsoncompile
- compiles the project in dist
folderserver[:watch]
- runs simple http server for dist folder. With watch
argument server watches the changes in source and recompiles the project.
TODO:
build
- builds (compiles + minifies) the project in dist
folder
config
The configuration for compy sits in package.json inside component namespace. main
is an entry point of your app and the only required property.
{
"name": "appName",
"version": "0.0.0",
"description": "my awesome app",
"main": "index.js",
"license": "BSD",
"component": {
"dependencies": {
"component/jquery": "*",
"component/tip": "*",
"component/s3": "*"
},
"main": "app.js"
}
}
license
MIT