UNPKG

redux-signal

Version:

A scalable solution for modals using React and Redux

167 lines (166 loc) 5.11 kB
{ "name": "redux-signal", "version": "2.0.1", "description": "A scalable solution for modals using React and Redux", "main": "./lib/index.js", "module": "./es/index.js", "jsnext:main": "./es/index.js", "sideEffects": false, "repository": { "type": "git", "url": "git+https://github.com/mikevercoelen/redux-signal.git" }, "scripts": { "analyze": "webpack src/index.js dist/redux-signal.js -p --bail --profile --json > stats.json && webpack-bundle-analyzer stats.json", "build": "npm run build:lib && npm run build:es && npm run build:umd && npm run build:umd:min", "build:lib": "babel src --out-dir lib --ignore __tests__", "build:es": "cross-env BABEL_ENV=es babel src --out-dir es --ignore __tests__", "build:umd": "cross-env NODE_ENV=development webpack --env.development ./src/index.js --output-filename=redux-signal.js", "build:umd:min": "cross-env NODE_ENV=production webpack --env.production ./src/index.js --output-filename=redux-signal.min.js", "dev": "npm-watch", "clean": "rimraf dist lib es", "lint": "eslint src", "lint:fix": "eslint src --fix", "precommit": "lint-staged", "prepublishOnly": "npm run lint:fix && npm run test:cov && npm run clean && npm run build && npm run deploy", "test": "cross-env NODE_ENV=test jest --runInBand", "test:watch": "npm test -- --watch", "test:cov": "npm run test -- --coverage", "examples": "cross-env NODE_ENV=development webpack-dev-server --config=./examples/webpack.config.js", "examples:build": "cross-env NODE_ENV=production webpack --config=./examples/webpack.config.js", "deploy": "npm run examples:build && gulp deploy", "prepush": "npm run test" }, "watch": { "build": "src/**/*.js" }, "keywords": [ "react", "redux", "notification", "modal", "react-modal", "redux-modal", "redux-signal", "signal", "decorator", "react-redux" ], "author": "Mike Vercoelen <mike.vercoelen@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/mikevercoelen/redux-signal/issues" }, "homepage": "https://github.com/mikevercoelen/redux-signal#readme", "dependencies": { "lru-memoize": "^1.0.2", "prop-types": "^15.6.1" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-eslint": "^8.2.3", "babel-jest": "^22.4.3", "babel-loader": "^7.1.4", "babel-plugin-istanbul": "^4.1.6", "babel-plugin-syntax-async-functions": "^6.13.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", "babel-plugin-transform-react-jsx-source": "^6.22.0", "babel-plugin-transform-regenerator": "^6.26.0", "babel-preset-es2015-no-commonjs": "^0.0.2", "babel-preset-react": "^6.24.1", "babel-preset-stage-2": "^6.24.1", "babel-register": "^6.26.0", "classnames": "^2.2.5", "codecov.io": "^0.1.6", "cross-env": "^5.1.4", "css-loader": "^0.28.11", "eslint": "^4.19.1", "eslint-config-standard": "^11.0.0", "eslint-config-standard-react": "^6.0.0", "eslint-plugin-babel": "^5.0.0", "eslint-plugin-import": "^2.11.0", "eslint-plugin-jest": "^21.15.0", "eslint-plugin-node": "^6.0.1", "eslint-plugin-promise": "^3.7.0", "eslint-plugin-react": "^7.7.0", "eslint-plugin-standard": "^3.0.1", "file-loader": "^1.1.11", "flux-standard-action": "^2.0.1", "gulp": "^3.9.1", "gulp-gh-pages": "^0.5.4", "html-webpack-plugin": "^3.2.0", "husky": "^0.14.3", "img-loader": "^2.0.1", "immutable": "^3.8.2", "jest": "^22.4.3", "jest-immutable-matchers": "^2.0.1", "lint-staged": "^7.0.4", "node-sass": "^4.8.3", "npm-watch": "^0.3.0", "react": "^16.3.1", "react-dom": "^16.3.1", "react-modal-construction-kit": "^2.0.7", "react-redux": "^5.0.7", "react-transition-group": "^2.3.1", "redux": "^3.7.2", "redux-immutablejs": "^0.0.8", "reselect": "^3.0.1", "rifraf": "^2.0.3", "rimraf": "^2.6.2", "sass-loader": "^7.0.1", "stringstream": "^0.0.5", "style-loader": "^0.20.3", "tmp": "0.0.33", "url-loader": "^1.0.1", "webpack": "^4.5.0", "webpack-bundle-analyzer": "^2.11.1", "webpack-cli": "^2.0.14", "webpack-dev-server": "^3.1.3" }, "peerDependencies": { "react": "^15.0.0-0 || ^16.0.0-0", "react-redux": "^4.3.0 || ^5.0.0", "redux": "^3.0.0", "immutable": "^3.8.2", "reselect": "^3.0.1" }, "files": [ "README.md", "es", "lib", "dist" ], "lint-staged": { "*.js": [ "eslint --fix", "git add" ] }, "jest": { "collectCoverageFrom": [ "src/**/*.js", "!src/**/__tests__/**/*.js" ], "coverageReporters": [ "text", "lcov", "html" ], "coveragePathIgnorePatterns": [ "/node_modules/", "/dist/" ], "testRegex": "__tests__/.*\\.spec\\.js$", "testEnvironment": "jsdom" }, "npmName": "redux-signal", "npmFileMap": [ { "basePath": "/dist/", "files": [ "*.js" ] } ] }