-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
104 lines (104 loc) · 3 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
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"dependencies": {
"axios": "^0.17.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-redux": "^5.0.6",
"react-router-dom": "^4.2.2",
"redux": "^3.7.2",
"redux-devtools-extension": "^2.13.2",
"redux-promise-middleware": "^5.0.0",
"redux-thunk": "^2.2.0",
"superagent": "^3.8.2"
},
"engines": {
"node": ">=4.5.0"
},
"scripts": {
"lint": "node_modules/eslint/bin/eslint.js --cache --format=node_modules/eslint-formatter-pretty ./react-app --ignore-pattern=\"CountriesConstants.js\"",
"build": "node_modules/webpack/bin/webpack.js --config webpack/dev.config.js --watch --progress",
"build-prod": "NODE_ENV=production node_modules/webpack/bin/webpack.js --config webpack/prod.config.js",
"start-dev": "node_modules/webpack-dev-server/bin/webpack-dev-server.js --config webpack/dev.config.js",
"test": "jest --coverage",
"e2e-test": "./node_modules/.bin/cypress open"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.2",
"babel-loader": "^7.1.2",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"compression-webpack-plugin": "^1.1.2",
"css-loader": "^0.28.7",
"cypress": "^1.4.2",
"eslint": "^4.11.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^2.7.0",
"eslint-formatter-pretty": "^1.3.0",
"eslint-loader": "^1.9.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^1.1.9",
"html-webpack-plugin": "^2.30.1",
"jest": "^22.1.4",
"less": "^2.7.3",
"less-loader": "^4.0.5",
"postcss-import": "^11.0.0",
"postcss-loader": "^2.0.9",
"style-ext-html-webpack-plugin": "^3.4.5",
"style-loader": "^0.19.1",
"sugarss": "^1.0.1",
"uglifyjs-webpack-plugin": "^1.1.4",
"webpack": "^3.10.0",
"webpack-dev-server": "^2.9.7",
"webpack-merge": "^4.1.1"
},
"eslintConfig": {
"extends": [
"airbnb",
"prettier"
]
},
"jest": {
"modulePaths": [
"./app"
],
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleDirectories": [
"node_modules",
"bower_components",
"shared"
],
"coveragePathIgnorePatterns": [
"app/index.js",
"app/redasdfux/store.js"
],
"clearMocks": true,
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/tests/__mocks__/file-mock.js",
"\\.(css|less)$": "<rootDir>/tests/__mocks__/style-mock.js"
},
"collectCoverage": true,
"collectCoverageFrom": [
"app/**/*.{js}"
],
"coverageThreshold": {
"./app/redux/**/*.js": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
},
"testMatch": [
"**/tests/**/*test.js?(x)"
]
}
}