UNPKG

state-updater-on-actions

Version:

Update a shared state by asynchronous actions which execute over a system which responds when the state isn't up to date and expose a refresh operation which returns the value which represents that updated state for enabling the action to proceed.

49 lines (48 loc) 1.56 kB
{ "name": "state-updater-on-actions", "version": "0.0.5", "description": "Update a shared state by asynchronous actions which execute over a system which responds when the state isn't up to date and expose a refresh operation which returns the value which represents that updated state for enabling the action to proceed.", "main": "dist/index.js", "module": "src/state-updater.js", "repository": { "type": "git", "url": "git+ssh://git@github.com/cycloidio/state-update-on-actions" }, "scripts": { "lint": "eslint --ext .js src", "lint:fix": "eslint --fix --ext !spec.js,.js src", "test": "jest --config jest.config.js --collectCoverage", "test:watch": "jest --watch --config jest.config.js", "build": "webpack", "docs:generate": "jsdoc -d docs/api src/state-updater.js" }, "keywords": [ "async-actions", "state", "updater" ], "author": "Cycloid", "license": "MIT", "devDependencies": { "babel-core": "^6.26.0", "babel-jest": "^22.4.3", "babel-loader": "^7.1.4", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.1", "eslint": "^4.19.1", "eslint-config-standard": "^11.0.0", "eslint-plugin-import": "^2.11.0", "eslint-plugin-node": "^6.0.1", "eslint-plugin-promise": "^3.7.0", "eslint-plugin-standard": "^3.0.1", "eslint-plugin-unicorn": "^4.0.3", "faker": "^4.1.0", "jest": "^22.4.3", "jsdoc": "^3.5.5", "webpack": "^4.5.0", "webpack-cli": "^2.0.14" }, "engines": { "node": ">= 9.0.0" } }