A simple, universal, no-frills networking library
npm install @hubble/request@hubble/requestA simple, universal, no-frills networking library
Install in your project with:
``shell`
npm install @hubble/request
Or, with yarn:
`shell`
yarn add @hubble/request
- docker
- docker-compose
- make
Run:
`shell`
make dev-setup dev-build
To rebuild the contents of dist every time you change a file in src, use:
`shell`
make dev-run
You can run the tests, _while running make dev-run_, using:
`shell`
make dev-test
You can re-run the tests every time you save a file using:
`shell`
make dev-test-watch
In order to have your code editor use node_modules to power its plugins (such as prettier and eslint), you'll need to export your node modules:
`shell`
make dev-export-node-modules
We generate docs from JSDoc blocks on all our React code.
To view the docs locally, run
`sh`
make dev-docs
This will generate the docs. You can view them at http://localhost:9004
Once your branch has been approved and merged, follow these steps in main to publish:
1. In one terminal tab, run make dev-runmake dev-ssh
2. Open a new tab. Run yarn version
3. Bump the version, using git push && git push --tags
4. Commit the version bump using version number as the commit header
5. Push the update, and the tag, to the git repository: @hubble
6. Log in to npm, using an account authorized to push to the namespace: yarn loginyarn publish`
7. Publish to npm: