package.json 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "redux-persist",
  3. "version": "6.0.0",
  4. "description": "persist and rehydrate redux stores",
  5. "main": "lib/index.js",
  6. "module": "es/index.js",
  7. "types": "./types/index.d.ts",
  8. "repository": "rt2zz/redux-persist",
  9. "files": [
  10. "es",
  11. "src",
  12. "lib",
  13. "dist",
  14. "integration",
  15. "types",
  16. "README.md"
  17. ],
  18. "scripts": {
  19. "ava": "cross-env BABEL_ENV=commonjs ava",
  20. "build": "npm run flow-copy && npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
  21. "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
  22. "build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
  23. "build:umd": "cross-env BABEL_ENV=es NODE_ENV=development rollup -c -i src/index.js -o dist/redux-persist.js",
  24. "build:umd:min": "cross-env BABEL_ENV=es NODE_ENV=production rollup -c -i src/index.js -o dist/redux-persist.min.js",
  25. "clean": "rimraf es && rimraf lib",
  26. "flow-copy": "flow-copy-source src es && flow-copy-source src lib",
  27. "prepare": "npm run build",
  28. "precommit": "lint-staged",
  29. "stats:size": "node ./scripts/size-estimator.js",
  30. "test": "flow && cross-env BABEL_ENV=commonjs ava",
  31. "test:typescript": "dtslint types",
  32. "version": "npm run clean && npm run build && npm run stats:size | tail -1 >> LIBSIZE.md && git add LIBSIZE.md"
  33. },
  34. "lint-staged": {
  35. "src/**/*.js": [
  36. "prettier --write",
  37. "git add"
  38. ]
  39. },
  40. "author": "",
  41. "license": "MIT",
  42. "homepage": "https://github.com/rt2zz/redux-persist#readme",
  43. "ava": {
  44. "files": [
  45. "tests/**/*.spec.js"
  46. ],
  47. "require": [
  48. "@babel/polyfill",
  49. "@babel/register"
  50. ]
  51. },
  52. "devDependencies": {
  53. "@babel/cli": "^7.5.5",
  54. "@babel/core": "^7.5.5",
  55. "@babel/plugin-proposal-class-properties": "^7.5.5",
  56. "@babel/plugin-proposal-object-rest-spread": "^7.5.5",
  57. "@babel/plugin-transform-modules-commonjs": "^7.5.0",
  58. "@babel/polyfill": "^7.4.4",
  59. "@babel/preset-env": "^7.5.5",
  60. "@babel/preset-flow": "^7.0.0",
  61. "@babel/register": "^7.5.5",
  62. "@types/react": "^16.9.2",
  63. "ava": "^1.4.1",
  64. "babel-eslint": "^10.0.3",
  65. "cross-env": "^5.2.1",
  66. "dtslint": "^0.3.0",
  67. "eslint": "^4.16.0",
  68. "eslint-plugin-flowtype": "^2.42.0",
  69. "eslint-plugin-import": "^2.18.2",
  70. "flow-bin": "^0.98.1",
  71. "flow-copy-source": "^1.2.2",
  72. "husky": "^0.14.3",
  73. "lint-staged": "^6.1.0",
  74. "lodash": "^4.17.15",
  75. "prettier": "^1.18.2",
  76. "redux": "^4.0.4",
  77. "redux-mock-store": "^1.5.1",
  78. "rimraf": "^2.7.1",
  79. "rollup": "^0.55.3",
  80. "rollup-plugin-babel": "^4.3.3",
  81. "rollup-plugin-node-resolve": "^4.2.4",
  82. "rollup-plugin-replace": "^2.2.0",
  83. "rollup-plugin-uglify": "^3.0.0",
  84. "sinon": "^4.2.2",
  85. "storage-memory": "0.0.2"
  86. },
  87. "peerDependencies": {
  88. "redux": ">4.0.0"
  89. },
  90. "dependencies": {}
  91. }