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