# @laffery/create-webpack-app

> webpack starter kit for react + typescript

Latest version **0.5.1** (published 2022-10-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @laffery/create-webpack-app
pnpm add @laffery/create-webpack-app
yarn add @laffery/create-webpack-app
bun add @laffery/create-webpack-app
```

Provides the command `create-webpack-app`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.1 |
| Published | 2022-10-10 |
| First published | 2022-10-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 159.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Laffery |
| Maintainers | laffery |
| Keywords | webpack, react, typescript, ssr |

## Links

- npm: https://www.npmjs.com/package/@laffery/create-webpack-app
- Repository: https://github.com/Laffery/webpack-starter-kit
- Homepage: https://github.com/Laffery/webpack-starter-kit#readme
- Issues: https://github.com/Laffery/webpack-starter-kit/issues
- npm.io page: https://npm.io/package/@laffery/create-webpack-app

## Dependencies (3)

- [chalk](https://npm.io/package/chalk.md) ~4.1.2
- [fs-extra](https://npm.io/package/fs-extra.md) ^10.1.0
- [commander](https://npm.io/package/commander.md) ^9.4.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.5.1 (latest) — 2022-10-10
- 0.5.0 — 2022-10-10

## README

# Getting Started with Webpack Starter Kit

> Typescript is supported! \
> Server Side Render is supported!

## Features

- Webpack@5
- React@17 / React@18
- TypeScript
- SSR

## Motivation

As a fresh man in front-end field, lots of technology run into my eyes, such as [Next.js](https://github.com/vercel/next.js). Even though they are powerful and convenient enough for normal development, it isn't benefit to a programmer's growth in the long run.\
For easier react development experience, I create these templates from scratch, with the latest tool chains from dev to build to production.

## CLI

### Install

```sh
# npm
npm i -g @laffery/webpack-starter-kit

# or yarn
yarn add -g @laffery/webpack-starter-kit

# or pnpm
pnpm add -g @laffery/webpack-starter-kit
```

### Create app

Run `npx create-webpack-app -h` to look up usages:

```txt
Usage: create app <name> [options]

Arguments:
  name                     project name (default: "my-app")
  template                 template name (default: "react-ts")

Options:
  -V, --version            output the version number
  -O, --output <string>    output directory (default: ".")
  -l, --list               list all templates available
  -t, --template <string>  project template name
  -h, --help               display help for command
```

Now you can feel free to run the following command to create you own app and enjoy coding!

```sh
# npm
npm create @laffery/webpack-app@latest

# or yarn
yarn create @laffery/webpack-app

# or pnpm
pnpm create @laffery/webpack-app
```

## Available Templates

- [react-ts](./packages/react-typescript-template/)
- [react-ssr-ts](./packages/react-ssr-typescript-template/)
- [react18-ts](./packages/react18-typescript-template/)
- [react18-ssr-ts](./packages/react18-ssr-typescript-template/)

You can see more details in the [manifest file](./template.manifest.json)

---
_Source: https://npm.io/package/@laffery/create-webpack-app · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
