# @brightinteractive/react-serve

> Wrapper around express and webpack for building and serving react apps

Latest version **0.14.0** (published 2017-11-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install @brightinteractive/react-serve
pnpm add @brightinteractive/react-serve
yarn add @brightinteractive/react-serve
bun add @brightinteractive/react-serve
```

Provides the command `react-serve`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score; declining downloads.

## Facts

| | |
|---|---|
| Version | 0.14.0 |
| Published | 2017-11-15 |
| First published | 2017-08-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 35 |
| Known vulnerabilities | 0 (+9 in 3 direct dependencies) |
| Install scripts | no |
| Author | Bright Interactive |
| Maintainers | angusjgoldsmith, brightinteractive-admin, chrisdevereux, richardhulm |

## Links

- npm: https://www.npmjs.com/package/@brightinteractive/react-serve
- Repository: https://github.com/brightinteractive/react-serve
- Homepage: https://github.com/brightinteractive/react-serve#readme
- Issues: https://github.com/brightinteractive/react-serve/issues
- npm.io page: https://npm.io/package/@brightinteractive/react-serve

## Dependencies (35)

- [redux](https://npm.io/package/redux.md) ^3.7.2
- [yargs](https://npm.io/package/yargs.md) ^8.0.2
- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [core-js](https://npm.io/package/core-js.md) ^2.4.1
- [history](https://npm.io/package/history.md) ^3.3.0
- [postcss](https://npm.io/package/postcss.md) ^5.2.17
- [ts-node](https://npm.io/package/ts-node.md) ^3.0.2
- [webpack](https://npm.io/package/webpack.md) ^2.6.1
- [node-sass](https://npm.io/package/node-sass.md) ^4.5.2
- [react-dom](https://npm.io/package/react-dom.md) ^15.6.1
- [ts-loader](https://npm.io/package/ts-loader.md) ^2.0.3
- [css-loader](https://npm.io/package/css-loader.md) ^0.28.1
- [prop-types](https://npm.io/package/prop-types.md) ^15.5.10
- [raw-loader](https://npm.io/package/raw-loader.md) ^0.5.1
- [url-loader](https://npm.io/package/url-loader.md) ^0.5.8
- [file-loader](https://npm.io/package/file-loader.md) ^0.11.1
- [graphql-tag](https://npm.io/package/graphql-tag.md) ^2.4.2
- [json-loader](https://npm.io/package/json-loader.md) ^0.5.4
- [react-redux](https://npm.io/package/react-redux.md) ^5.0.6
- [sass-loader](https://npm.io/package/sass-loader.md) ^6.0.3
- [loader-utils](https://npm.io/package/loader-utils.md) ^1.1.0
- [react-router](https://npm.io/package/react-router.md) ^3.0.5
- [style-loader](https://npm.io/package/style-loader.md) ^0.18.2
- [whatwg-fetch](https://npm.io/package/whatwg-fetch.md) ^2.0.3
- [apollo-client](https://npm.io/package/apollo-client.md) ^1.9.1
- [normalize.css](https://npm.io/package/normalize.css.md) ^6.0.0
- [postcss-loader](https://npm.io/package/postcss-loader.md) ^1.3.3
- [apollo-test-utils](https://npm.io/package/apollo-test-utils.md) ^0.3.2
- [source-map-loader](https://npm.io/package/source-map-loader.md) ^0.2.1
- [compose-middleware](https://npm.io/package/compose-middleware.md) ^3.0.0
- [react-test-renderer](https://npm.io/package/react-test-renderer.md) ^15.6.1
- [webpack-dev-middleware](https://npm.io/package/webpack-dev-middleware.md) ^1.10.2
- [webpack-graphql-loader](https://npm.io/package/webpack-graphql-loader.md) 0.0.16
- [webpack-hot-middleware](https://npm.io/package/webpack-hot-middleware.md) ^2.18.0
- [extract-text-webpack-plugin](https://npm.io/package/extract-text-webpack-plugin.md) ^2.1.2

## Recent versions

- 0.14.0 (latest) — 2017-11-15
- 0.13.2 — 2017-09-28
- 0.13.1 — 2017-09-27
- 0.13.0 — 2017-09-27
- 0.12.4 — 2017-09-26
- 0.12.3 — 2017-09-26
- 0.12.2 — 2017-09-19
- 0.12.1 — 2017-09-12
- 0.12.0 — 2017-09-12
- 0.11.2 — 2017-09-07
- 0.11.1 — 2017-09-07
- 0.11.0 — 2017-09-05
- 0.10.0 — 2017-09-05
- 0.9.3 — 2017-08-31
- 0.9.2 — 2017-08-31
- … 22 more at https://npm.io/package/@brightinteractive/react-serve/versions

## README

Overview
==

[TODO]


Dev setup
==

```
$ npm i
```

Running local changes against an application
==

Initial setup
--
```
cd (path to react-serve)
npm link
cd (path to your app)
npm link @brightinteractive/react-serve
```

This symlinks your local version of the library into your app's node_modules.

Note that you'll need to do this again whenever you `npm install` in your app.

The repo includes some helpful githooks, which you can install by symmlinking into your local .git directory

```
ln -s ../../githooks/pre-push .git/hooks/pre-push
ln -s ../../githooks/post-pull .git/hooks/post-pull
```

Rebuilding
--

Webpack will only monitor changes to the transpiled (js) sources from this library.
To get changes to this library to show up in your project, you'll need to manually rebuild.

``
sh scripts/build.sh
``

Note that this will often cause webpack to complain about missing modules until you restart your app.


Revert to published version
--

Reverting to previously installed version:

`npm unlink @brightinteractive/react-serve`

Install and use latest version (eg. after publishing)

`npm install @brightinteractive/react-serve@latest`


Tests
==

``
npm test
``


Publishing
==

``
npm version (major|minor|patch) && npm publish
``

---
_Source: https://npm.io/package/@brightinteractive/react-serve · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
