Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zixicat/config-pack

Config pack, which contains some basic configurations or templates for regular use.
https://github.com/zixicat/config-pack

config configuration

Last synced: 3 months ago
JSON representation

Config pack, which contains some basic configurations or templates for regular use.

Awesome Lists containing this project

README

        

# config-pack
[![NPM Status](https://img.shields.io/npm/v/config-pack.svg)](https://www.npmjs.com/package/config-pack)

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
- [x] Support for downloading config files from this repo directly
- [x] 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.

```sh
# 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](https://eslint.org/docs/user-guide/configuring) [eslint | eslintrc]

Find and fix problems in your JavaScript code
#### [.versionrc.js](https://github.com/conventional-changelog/standard-version) [version | versionrc]

A utility for versioning using semver and CHANGELOG generation powered by Conventional Commits.
#### [rollup.config.js](https://www.rollupjs.org/guide/en/#configuration-files) [rollup]

A module bundler for JavaScript which compiles small pieces of code into something larger and more complex
#### [tsconfig.json](https://www.typescriptlang.org/docs/handbook/compiler-options.html) [ts | tsconfig | typescript]

The configuration of TypeScript.

#### [.gitignore](https://docs.github.com/en/free-pro-team@latest/github/using-git/ignoring-files) [gitignore]

You can configure Git to ignore files you don't want to check in
#### [LICENSE](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/licensing-a-repository) [license]

MIT LICENSE

## Bug tracker

If you find a bug, please report it [here on Github](https://github.com/zixiCat/config-pack/issues)!