@brightinteractive/react-serve
Wrapper around express and webpack for building and serving react apps
Last updated 2 years ago by richardhulm .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @brightinteractive/react-serve 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.14.0                                ...           latest (2 years ago)

37 Versions

  • 0.14.0                                ...           2 years ago
  • 0.13.2                                ...           2 years ago
  • 0.13.1                                ...           2 years ago
  • 0.13.0                                ...           2 years ago
  • 0.12.4                                ...           2 years ago
  • 0.12.3                                ...           2 years ago
  • 0.12.2                                ...           2 years ago
  • 0.12.1                                ...           2 years ago
  • 0.12.0                                ...           2 years ago
  • 0.11.2                                ...           2 years ago
  • 0.11.1                                ...           2 years ago
  • 0.11.0                                ...           2 years ago
  • 0.10.0                                ...           2 years ago
  • 0.9.3                                ...           2 years ago
  • 0.9.2                                ...           2 years ago
  • 0.9.1                                ...           2 years ago
  • 0.9.0                                ...           2 years ago
  • 0.8.1                                ...           2 years ago
  • 0.8.0                                ...           2 years ago
  • 0.7.4                                ...           2 years ago
  • 0.7.3                                ...           2 years ago
  • 0.7.2                                ...           2 years ago
  • 0.7.1                                ...           2 years ago
  • 0.7.0                                ...           2 years ago
  • 0.6.0                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.6                                ...           2 years ago
  • 0.3.5                                ...           2 years ago
  • 0.3.4                                ...           2 years ago
  • 0.3.3                                ...           2 years ago
  • 0.3.2                                ...           2 years ago
  • 0.3.1                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 3
Dependencies (30)
Dev Dependencies (30)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |