New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pubcore/generator-js

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pubcore/generator-js

Yeomnan generator to create scaffolding for js package

1.1.2
Source
npm
Version published
Weekly downloads
68
Maintainers
3
Weekly downloads
 
Created
Source

Build Status

Commandline tool to scaffolding new packages

Prerequisites

  • latest version of nodejs
  • latest version of npm

Yeoman generator to create a package scaffolding for ECMAScript, with

  • npm
  • git
  • eslint
  • transpiler for ECS6 with spread operator
  • running tests via mocha
  • running show code coverage after test run

Install it global

npm install -g yo @pubcore/generator-js

How to use

  • within your scope directoy craete a new one (convention: lower case and dash-separated)
mkdir new-project
  • and change into it
cd new-project
  • execute
yo @pubcore/js
  • (optional) if your code already exists, copy it into src/index.js. (Keep the entry point file 'src/index.js' because of config dependencies)

Keywords

yeoman-generator

FAQs

Package last updated on 24 Jan 2020

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