UNPKG

redux-mock-store

Version:

A mock store for testing your redux async action creators and middleware

65 lines (64 loc) 2.42 kB
{ "name": "redux-mock-store", "version": "1.5.5", "description": "A mock store for testing your redux async action creators and middleware", "main": "dist/index-cjs.js", "module": "dist/index-es.js", "js:next": "dist/index-es.js", "browser": "dist/index-umd.min.js", "scripts": { "prepublish": "rimraf lib && rimraf dist && npm run build", "build:cjs": "babel src --out-file dist/index-cjs.js", "build:umd": "cross-env BABEL_ENV=es NODE_ENV=development rollup -f umd -c -i src/index.js -o dist/index-umd.js", "build:umd:min": "cross-env BABEL_ENV=es NODE_ENV=production rollup -f umd -c -i src/index.js -o dist/index-umd.min.js", "build:es": "cross-env BABEL_ENV=es NODE_ENV=development rollup -f es -c -i src/index.js -o dist/index-es.js", "build": "npm run build:umd && npm run build:umd:min && npm run build:es && npm run build:cjs", "lint": "standard src/*.js test/*.js", "pretest": "npm run lint", "test": "npm run build && npm run test:unit && npm run test:cjs && npm run test:es", "test:unit": "mocha --compilers js:babel-core/register --reporter spec test/*.js", "test:cjs": "mocha --reporter spec test/builds/cjs.js", "test:es": "mocha --compilers js:babel-core/register --reporter spec test/builds/es.js" }, "repository": { "type": "git", "url": "git+https://github.com/arnaudbenard/redux-mock-store.git" }, "author": "Arnaud Benard <arnaudm.benard@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/arnaudbenard/redux-mock-store/issues" }, "homepage": "https://github.com/arnaudbenard/redux-mock-store#readme", "devDependencies": { "babel-cli": "^6.11.4", "babel-core": "^6.13.2", "babel-plugin-external-helpers": "^6.22.0", "babel-preset-env": "^1.6.1", "cross-env": "^5.0.1", "expect": "^1.12.2", "mocha": "^2.3.3", "redux": "^3.0.4", "redux-thunk": "^2.0.1", "rimraf": "^2.4.3", "rollup": "^0.45.1", "rollup-plugin-babel": "^2.7.1", "rollup-plugin-commonjs": "^8.2.6", "rollup-plugin-node-resolve": "^3.0.0", "rollup-plugin-replace": "^1.1.1", "rollup-plugin-uglify": "^2.0.1", "sinon": "^1.17.2", "standard": "^7.1.2" }, "dependencies": { "lodash.isplainobject": "^4.0.6" }, "peerDependencies": { "redux": "*" }, "prettier": { "singleQuote": true, "semi": false, "trailingComma": "none" } }