Socket
Book a DemoInstallSign in
Socket

curiosity-builder

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

curiosity-builder

library build tools

0.1.6
latest
Source
npmnpm
Version published
Weekly downloads
7
Maintainers
1
Weekly downloads
 
Created
Source

Welcome to curiosity-builder 👋

library build tools

Install

npm install -g curiosity-builder

Usage

curiosity-builder build

Config

// curiosity.config.js

module.exports = {
  entry: [] || '', // 仅rollup才适用
  cjs: {
    type: 'babel' || 'rollup',
    minify: Boolean,
  },
  importLibToEs: Boolean, // 仅esm才适用
  target: 'browser' || 'node',
  runtimeHelpers: {},
  extraBabelPresets = [],
  extraBabelPlugins = [],
  browserFiles = ['src/xxxx'],
  nodeFiles = ['src/xxxx'],
  nodeVersion,
  lessInBabelMode: {},
  sassInBabelMode: {},

  extractCSS = false,
  injectCSS = true,
  cssModules: modules,
  autoprefixer: autoprefixerOpts,
  include = /node_modules/,
  namedExports,
  extraPostCSSPlugins = [],
  lessInRollupMode = {},
  sassInRollupMode = {},
}

FAQs

Package last updated on 13 Oct 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.