Skip to content

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@janghood/config

Janghood config loader

Document

Usage

Config File

You can use defineJhConfig to define your config.

config name maybe :

  'janghood.config.js',
  'janghood.config.mjs',
  'janghood.config.ts',
  'janghood.config.cjs',
  'janghood.config.mts',
  'janghood.config.cts'

In this version, you can add config file in your package.json root path. Load logic base on vite config, but without exhaustive testing, you can also explore the location of the config by yourself.

Typescript

If use typescript, you can use defineJhConfig to define your config.

export default defineJhConfig({
  // ...
})

API

haven't written yet.

you can see the type JanghoodConfig definition in types/config.d.ts.

base option will merge to apiExtractor,lint.eslint,lint.prettier.

prettier not support right now.

About

Janghood config interpreter.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages