config-pack

My config pack, which contains many configurations for personal use

Usage no npm install needed!

<script type="module">
  import configPack from 'https://cdn.skypack.dev/config-pack';
</script>

README

config-pack

NPM Status

Config pack, which contains some basic configurations or templates for regular use. It can help you to download the config file and the remote files/folder you want from github without downloading this npm package

Feature

  • Support for downloading config files from this repo directly
  • Support for downloading your remote files or folder from github directly

Usage

Assuming you'd like one of them, you could use following npm command lines.

# download rollup.config.js to current path
npx config-pack rollup

# use `--folder` or `-f` to download them to specific path
npx config-pack tsconfig eslint -f my-app/config

# download all remote files from github
npx config-pack https://github.com/zixiCat/config-pack -f my-app

# download a remote folder from github
npx config-pack https://github.com/zixiCat/tips/tree/master/src -f my-app

# download a remote file from github
npx config-pack https://github.com/zixiCat/tips/blob/master/src/BabelJS.md -f my-app/src

Supported configurations

Note: Behind the file names is their own command alias

.eslintrc.js [eslint | eslintrc]

Find and fix problems in your JavaScript code

.versionrc.js [version | versionrc]

A utility for versioning using semver and CHANGELOG generation powered by Conventional Commits.

rollup.config.js [rollup]

A module bundler for JavaScript which compiles small pieces of code into something larger and more complex

tsconfig.json [ts | tsconfig | typescript]

The configuration of TypeScript.

.gitignore [gitignore]

You can configure Git to ignore files you don't want to check in

LICENSE [license]

MIT LICENSE

Bug tracker

If you find a bug, please report it here on Github!