UNPKG

@charliehess/redux-persist

Version:
84 lines (83 loc) 2.53 kB
{ "name": "@charliehess/redux-persist", "version": "4.9.0", "description": "persist and rehydrate redux stores", "main": "lib/index.js", "typings": "lib/index.d.ts", "module": "es/index.js", "jsnext:main": "es/index.js", "scripts": { "test": "standard 'src/**/*.js' 'test/**/*.js' && BABEL_ENV=commonjs ava --esnext", "test:watch": "npm test -- --watch", "copy-types": "cp -r type-definitions/ lib/ && cp -r type-definitions/ es/", "clean": "rimraf lib dist es", "build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min && npm run copy-types", "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 BABEL_ENV=es NODE_ENV=development rollup -c -i src/index.js -o dist/redux-persist.js", "build:umd:min": "cross-env BABEL_ENV=es NODE_ENV=production rollup -c -i src/index.js -o dist/redux-persist.min.js", "build:watch": "npm run build:commonjs -- -watch", "prepublish": "npm run clean && npm run build" }, "ava": { "require": [ "babel-register", "babel-polyfill" ], "babel": "inherit" }, "repository": { "type": "git", "url": "https://github.com/CharlieHess/redux-persist.git" }, "homepage": "https://github.com/CharlieHess/redux-persist", "keywords": [ "redux", "redux-middleware", "localstorage", "redux-persist", "redux-storage", "redux-rehydrate" ], "author": "rt2zz <zack@root-two.com>", "license": "MIT", "dependencies": { "json-stringify-safe": "^5.0.1", "lodash": "^4.17.4", "lodash-es": "^4.17.4" }, "devDependencies": { "ava": "^0.18.1", "babel-cli": "^6.22.2", "babel-core": "^6.22.1", "babel-eslint": "^7.1.1", "babel-plugin-external-helpers": "^6.22.0", "babel-polyfill": "^6.22.0", "babel-preset-es2015": "^6.22.0", "babel-preset-stage-2": "^6.22.0", "cross-env": "^3.1.4", "immutable": "^3.8.1", "redux": "^3.6.0", "rimraf": "~2.5.4", "rollup": "^0.41.6", "rollup-plugin-babel": "^2.7.1", "rollup-plugin-commonjs": "^8.0.2", "rollup-plugin-node-resolve": "^3.0.0", "rollup-plugin-replace": "^1.1.1", "rollup-plugin-uglify": "^1.0.2", "standard": "^8.6.0" }, "files": [ "es", "dist", "lib", "src", "constants", "storages", "index.js.flow", "index.d.ts" ], "standard": { "parser": "babel-eslint" } }