New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@axew/jugg-plugin-lib

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axew/jugg-plugin-lib

[![](https://img.shields.io/npm/v/@axew/jugg-plugin-lib.svg?style=flat)](https://github.com/daief/jugg/tree/master/packages/jugg-plugin-lib)

Source
npmnpm
Version
0.0.9
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

jugg-plugin-lib

Help to build npm library. Most of here reference antd-tools.

usage

.juggrc.js:

module.exports = {
  plugins: [
    '@axew/jugg-plugin-lib'
  ]
}

then you can use lib commond:

$ jugg lib

get lib/ & es/ results form src/.

config

interface IOptions {
  /**
   * convert less import in es/lib to css file path, default `true`
   */
  convertLessImport2Css?: boolean;
  /**
   * copy file to dest with this suffix, built-in `png|jpg|jpeg|gif|webp|svg|mp4|webm|ogg|mp3|wav|flac|aac|woff|woff2|eot|ttf|otf`
   * @example `md|html`
   */
  copyFileSuffix?: string;
  /**
   * set source code dir, default contains `src`
   */
  sourceDir?: string | string[];
}

notice

  • All in TS is recommended. But also can work with JS source. But there will be no declaration files for js source.

Keywords

jugg

FAQs

Package last updated on 29 May 2019

Related posts