🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

@adlib/lib

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@adlib/lib

Personal TypeScript library build tooling.

0.1.6
unpublished
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Adlib: Library build tool

Personal TypeScript library build tooling.

Getting Started

Install.

npm i -D @adlib/lib

Init.

npm exec lib -- init

Configure (package.json).

{
  "bin": "lib/bin.js",
  "main": "lib/index.js",
  "module": "lib/index.esm.js",
  "typings": "lib/index.d.ts",
  "scripts": {
    "build": "lib build",
    "clean": "lib clean"
  }
}

One or more of the bin, main, or module fields must be set. Types will only be created if the typings (or types) field is set.

Files

  • Either src/index.tsx or src/index.ts must exist if package.json includes a main or a module field.
  • One of src/index.tsx, src/index.ts, or src/bin.ts must exist if package.json includes a bin string field.

TSLib

The tslib library is not included in the main or module entry bundles if it's a peer dependency. It is always included in the bin entry bundle.

FAQs

Package last updated on 03 Nov 2021

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