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
- Host: GitHub
- URL: https://github.com/ascoders/run-react
- Owner: ascoders
- Created: 2017-03-16T14:08:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-24T02:14:21.000Z (over 8 years ago)
- Last Synced: 2025-10-21T11:54:46.327Z (9 months ago)
- Topics: cli, react
- Language: TypeScript
- Size: 449 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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
```