-
Notifications
You must be signed in to change notification settings - Fork 83
/
package.json
87 lines (87 loc) · 2.37 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
{
"name": "react-node-starter",
"version": "1.1.0",
"description": "an example for deploying a React + NodeJS app to Heroku",
"main": "server.js",
"scripts": {
"build": "webpack --config webpack.prod.config.js",
"dev": "webpack-dev-server --hot --inline",
"lint": "eslint src/**",
"lint:watch": "esw -w src/**",
"review": "npm run lint && npm test",
"start": "npm run build && NODE_ENV=production node server.js",
"test": "jest src/**",
"test:watch": "jest src/** --watch",
"test:watchAll": "jest src/** --watchAll",
"test:coverage:report": "open coverage/lcov-report/index.html"
},
"author": "",
"license": "ISC",
"dependencies": {
"apollo-cache-inmemory": "^1.2.9",
"apollo-client": "^2.4.1",
"apollo-link-http": "^1.5.4",
"axios": "^0.18.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-transform-regenerator": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"css-loader": "^0.28.7",
"enzyme-adapter-react-16": "^1.0.0",
"express": "^4.15.5",
"graphql": "^14.0.2",
"graphql-tag": "^2.9.2",
"node-sass": "^4.5.3",
"prop-types": "^15.6.0",
"raf": "^3.3.2",
"react": "^16.5.0",
"react-apollo": "^2.1.11",
"react-dom": "^16.5.0",
"sass-loader": "^6.0.6",
"style-loader": "^0.18.2",
"webpack": "^3.6.0"
},
"devDependencies": {
"babel-eslint": "^8.0.1",
"enzyme": "^3.0.0",
"eslint": "^4.7.2",
"eslint-loader": "^1.9.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"eslint-watch": "^3.1.2",
"jest": "^21.2.0",
"react-addons-test-utils": "^15.6.2",
"react-test-renderer": "^16.0.0",
"webpack-dev-middleware": "^1.12.0",
"webpack-dev-server": "^2.8.2",
"webpack-hot-middleware": "^2.19.1"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**",
"!src/index.js"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"moduleDirectories": [
"node_modules",
"./"
],
"moduleNameMapper": {
"^.+.(css|scss|sass)$": "<rootDir>/__tests__/cssStub.js"
},
"setupFiles": [
"raf/polyfill"
]
}
}