Skip to content

hckhanh/create-javascript-project

Repository files navigation

create-javascript-project

Keep you away from boring procedures for new JavaScript/TypeScript project

Release Version Downloads/week License oclif

Description

The following configurations of the common tools will be generated

  • Yarn 2 (.yarn, .yarnrc.yml)
  • ESLint (.eslintignore, .eslintrc)
  • Prettier (.prettierrc)

You can choose which tool you want to set up

Usage

The following step which are executed:

  1. Generate/update configurations
  2. Create/update ignore files
  3. Add necessary dependencies
  4. Add scripts to package.json (optional)

Commands

You can run by these commands:

# npm
npx create-javascript-project

# yarn
yarn create javascript-project

# yarn 2
yarn dlx create-javascript-project

Technically, this tool is used for existing project. It must be run in a project directory with package.json file.