Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-jsproject

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-jsproject

Yeoman generator for javascript projects

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

generator-jsproject Build Status

Yeoman generator for javascript projects, because having to copy over files every time is a pain.

What does it do?

  • Initialize core files that are generally used in all my javascript projects
  • Creates the folder for you unless you opt-out
  • Creates the GitHub repo for you unless you opt-out (requires GITHUB_TOKEN)

Usage

Make sure you have Yeoman installed:

$ npm install -g yo

Install generator-jsproject:

$ npm install -g generator-jsproject

Finally, initiate the generator:

$ yo jsproject

If during generation you get an error like API rate limit exceeded, you need to log in to GitHub and create a new API token, then add:

export GITHUB_TOKEN='YOUR_NEW_TOKEN'

to your .bashrc, .zshrc, .profile or another file that is run on shell initialization. In new terminal shells you shouldn't see this error anymore.

Environment Variables

  • GITHUB_USERNAME - value that will be used as the default GitHub username, defaults to cesarandreu
  • GITHUB_TOKEN - your github token, must have public_repo or repo permissions to initialize your GitHub repo

Generated files

  • bower.json
  • package.json
  • LICENSE (MIT)
  • README.md
  • .editorconfig
  • .gitattributes
  • .gitignore
  • .jshintrc
  • .travis.yml

License

MIT

Keywords

FAQs

Package last updated on 23 Jun 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc