@nice-move/init
v0.8.14
Published
Initialize your frontend workspaces
Downloads
303
Maintainers
Readme
@nice-move/init
Initialize your frontend workspaces.
Usage
mkdir sample # when needed
cd sample
npx @nice-move/init
Features
- Confirm when workspace not empty or repository not clean
- Run
git init
when workspace not a git project - Run a better
npm init
/yarn init
command when needed - Create or overwrite
.gitignore
/.gitattributes
- Create or overwrite
LICENSE
/.editorconfig
- Create
README.md
when it not exists - Set registry to China mirror in
.npmrc
/.yarnrc
- Add or reset project dependencies by interactive
- Run
npm
/yarn
install command