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

generator-esnext

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-esnext

Yeoman generator for ES6.

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

ES6 Generator

Yeoman generator for projects that use ECMAScript 6.

Table of Contents

  1. Installation
  2. Usage
  3. Options
  4. Structure

Installation

To install Yeoman:

npm install -g yo

To install the ES6 generator:

npm install -g generator-esnext

Usage

Using the ES6 generator is simple:

yo esnext

To run tests:

npm test

To build your project:

npm run build

Options

Would you like to lint with JSHint?

Yes to include linting with JSHint in the npm test task.

What testing framework would you like to use?

Pick a testing framework to use in the npm test task. Only supports Jasmine for now.

Structure

Save .js files to appropriate modules in the src directory. Save tests in each module's tests directory.

Example file tree:

.
├── build
│   └── my-app.js
├── gruntfile.js
├── my-app.html
├── lib
│   └── traceur-runtime
│       ├── MIT-LICENSE.txt
│       ├── traceur-runtime.min.js
│       └── traceur-runtime.min.map
├── package.json
└── src
    └── my-app
        ├── app.js
        └── tests
            └── app_tests.js

Keywords

FAQs

Package last updated on 12 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