1.1.5 • Published 16 days ago

bombyx v1.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
16 days ago

bombyx

npm package

Supplementary configuration for front-end development environments.

NPM version NPM Downloads

Installation

$ npm install -g bombyx

Usage

$ bombyx
                                                      

? Select a language:  › - Select one of the following languages manually.
❯   English
    简体中文

Declaration

export declare function bombyx(opts: Options): Promise<void>;

export interface EslintOptions {
    /** 适配 typescript 相关 */
    ts?: boolean;
    /** 适配 react 相关 */
    react?: boolean;
}

export interface HuskyOptions {
    /** 添加 lint-staged 支持 */
    lintStaged: boolean;
    /** 添加 commitlint 支持 */
    commitLint: boolean;
}

export interface Options {
    /** 当前工作目录 */
    cwd?: string;
    /** 配置eslint */
    eslint?: boolean | EslintOptions;
    /** 配置husky */
    husky?: boolean | HuskyOptions;
    /** 自定义事件触发 */
    emitter: EventEmitter;
    /** 指定语言显示 */
    lang?: string;
}

export interface UserSelection {
    functions: string[];
    eslintExtra: string[];
}
1.1.5

16 days ago

1.1.4

16 days ago

1.1.3

16 days ago

1.1.2

18 days ago

1.1.1

19 days ago

1.1.0

19 days ago

1.0.3

1 month ago

1.0.2

1 month ago

1.0.1

1 month ago

1.0.0

1 month ago