1.1.5 • Published 7 years ago

sixstone v1.1.5

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

sixstone

图片

中文

Description

This is a package,which the aim is through a number of simple commands to achieve the function of the rapid generation of directory structure,which is similar to the express-generator, koa-generator. In which I put a set of KOA document structure and a set of front-end gulp document structure. Of course, you can also use this package to build their own personalized DIY package, will be mentioned in the back.

Installation

$ npm install sixstone -g     Global installation only;

Command Line Options

     -h, --help            output usage information
     -V, --version         output the version number
     sixstone koa [name]   get environment of koa
     sixstone web [name]   get environment of Front end project(PC and Mobile)

License

MIT

Expand: generate a personalized directory structure package;

  1. Cloning of the project and installation related dependency

    git clone https://github.com/winterZhao/sixstone.git
    cd sixstone;
    npm install;
  2. Put your own directory structure in the dist folder; express as an example;

  3. Open the conf/sixstone-config.js file, fill in your own configuration item;

    {
        'command': 'express',                   // command
        'description': 'express-generator'      // description;
    }
  4. Open the package.json, modify the bin field;Can only change the name of the attribute

    "bin": {
        "zhangsan": "./bin/index.js"
    },
  5. Execute linknpm command;

  6. Upload packets to NPM, this can be read online tutorial.
1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.19

8 years ago

1.0.18

8 years ago

1.0.17

8 years ago

1.0.16

8 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago