1.0.1 • Published 4 years ago
@jorenrui/create-project v1.0.1
@jorenrui/create-project
A personal CLI to boostrap new projects 👩💻
Features
- Quickly create project with a built-in javascript/typescript template.
- Built-in Git initialization.
- Built-in installation of dependencies.
Installation
# Using NPM
npx @jorenrui/create-project
# or
npm install -g @jorenrui/create-project
# Using Yarn
yarn @jorenrui/create-project
Usage
# Create a directory/folder
mkdir new-app
# Navigate to the created directory
cd new-app
# Run the cli
create-project
# or
create-project typescript --git
The cli will prompt you regarding what template to use and other configurations. You may skip it by adding --yes
.
Currently there are two templates:
- JavaScript
- TypeScript
Both of these templates have ESLint for its linter and Jest for testing.
Options
command | description |
---|---|
--yes | Skip the questions. |
--git | Initialize the new project with git |
--install | Install the dependencies |