Decomposes config files
contained in package.json
and converts it into separate config files
.
shell
npx disassemble-package
node
DisassemblePackage(process.cwd(), {space: 2})
- babel
- browserslist
- commitlint
- electron-builder
- eslint
- husky
- jest
- semantic-release
If you would like to use a different library, please specify your preference in the issue.
disassemble-package <path> [--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. |
Anyone welcome
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.
MIT License