neuron-cli v1.10.2
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
Install
$ npm i -g neuron-cliTerminology
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.
Project configurations
All configurations are located at neuron.config.js at the root of your project.
Frequent Commands
Helpers
$ neuron # see basic help
$ neuron build -h # see command help for `neuron build`, or you can use
$ neuron help buildAvailable Commands
neuron buildbuild a package or packages.neuron serverstart a neuron develop server. By default, neuron server will observe the changes of the resource files, and run the building automatically.neuron watchwatch a directory, and build when files change.
License
MIT
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago