npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

@brightinteractive/react-serve

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

Keywords

none

install

npm i @brightinteractive/react-serve

Downloadsweekly downloads

1

version

0.14.0

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability