Create a helper CLI tools, for managing SourceJS installation as an npm package.
Proposed commands
sourcejs run - searches sourcejs in current projects node_modules and runs the engine. Could be used for running regular setup within configured Style Guide platform, or light setup, when SourceJS is used to describe one standalone component (or bundle)
sourcejs install - installs sourcejs plugin
sourcejs list - lists available sourcejs plugins
sourcejs init - init new user folder config
sourcejs generate - generate specs and plugins
Essential requirement for CLI is the ability to install SourceJS as npm package (dependency), which will be partly supported in 0.5.3 and will get official support in 0.6.0.
Create a helper CLI tools, for managing SourceJS installation as an npm package.
Proposed commands
sourcejs run
- searchessourcejs
in current projectsnode_modules
and runs the engine. Could be used for running regular setup within configured Style Guide platform, or light setup, when SourceJS is used to describe one standalone component (or bundle)sourcejs install
- installs sourcejs pluginsourcejs list
- lists available sourcejs pluginssourcejs init
- init newuser
folder configsourcejs generate
- generate specs and pluginsEssential requirement for CLI is the ability to install SourceJS as npm package (dependency), which will be partly supported in 0.5.3 and will get official support in 0.6.0.