See this instead.
Copy config files boilerplates to current directory
Avaliable presets & included files:
package
package.json
npm
.npmignore
git
.gitignore
.gitattributes
editor
.editorconfig
readme
readme.md
license
lint
.prettierrc
.eslintrc
test
jest.config.js
compilers
.babelrc
postcss.config.js
.posthtmlrc
.browserlistrc
bundlers
npm i -g cpcfg
cpcfg <name>
For example:
# copy `.gitignore` and `.gitattributes`:
cpfgf git
# copy `.editorconfig`:
cpfgf editor
# copy `.editorconfig`, `.gitignore`, `.gitattributes`, `readme.md` and `license`:
cpfgf editor git readme