Skip to content

ascoders/run-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

run-react

Run react project.

Install

npm i run-react -D

Add run-react to package.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

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

start dev server

run-react develop

production build

run-react production

test

run-react test

About

Integrate webpack

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published