Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@britannica/create-lib

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@britannica/create-lib

A sensible default configuration for creating rollup-based npm packages

  • 0.1.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
10
Maintainers
2
Weekly downloads
 
Created
Source

@britannica/create-lib

A sensible default configuration for creating rollup-based npm packages

Requirements
node >= 8
npm >= 5.2.0
Usage
npx @britannica/create-lib <library name>
Brief explanation
  • After running, a new directory with your library name will be created with some rollup presets
  • Your library source will be located in the <library name>/src directory
  • Run npm run dev is your watch task
  • Run npm run build to build your project into the dist directory
  • When publishing, the files in your dist directory will be what get published
  • If you need to change which files get published, update the files property in package.json

FAQs

Package last updated on 15 Sep 2018

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