Giter VIP home page Giter VIP logo

generator-bode's Introduction

Bode Generator Build Status NPM version David DM

/$$$$$$$                  /$$
| $$__  $$                | $$
| $$  \ $$  /$$$$$$   /$$$$$$$  /$$$$$$
| $$$$$$$  /$$__  $$ /$$__  $$ /$$__  $$
| $$__  $$| $$  \ $$| $$  | $$| $$$$$$$$
| $$  \ $$| $$  | $$| $$  | $$| $$_____/
| $$$$$$$/|  $$$$$$/|  $$$$$$$|  $$$$$$$
|_______/  \______/  \_______/ \_______/

Scaffold out a Node.js module

ScreenShot

  • Yeoman generator for bootstrapping npm package with following options

  • for unit test cases, following options are available

    • Nodeunit
    • Mocha with chai
    • None

Supports Github scaffold options i.e. git init, git remote add and creating repo on github

Install

$ npm install --global generator-bode

Usage

$ yo bode

Note that this template will generate files in the current directory, so be sure to change to a new directory first if you don't want to overwrite existing files.

Run Test

npm test

Contribute or Report Issue

For bugs and feature requests, please create an issue.

License

MIT © Yashprit

generator-bode's People

Contributors

yashprit avatar

Stargazers

Roman avatar Nitin Reddy avatar Alttaf avatar Sanket Maru avatar Priyanka Bhoir avatar

Watchers

James Cloos avatar

generator-bode's Issues

error in package.json when test is node_unit

? Module Name: <module-name>
? version(0.0.0) 0.0.0
? Description: check if argument is float or not
? Homepage:
? License: MIT
? GitHub username: <user-name>
? Author's Name: <user-name>
? Author's Email: <user-name>
? Author's Homepage: <user-name>
? Give me some Keywords (comma to split) <keyword>
? Lets run it from CLI: Yes
? Shall I add Browserify support? No
? Select Task runner: gulpfile
? Choose your test suite: node_unit
   create package.json
   create .editorconfig
   create .gitignore
   create .gitattributes
   create .travis.yml
   create .jshintrc
   create gulpfile.js
   create README.md
   create cli.js
   create LICENSE
   create CONTRIBUTING.md
   create index.js
   create test/test.js


I'm all done. Running npm install for you to install the required dependencies. If this fails, try running the command yourself.


npm ERR! install Couldn't read dependencies
npm ERR! Darwin 14.1.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.10.26
npm ERR! npm  v2.6.1
npm ERR! file /<path>/package.json
npm ERR! code EJSONPARSE

npm ERR! Failed to parse json
npm ERR! Unexpected token }
npm ERR! File: /<path>/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

npm ERR! Please include the following file with any support request:
npm ERR!     /<path>/npm-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.