redux-logic
Version:
Redux middleware for organizing all your business logic. Intercept actions and perform async processing.
138 lines (137 loc) • 4.48 kB
JSON
{
"name": "redux-logic",
"version": "5.0.2",
"description": "Redux middleware for organizing all your business logic. Intercept actions and perform async processing.",
"main": "build-lib/index.js",
"browser": {
"main": "dist/redux-logic.js"
},
"engines": {
"node": ">=8.0.0"
},
"react-native": "src/index.js",
"browserify": {
"transform": [
"loose-envify"
]
},
"sideEffects": false,
"module": "build-es/index.js",
"files": [
"dist",
"build-lib",
"build-es",
"src",
"definitions"
],
"scripts": {
"start": "npm run test:watch",
"clean": "rimraf build-lib dist build-es coverage",
"lint": "eslint src test",
"browserslist": "browserslist",
"test": "cross-env BABEL_ENV=commonjs mocha --require @babel/register --recursive -r ./test/setup.js",
"test:prod": "cross-env BABEL_ENV=commonjs NODE_ENV=production mocha --require @babel/register --recursive -r ./test/setup.js",
"test:watch": "npm test -- --watch",
"test:cov": "cross-env NODE_ENV=test BABEL_ENV=cov nyc --reporter=lcov --reporter=text mocha test --recursive",
"test:rxbuild": "cross-env BABEL_ENV=commonjs mocha --require @babel/register test/rxbuild.spec.js -r ./test/setup.js",
"test:typescript": "tsc --noEmit",
"check:src": "npm run lint && npm run test && npm run test:rxbuild && npm run test:prod && npm run test:typescript",
"escheck": "npm run escheck:commonjs && npm run escheck:es && npm run escheck:umd",
"escheck:commonjs": "es-check es5 build-lib/**.js",
"escheck:es": "es-check --module es6 build-es/**.js",
"escheck:umd": "es-check es6 dist/**.js",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir build-lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir build-es",
"build:umd": "cross-env NODE_ENV=production MINIMIZE=false BABEL_ENV=es webpack --entry ./src/index.js -o ./dist --output-filename redux-logic.js",
"build:umd:min": "cross-env NODE_ENV=production BABEL_ENV=es webpack --entry ./src/index.js -o ./dist --output-filename redux-logic.min.js",
"build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
"debug-build": "cross-env CI=true npm run build:commonjs && cross-env CI=true npm run build:es && cross-env CI=true npm run build:umd && cross-env CI=true npm run build:umd:min",
"prepublish": "npm run clean && npm run check:src && npm run build && npm run escheck",
"publish-tag-next": "npm publish --tag next && npm view"
},
"repository": {
"type": "git",
"url": "https://github.com/jeffbski/redux-logic.git"
},
"keywords": [
"redux",
"middleware",
"redux middleware",
"logic",
"business logic",
"domain",
"domain logic",
"epic",
"saga",
"observable",
"side effect",
"promise",
"async await"
],
"author": "Jeff Barczewski <jeff.barczewski@gmail.com> (https://github.com/jeffbski)",
"license": "MIT",
"bugs": {
"url": "https://github.com/jeffbski/redux-logic/issues"
},
"homepage": "https://github.com/jeffbski/redux-logic",
"dependencies": {
"core-js": "^3.40.0",
"is-promise": "^4.0.0",
"loose-envify": "^1.4.0",
"rxjs": "^7.8.1"
},
"peerDependencies": {
"redux": ">=3.5.2"
},
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/register": "^7.25.9",
"@types/mocha": "^10.0.10",
"@types/node": "^20.9.0",
"ajv": "^8.17.1",
"babel-loader": "^9.2.1",
"babel-plugin-istanbul": "^6.1.1",
"browserslist": "^4.24.4",
"cross-env": "^7.0.3",
"es-check": "^7.1.1",
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-react": "^7.37.3",
"expect-legacy": "^1.20.2",
"lodash": "^4.17.21",
"mocha": "^11.0.1",
"nyc": "^15.1.0",
"redux": "^4.2.1",
"rimraf": "^5.0.5",
"typescript": "^5.7.3",
"webpack": "^5.97.1",
"webpack-cli": "^5.1.4"
},
"npmName": "redux-logic",
"npmFileMap": [
{
"basePath": "/dist/",
"files": [
"*.js"
]
}
],
"nyc": {
"include": [
"src/**/*.js"
],
"exclude": [
"**/*.spec.js",
"**/*.test.js"
],
"require": [
"@babel/register"
],
"sourceMap": false,
"instrument": false
},
"typings": "definitions/index.d.ts"
}