@brightinteractive/react-serve
TypeScript icon, indicating that this package has built-in type declarations

0.14.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @brightinteractive/react-serve

Weekly Downloads

1

Version

0.14.0

License

ISC

Last publish

Collaborators

  • brightinteractive-admin