Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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
  • npm
  • Socket score

Version published
Maintainers
1
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

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

     mkdir new-project
    
  2. and change into it

     cd new-project
    
  3. execute

     pubcore-create-package
    
  4. (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

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