Skip to content

doremijs/config-generator

 
 

Repository files navigation

配置生成器

基础的前端项目配置生成器,适合项目初始化的时候使用,或者完善当前项目的配置。生成的配置文件只作为通用设置,具体项目仍然需要做进一步修改以适配项目需要。

asciicast

使用方法

# 全局安装
npm i -g @doremijs/fe-conf
# 或者
yarn global add @doremijs/fe-conf
# 然后进行配置生成
fe-conf
# 或者跳过全局安装直接使用
pnpx @doremijs/fe-conf
npx @doremijs/fe-conf

# 非交互模式
# 直接生成指定配置,多个配置用逗号分隔
npx @doremijs/fe-conf -m biome,browserslist

# 跳过更新检查
npx @doremijs/fe-conf --skip-update

生成的配置

  • a2s
  • babel
  • biome
  • browserslist
  • commitlint
  • devmoji
  • docker
  • editorconfig
  • eslint
  • git
  • husky
  • igit
  • jest
  • license
  • lintstaged
  • npm
  • nvm
  • o2t
  • oxlint
  • prettier
  • react
  • readme
  • stylelint
  • typescript
  • vue

About

前端项目基础配置生成器

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 76.9%
  • Smarty 11.0%
  • Go Template 9.6%
  • Shell 1.4%
  • JavaScript 1.1%