redux-signal

v2.0.1
A scalable solution for modals using React and Redux
react redux notification modal react-modal redux-modal redux-signal signal decorator and 2 more...

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
npm i redux-signal

Metadata

  • MIT
  • Whatever
  • Mike Vercoelen
  • released 4/14/2018

Downloads

Maintainers