An open API service indexing awesome lists of open source software.

https://github.com/ascoders/run-react

Integrate webpack
https://github.com/ascoders/run-react

cli react

Last synced: 4 months ago
JSON representation

Integrate webpack

Awesome Lists containing this project

README

          

# run-react

Run react project.

## Install

```bash
npm i run-react -D
```

## Add `run-react` to package.json

```json
"run-react": {
"entrys": [
"docs/index.tsx"
],
"dlls": [
"react",
"react-dom"
],
"production": {
"path": "built",
"filename": "bundle.js"
}
}
```

## Or add `run-react.json` in root dir

```json
{
"entrys": [
"docs/index.tsx"
],
"dlls": [
"react",
"react-dom"
]
}
```

## start dev server

```bash
run-react develop
```

## production build

```bash
run-react production
```

## test

```bash
run-react test
```