umi-library
- Version 1.6.0
- Published
- 115 kB
- 46 dependencies
- MIT license
Install
npm i umi-libraryyarn add umi-librarypnpm add umi-libraryOverview
Library toolkit based on rollup and docz.
Index
Variables
variable doc
const doc: IDoc;Functions
function build
build: (opts: IOpts) => Promise<any>;Interfaces
interface IBundleOptions
interface IBundleOptions {}property autoprefixer
autoprefixer?: Object;property cjs
cjs?: BundleType | ICjs | false;property cssModules
cssModules?: boolean | Object;property doc
doc?: IDoczConfig;property entry
entry?: string | string[];property esm
esm?: BundleType | IEsm | false;property extraBabelPlugins
extraBabelPlugins?: any[];property extraBabelPresets
extraBabelPresets?: any[];property extraPostCSSPlugins
extraPostCSSPlugins?: any[];property file
file?: string;property namedExports
namedExports?: IStringArrayObject;property overridesByEntry
overridesByEntry?: { [entry: string]: any;};property replace
replace?: { [value: string]: any;};property runtimeHelpers
runtimeHelpers?: boolean;property target
target?: 'node' | 'browser';property umd
umd?: IUmd | false;interface IDocOpts
interface IDocOpts {}property cmd
cmd: string;property cwd
cwd: string;property params
params?: any;property userConfig
userConfig?: any;Package Files (2)
Dependencies (46)
- @babel/core
- @babel/plugin-proposal-class-properties
- @babel/plugin-proposal-decorators
- @babel/plugin-proposal-do-expressions
- @babel/plugin-proposal-export-default-from
- @babel/plugin-proposal-export-namespace-from
- @babel/plugin-syntax-dynamic-import
- @babel/plugin-transform-runtime
- @babel/preset-env
- @babel/preset-react
- @babel/preset-typescript
- @babel/register
- ajv
- autoprefixer
- babel-plugin-react-require
- chalk
- chokidar
- docz
- docz-core
- docz-plugin-umi-css
- docz-theme-umi
- extend2
- gh-pages
- gulp-if
- gulp-typescript
- less
- less-plugin-npm-import
- lodash
- rimraf
- rollup
- rollup-plugin-babel
- rollup-plugin-commonjs
- rollup-plugin-json
- rollup-plugin-node-resolve
- rollup-plugin-postcss-umi
- rollup-plugin-replace
- rollup-plugin-terser
- rollup-plugin-typescript2
- signale
- slash2
- temp-dir
- through2
- typescript
- update-notifier
- vinyl-fs
- yargs-parser
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/umi-library.
- Markdown[](https://www.jsdocs.io/package/umi-library)
- HTML<a href="https://www.jsdocs.io/package/umi-library"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2437 ms. - Missing or incorrect documentation? Open an issue for this package.
