Socket
Socket
Sign inDemoInstall

@mls-digital/generator-node-module

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mls-digital/generator-node-module

Yeoman generator for creating independent node modules with es2015 converstion to UMD


Version published
Weekly downloads
1
Maintainers
3
Weekly downloads
 
Created
Source

Generator Node Module

A yeoman generator for creating stand-alone node modules. Converts ES2015 to UMD modules via Babel. Uses tape / faucet for testing and ESLint for linting.

All source code should live in src dir. Compiles to lib dir.

Files Created

.
├── .babelrc
├── .codeclimate.yml
├── .eslintignore
├── .eslintrc
├── .gitignore
├── .npmignore
├── LICENSE.md
├── package.json
├── readme.md
└── src
    └── index.js

1 directory, 10 files

Modules Used

{
  "babel-cli": "^6.4.5",
  "babel-preset-es2015": "^6.3.13",
  "babel-plugin-transform-es2015-modules-umd": "^6.4.3",
  "babel-register": "^6.4.3",
  "eslint": "^1.10.3",
  "eslint-config-airbnb": "^3.1.0",
  "faucet": "0.0.1",
  "rimraf": "^2.5.0",
  "tape": "^4.4.0"
}

Available NPM scripts

{
  "lint": "node_modules/.bin/eslint .",
  "test": "node_modules/.bin/tape -r babel-register test/*.js | faucet",
  "compile": "node_modules/.bin/rimraf lib && node_modules/.bin/babel src --out-dir lib",
  "dev": "node_modules/.bin/rimraf lib && node_modules/.bin/babel src --out-dir lib -w",
  "release": "npm publish ?(--access public)"
}

Keywords

FAQs

Package last updated on 28 Jan 2016

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