-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
99 lines (99 loc) · 2.97 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
{
"name": "my-react-app",
"version": "1.0.0",
"main": "index.js",
"author": "Rajesh Panda<[email protected]>",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.0.0-beta.44",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.44",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.44",
"@babel/preset-env": "^7.0.0-beta.44",
"@babel/preset-react": "^7.0.0-beta.44",
"babel-core": "^7.0.0-0",
"babel-eslint": "^8.2.3",
"babel-jest": "^22.4.3",
"babel-loader": "^8.0.0-beta.2",
"babel-plugin-styled-components": "^1.5.1",
"clean-webpack-plugin": "^0.1.19",
"copy-webpack-plugin": "^4.5.1",
"css-loader": "^0.28.11",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"file-loader": "^1.1.11",
"husky": "^1.3.1",
"identity-obj-proxy": "^3.0.0",
"imagemin-webpack-plugin": "^2.1.1",
"jest": "^22.4.3",
"react-test-renderer": "^16.7.0",
"redux-mock-store": "^1.5.1",
"redux-saga-testing": "^1.0.5",
"style-loader": "^0.21.0",
"webpack": "^4.20.2",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.1.1"
},
"scripts": {
"start": "webpack-dev-server --config config/webpack.config.dev.js --open 'Google Chrome'",
"build": "webpack --config config/webpack.config.prod.js",
"test": "jest --coverage",
"test:watch": "jest --watchAll",
"test:update": "jest --verbose --coverage --updateSnapshot",
"lint": "eslint src/",
"coverage": "jest --coverage && open coverage/lcov-report/index.html"
},
"dependencies": {
"connected-react-router": "^6.1.0",
"history": "^4.7.2",
"jsdom-global": "^3.0.2",
"prop-types": "^15.6.1",
"react": "16.6.0",
"react-dom": "^16.3.1",
"react-ga": "^2.5.3",
"react-hot-loader": "^4.0.1",
"react-redux": "^6.0.0",
"react-router-dom": "^4.2.2",
"redux": "^4.0.1",
"redux-actions": "^2.6.4",
"redux-devtools-extension": "^2.13.7",
"redux-saga": "^0.16.2",
"styled-components": "^3.2.5",
"webpack-dev-server": "^3.1.14"
},
"jest": {
"testEnvironment": "node",
"globalSetup": "./__mocks__/globalSetup.js",
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/*.test.{js,jsx}"
],
"coverageThreshold": {
"global": {
"statements": 80,
"branches": 0,
"functions": 0,
"lines": 0
}
},
"transform": {
"^.+\\.js$": "babel-jest",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileTransformer.js"
},
"moduleNameMapper": {
"\\.(css|less)$": "identity-obj-proxy"
},
"setupFiles": [
"<rootDir>/__helpers__/testSetup.js"
]
},
"husky": {
"hooks": {
"pre-push": "npm run lint && npm run test"
}
}
}