1.0.8 • Published 10 years ago

nono v1.0.8

Weekly downloads
32
License
MIT
Repository
github
Last release
10 years ago

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
1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago