-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2 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
{
"name": "react-redux-hydrate",
"version": "1.0.2",
"author": "Ionut Cirja",
"url": "https://github.com/ionutcirja/react-redux-hydrate",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ionutcirja/react-redux-hydrate"
},
"main": "lib/index.js",
"scripts": {
"build": "babel -d lib/ src/ --ignore **/*.spec.js",
"prepublish": "npm run lint && npm run flow && npm test && npm run build",
"lint": "eslint src/**",
"test": "jest",
"test:watch": "jest --watch",
"test:watchAll": "jest --watchAll",
"flow": "flow"
},
"jest": {
"setupTestFrameworkScriptFile": "./config/enzyme-setup.js",
"verbose": true,
"collectCoverage": true,
"testURL": "http://localhost/",
"collectCoverageFrom": [
"**/*.{js}",
"!**/lib/**",
"!**/node_modules/**",
"!**/config/**",
"!**/coverage/**"
],
"testMatch": [
"**/__tests__/?(*.)(spec|test).js"
],
"transform": {
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
]
},
"pre-commit": [
"lint",
"test"
],
"dependencies": {
"react": "^16.6.3",
"react-dom": "^16.6.3"
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.6",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"babel-core": "^7.0.0-0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"eslint": "^5.7.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-flowtype": "^3.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.11.1",
"flow-bin": "^0.83.0",
"jest": "^23.6.0",
"pre-commit": "^1.2.2"
}
}