🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

redux-file-sync

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-file-sync

Sync your redux actions to an external file system.

latest
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

redux file sync

Sync your redux actions to a cloud storage file system.

Read the full documentation: https://alexishevia.github.io/redux-file-sync/

Development Info

Getting Started

  • Install nodeJS (v10.15.0 preferred)
  • Run npm install to install all dependencies

Running Tests

# Run all tests
npm run test

# Run a single test
npm run test <filename or path>
eg:
  npm run test my-test

# Run test using a debugger
npm run test-debug <filename>
eg:
  npm run test-debug my-test

Linting / Formatting Code

This project is configured to run prettier when you do a git add (using husky and lint-staged), so you don't need to worry about formatting code.

However, we still use eslint to capture syntax errors. The .eslintrc.json file is set to extend eslint-config-prettier, so eslint will only report on syntax errors instead of enforcing formatting.

Note:
Some editors will fail to load eslint from a pacakage's subdirectory, and will default to the global eslint - which might not have all the plugins you need.

If that happens, you'll need to manually specify the path to the correct eslint.

In my case, I had to create a local .vimrc file with:

let g:syntastic_javascript_eslint_exec='/home/alexishevia/Projects/Personales/redux-file-sync/node_modules/.bin/eslint'

Publish to npm

Run the following to publish the package to npm:

npm run build && npm publish

Documentation

The home page for the project lives in: https://alexishevia.github.io/redux-file-sync

It is generated from this repo's docs directory using Docsify.

You can run Docsify locally with:

npm run docs

Note:
Any PR that changes the architecture should also include updates to the Docsify documentation (to avoid code and docs going out of sync).

FAQs

Package last updated on 21 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts