0.6.0 • Published 8 years ago

generator-aldnoah v0.6.0

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

generator-aldnoah

Yeoman generator for aldnoah's scaffold based on vue and webpack for spa project

Getting Started

npm install yo -g
npm install generator-aldnoah -g

# help
yo aldnoah -h              # or --help

# command
yo aldnoah my-project       # or cd my-project && yo aldnoah

# command with options
yo aldnoah my-project -y
yo aldnoah my-project --force
yo aldnoah my-project --skip-install

About the detail of how to use yeoman-generator, please check http://yeoman.io/learning/index.html

arguments

  • name: The name of project you want to create

options

  • -y, --yes: Skips the prompt interactions and generates default scaffold
  • --force: Overwrites existing target directory with not confirm to you
  • --skip-install: Do not automatically install dependencies

Prompts

  • name: Project name
  • description: Project description which be used for README.md and package.json
  • author: Project author which be used for package.json
  • src: The directory name where stores project source code
  • build: The directory name where stores project compile code which's resulted by webpack
  • vue: Select vue type, more details access https://vuejs.org/v2/guide/installation.html#Explanation-of-Different-Builds
  • eslint: Select eslint config, value can be:
  • tools: Select some convenient tools
    • event bus
    • vue component: toast
    • vue filter: date-format
  • vuex: Whether to install vuex
  • es6Polyfill: Whether to install es6 api polyfill core.js
  • analyse: Whether to add webpack analyse

License

MIT

0.6.0

8 years ago

0.5.0

8 years ago

0.4.1

8 years ago

0.4.1-0

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago