Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

electrode-archetype-njs-module-dev

electrode-io534Apache-2.03.0.3

Archetype for NodeJS Module (Development)

readme

Archetype: NodeJS Module (Development)

A Walmart Labs flavored NodeJS Module archetype.

Installation

Within your project, run:

$ npm install --save-dev electrode-archetype-njs-module-dev

Add a xclap.js with the following code:

require("electrode-archetype-njs-module-dev")();

You need to install xclap-cli globally for the clap command to invoke the build tasks:

$ npm install -g xclap-cli

Run clap to see a list of tasks.

Project Structure

This archetype assumes a directory structure as follows:

.gitignore
package.json

lib/
  index.js

test/
  spec/**
    *.spec.js

Built with :heart: by Team Electrode @WalmartLabs.