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

generator-es6-lib

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-es6-lib

Yeoman es6 micro-library generator

  • 1.7.4
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

generator-es6-lib

Yeoman es6 micro-library generator

A collection of gulp tasks and environment setup can be found here es6-lib

Features

✓ es6 ready with babel
✓ mocha unit tests for browser and node
✓ github integration for version increment

Usage

Pre-requirements:

npm i -g yo
npm i -g generator-es6-lib

Generate your library:

yo es6-lib

Directory structure

.
|-- LICENSE.md
|-- README.md
|-- bower.json
|-- dist
|   `-- _test_bundle.js
|-- gulpfile.js
|-- lib
|   `-- index.js
|-- node_modules
|   |-- chai
|   `-- es6-lib
|-- package.json
|-- src
|   `-- index.js
|-- test
    |-- runner.html
    `-- test.js

Gulp tasks

Development:

default      run watcher for code and tests  
build        build lib. Will process es6 to es5 and put files to /lib  
test         run test once for node or browser depending on environment  
test-node    for node  
test-browser for browser  

Github:

patch     makes 0.1.0 → 0.1.1  
feature   makes 0.1.1 → 0.2.0  
release   makes 0.2.1 → 1.0.0  

For full list of tasks use

gulp --tasks

License

MIT

Keywords

FAQs

Package last updated on 05 Dec 2015

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