@brightinteractive/react-serve v0.14.0
Overview
Dev setup
$ npm iRunning local changes against an application
Initial setup
cd (path to react-serve)
npm link
cd (path to your app)
npm link @brightinteractive/react-serveThis 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-pullRebuilding
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
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago