1.0.3 • Published 10 months ago

@es-pkg/config v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

@es-pkg/config

gulp 配置

NPM Version  NPM Version  unpacked size  Author

📦 Installation

npm install @es-pkg/config

🏠 Exports

参数类型
☀️configVariables
☀️pkgVariables
🎗️defaultFunctions
🎗️getDirectoryIndexPathFunctions
🎗️getEntrypointFunctions
🎗️getIndexFilePathFunctions
🎗️getJsonFunctions
🎗️getTsconfigIncludeFilesFunctions
🎗️relativeToAppFunctions
🎗️resolveAppFunctions
🎗️resolveConfigFunctions

☀️Variables

Const config

: Required<EsPkgConfig> & {

    include: string[];

} = ...

Const pkg

: any = ...

🎗️Functions

defineConfig

  • 配置自定义

  • defineConfig(config:EsPkgConfig): EsPkgConfig

getDirectoryIndexPath

  • getDirectoryIndexPath(dir:string): string

getEntrypoint

  • getEntrypoint(_dir:string): string

getIndexFilePath

  • getIndexFilePath(_path:string): string

getJson

  • getJson(relativePath:string): any

getTsconfigIncludeFiles

  • getTsconfigIncludeFiles(): {

        isDirectory: boolean;

        path: string;

    }[]

relativeToApp

  • relativeToApp(relativePath:string): string

resolveApp

  • resolveApp(relativePath:string): string

resolveConfig

  • resolveConfig(): Promise<void>
1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago