forked from WeLikeGraphQL/universal-react-apollo-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 4.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
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "universal-react-apollo-example",
"version": "0.1.0",
"description": "An example application using React, GraphQL, Apollo, Redux",
"main": "server.js",
"repository": {
"type": "git",
"url": "https://github.com/welikegraphql/universal-react-apollo-example"
},
"keywords": [
"webpack",
"react",
"graphql",
"apollo",
"redux"
],
"author": "graphan",
"license": "MIT",
"bugs": {
"url": "https://github.com/welikegraphql/universal-react-apollo-example/issues"
},
"homepage": "https://github.com/welikegraphql/universal-react-apollo-example",
"scripts": {
"babel": "babel --presets es2015,stage-0",
"babel-node": "cross-env NODE_ENV=development babel-node --presets es2015,stage-0 --ignore node_modules,dist",
"build": "npm run clean && npm run build:prod && npm run build:server",
"build:dev": "cross-env NODE_ENV=development webpack --config ./webpack/dev-server.js",
"build:dll": "webpack --config ./webpack/dll.js",
"build:prod": "cross-env NODE_ENV=production webpack --colors --config ./webpack/prod.js",
"build:server": "cross-env NODE_ENV=production npm run babel -- ./server -d ./compiled",
"clean": "rimraf dist && rimraf compiled && rimraf dll",
"dev": "cross-env NODE_ENV=development nodemon",
"lint": "eslint *",
"lint:fix": "eslint --fix *",
"start": "cross-env NODE_ENV=production node compiled/index.js",
"test": "jest",
"test:watch": "jest --watch",
"update:schema": "npm run babel-node scripts/updateSchema"
},
"dependencies": {
"apollo-client": "~0.8.0",
"babel-polyfill": "~6.22.0",
"dotenv": "~4.0.0",
"flag-icon-css": "~2.8.0",
"graphql": "0.9.1",
"graphql-tag": "~1.2.3",
"isomorphic-fetch": "~2.2.1",
"react": "~15.4.2",
"react-apollo": "~0.9.0",
"react-bootstrap": "~0.30.3",
"react-css-modules": "~4.1.0",
"react-dom": "~15.4.2",
"react-redux": "~5.0.2",
"react-scroll": "~1.4.0",
"recompose": "^0.22.0",
"redux": "~3.6.0",
"wow.js": "~1.2.2"
},
"devDependencies": {
"babel-cli": "~6.22.2",
"babel-core": "~6.22.1",
"babel-eslint": "~7.1.1",
"babel-jest": "^18.0.0",
"babel-loader": "~6.2.4",
"babel-plugin-transform-decorators-legacy": "1.x.x",
"babel-plugin-transform-react-constant-elements": "~6.22.0",
"babel-plugin-transform-react-display-name": "~6.22.0",
"babel-plugin-transform-react-inline-elements": "~6.22.0",
"babel-plugin-transform-react-remove-prop-types": "~0.2.9",
"babel-preset-es2015": "~6.22.0",
"babel-preset-react": "~6.22.0",
"babel-preset-stage-0": "~6.22.0",
"chai": "~3.5.0",
"copy-webpack-plugin": "~4.0.1",
"cross-env": "~3.1.4",
"css-loader": "~0.26.1",
"enzyme": "~2.7.0",
"eslint": "~3.14.0",
"eslint-config-airbnb": "~14.0.0",
"eslint-plugin-graphql": "~0.6.0",
"eslint-plugin-import": "~2.2.0",
"eslint-plugin-jsx-a11y": "~3.0.2",
"eslint-plugin-react": "~6.9.0",
"express": "~4.14.0",
"extract-text-webpack-plugin": "~1.0.1",
"helmet": "~3.4.0",
"imports-loader": "~0.7.0",
"jest": "^18.1.0",
"json-loader": "~0.5.4",
"nodemon": "~1.11.0",
"null-loader": "~0.1.1",
"postcss-cssnext": "~2.9.0",
"postcss-import": "~9.1.0",
"postcss-loader": "~1.2.2",
"postcss-sassy-mixins": "~2.0.0",
"react-addons-test-utils": "~15.4.2",
"react-hot-loader": "~3.0.0-beta.6",
"react-test-renderer": "^15.4.2",
"redbox-react": "~1.3.0",
"rimraf": "~2.5.4",
"sinon": "~1.17.6",
"style-loader": "~0.13.0",
"stylelint-webpack-plugin": "~0.5.1",
"sync-request": "~4.0.1",
"url-loader": "~0.5.7",
"webpack": "~1.14.0",
"webpack-dev-middleware": "~1.9.0",
"webpack-hot-middleware": "~2.15.0"
},
"jest": {
"collectCoverage": true,
"modulePaths": [
"<rootDir>/app/"
],
"moduleFileExtensions": [
"js"
],
"moduleDirectories": [
"node_modules"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
},
"testPathDirs": [
"<rootDir>/app/tests"
]
}
}