You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

pubcore-create-package

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pubcore-create-package

scaffold npm packages

1.3.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Build Status

Commandline tool to create new packages

Prerequisites

  • latest version of nodejs
  • latest version of npm

It will create/setup minimum package structure to support

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

Install it global

npm install -g pubcore-create-package

How to use

  • create a directory (convention lower case and dash-separated)

     mkdir new-project
    
  • and change into it

     cd new-project
    
  • execute

     pubcore-create-package
    
  • (optional) if your code already exists, copy it into src/index.js. (Keep the entry point file 'src/index.js' because of config dependencies)

FAQs

Package last updated on 24 Feb 2019

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