Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanmen/disassemble-package
Decomposes config files contained in package.json and converts it into separate config files.
https://github.com/tanmen/disassemble-package
Last synced: about 2 months ago
JSON representation
Decomposes config files contained in package.json and converts it into separate config files.
- Host: GitHub
- URL: https://github.com/tanmen/disassemble-package
- Owner: tanmen
- License: mit
- Created: 2021-04-11T16:59:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-23T03:41:53.000Z (9 months ago)
- Last Synced: 2024-05-02T05:16:28.372Z (8 months ago)
- Language: TypeScript
- Homepage:
- Size: 3.55 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# DisassemblePackage
[![npm](https://img.shields.io/npm/dw/disassemble-package)](https://www.npmjs.com/package/disassemble-package)
[![Test](https://github.com/tanmen/disassemble-package/actions/workflows/test.yml/badge.svg)](https://github.com/tanmen/disassemble-package/actions/workflows/test.yml)
[![CodeQL](https://github.com/tanmen/disassemble-package/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/tanmen/disassemble-package/actions/workflows/codeql-analysis.yml)
[![codecov](https://codecov.io/gh/tanmen/disassemble-package/branch/main/graph/badge.svg?token=74J9RU20ZA)](https://codecov.io/gh/tanmen/disassemble-package)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![FOSSA Status](https://app.fossa.com/api/projects/custom%2B25020%2Fgithub.com%2Ftanmen%2Fdisassemble-package.svg?type=shield)](https://app.fossa.com/projects/custom%2B25020%2Fgithub.com%2Ftanmen%2Fdisassemble-package?ref=badge_shield)Decomposes `config files` contained in `package.json` and converts it into separate `config files`.
## Usage
`shell`
```shell
npx disassemble-package
```---
`node`
```node
DisassemblePackage(process.cwd(), {space: 2})
```## Supported Libraries
- babel
- browserslist
- commitlint
- electron-builder
- eslint
- husky
- jest
- semantic-releaseIf you would like to use a different library, please specify your preference in the issue.
## Command Details
```shell
disassemble-package [--space count]
```
| name | short | type | required | default | description |
| ----- | ----- | ------ | -------- | ---------------------------------- | ------------------------------------------------ |
| path | | string | false | process.cmd() // current directory | Specifies location path where `package.json` is. |
| space | s | number | false | 2 | Specify the indent when regenerating. |## Contribute
Anyone welcome## Requests for use
It would be helpful if you could give me a star if you are using it.
There is a possibility of destructive changes or abrupt termination if there are not enough stars.## License
MIT License[![FOSSA Status](https://app.fossa.com/api/projects/custom%2B25020%2Fgithub.com%2Ftanmen%2Fdisassemble-package.svg?type=large)](https://app.fossa.com/projects/custom%2B25020%2Fgithub.com%2Ftanmen%2Fdisassemble-package?ref=badge_large)