UNPKG

redux-resource

Version:
79 lines (78 loc) 2.17 kB
{ "name": "redux-resource", "version": "3.1.1", "description": "Resource management for Redux.", "main": "lib/index.js", "module": "es/index.js", "scripts": { "clean": "rimraf dist es tmp lib", "prepublish": "in-publish && npm run build || not-in-publish", "lint": "eslint src/**/*.js test/**/*.js webpack.config.js", "build": "npm run clean && npm run build:umd && npm run build:umd:min && npm run build:es && npm run build:commonjs", "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib", "build:es": "cross-env BABEL_ENV=es babel src --out-dir es", "build:umd": "cross-env NODE_ENV=development BABEL_ENV=build rollup -c -i src/index.js -o dist/redux-resource.js", "build:umd:min": "cross-env NODE_ENV=production BABEL_ENV=build rollup -c -i src/index.js -o dist/redux-resource.min.js" }, "repository": { "type": "git", "url": "https://github.com/jamesplease/redux-resource.git" }, "keywords": [ "redux", "api", "json api", "boilerplate", "resource", "resources", "restful", "rest", "react", "flux", "framework", "crud", "http", "database", "xhr", "state", "data", "store", "reducer", "reducers", "action", "action creators", "type", "creator" ], "author": "James Smith <jamesplease2@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/jamesplease/redux-resource/issues" }, "files": [ "dist", "lib", "es" ], "homepage": "https://redux-resource.js.org", "devDependencies": { "babel-cli": "^6.24.1", "babel-core": "6.23.0", "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-istanbul": "^4.1.4", "babel-preset-env": "^1.6.0", "babel-preset-stage-3": "^6.17.0", "babel-register": "^6.24.1", "cross-env": "^5.0.1", "in-publish": "^2.0.0", "rimraf": "^2.6.1", "rollup": "^0.45.1", "rollup-plugin-babel": "^2.7.1", "rollup-plugin-node-resolve": "^3.0.0", "rollup-plugin-replace": "^1.2.1", "rollup-plugin-uglify": "^2.0.1" }, "peerDependencies": { "redux": "3.x || 4.x" } }