npm install neuron-cli
Command line tools for neuron.js.
Before reading this document, it is better to know modules/1.1.1 and packages/1.0
``sh`
$ npm i -g neuron-cli
#### Module
A module is the minimun logic unit of javascript and each javascript file of commonjs or es6 module is a module
#### Package
A package could not only contain one or more modules, but also css files, templates, images and other resources.
All configurations are located at neuron.config.js at the root of your project.
`sh
$ neuron # see basic help
$ neuron build -h # see command help for neuron build, or you can use`
$ neuron help build
- neuron build build a package or packages.neuron server
- start a neuron develop server. By default, neuron server will observe the changes of the resource files, and run the building automatically.neuron watch` watch a directory, and build when files change.
-
MIT