https://github.com/homezen/redux-variants
Variants system for Redux (with optional React helpers)
https://github.com/homezen/redux-variants
react-helpers redux redux-variants variants
Last synced: about 1 month ago
JSON representation
Variants system for Redux (with optional React helpers)
- Host: GitHub
- URL: https://github.com/homezen/redux-variants
- Owner: homezen
- Created: 2016-07-28T14:41:00.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-17T07:23:41.000Z (almost 7 years ago)
- Last Synced: 2025-04-12T18:45:22.540Z (about 1 month ago)
- Topics: react-helpers, redux, redux-variants, variants
- Language: JavaScript
- Size: 1.24 MB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# redux-variants
[](https://greenkeeper.io/)
[](https://circleci.com/gh/homezen/redux-variants/tree/master)
[](https://codecov.io/gh/homezen/redux-variants)Universal JavaScript variants system for Redux (plus React helpers)
## Supported platform
* node 6.x, 8.x
* React 16.x
* Redux 3.x## Unsupported But Should Work
* React 15.6.x
## Getting Started
### Running tests
To run the full suite, run
```bash
npm tst
```### Other commands
#### `npm run build`
Builds the production assets suitable for release
#### `npm run deploy`
Git tags release and publishes to npm
#### `npm start`
Runs the test watcher
## CI/CD
### Releases
Every commit to master defaults to a patch bump. If it needs to be a minor or major, ENSURE YOU DO THE FOLLOWING:
If you would like to create a release, add the following to the merge commit message when you merge a PR:
```bash
release v+
```Where `` is one of:
* major
* minor
* patch (default)This will:
1. Bump version in package.json and commit back to master
1. Git tag that newly created commit with the new version
1. Publish to npm