README
NONO
Nono is a scaffolding for mobile web single-page application develop, which based on command-line operations.
Latest version 1.0.8
Features:
- Zepto
- CommonJS
- Single Page
- Gulp
- WebPack
Installation:
Install global nono-cli with npm:
$ sudo npm install -g nono
Basic Usage
Help Information
$ nono -help
Install Nono-scaffolding & Develop
step 1:Enter the folder which will to initialize the nono-scaffolding.
$ cd your-folder
step 2:Initialize nono-scaffolding for your folder.
$ nono init
step 3:Install npm dependencies
$ npm install
step 4:start the local development environment
$ nono dev
step 5:Open browser and enjoy it
http://localhost:3001
Command For Nono-scaffolding
page:add or delete a page
$ nono add p pageName $ nono del p pageName
common module:add or delete a common module
$ nono add c modName $ nono del c modName
develep:start the local development environment
$ nono dev
build:build the assets for publish
$ nono build
Directory Structure
--
|--.gitignore
|--node_modules/
|--build/ [files for publish. Created by 'nono build']
|--dist/ [files for develop. Created by 'nono dev']
|--lib/
|--mbase/
|--zepto/
|--src/
|--commons/ [common mudules]
|--pages/ [single pages]
|--LICENSE
|--README.md
|--package.json
|--gulpfile.js
|--webpack.config.js
|--webpack.config.prod.js