run-react
v2.2.5
Published
run webpack!
Readme
run-react
Run react project.
Install
npm i run-react -DAdd 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 developproduction build
run-react productiontest
run-react test