2.1.3 • Published 3 months ago

create-japa v2.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

create-japa

Setup japa inside an existing Node.js app

github-actions-image npm-image license-image typescript-image

npm.io

The create-japa is a CLI utility configuring Japa inside a new or existing Node.js project.

The process involves installing the required packages and creating the necessary files. The setup works with Typescript and JavaScript projects.

Usage

Navigate to the root of your project and run the following command.

# npm
npm init japa

# yarn
yarn create japa

# pnpm
pnpm create japa

Options

destination (optional)

You can pass the destination directory as the first argument to the command. The process.cwd() will be used when the option is not defined.

npm init japa my-app

--package-manager

Define the package manager to use to install dependencies. If not defined, we will attempt to detect the package manager using @antfu/install-pkg package.

npm init japa -- --package-manager=pnpm

--plugins

Define an array of plugins to install. We will display a series of prompts if this flag is not set.

npm init japa -- --plugins="@japa/api-client" --plugins="@japa/snapshot"

--project-type

Define the project type for which you want to configure Japa. The value could be either typescript or javascript. If this flag is not set, we will display a prompt for the project type selection.

npm init japa -- --project-type=typescript

--sample-test-file

Enable the flag to create a sample test file or disable it not to create it.

# Enable it
npm init japa -- --sample-test-file

# Disable it
npm init japa -- --no-sample-test-file
2.1.3

3 months ago

2.1.2

8 months ago

2.1.1

9 months ago

2.1.0

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

2.0.0-3

1 year ago

2.0.0-2

1 year ago

2.0.0-1

1 year ago

2.0.0

1 year ago

2.0.0-0

1 year ago

1.2.0

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.1

3 years ago

0.0.0

3 years ago