-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
208 lines (208 loc) · 6.78 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
{
"name": "react-ssr-spa",
"private": false,
"version": "10.0.0",
"description": "Simple server rendered single page app.",
"repository": "https://github.com/michaelBenin/react-ssr-spa",
"license": "MIT",
"author": "Michael Benin",
"main": "./dist/server/index.js",
"scripts": {
"postinstall": "gulp vendor-js babel-server",
"start": "NODE_ENV=development gulp dev",
"client-unit-test": "gulp client-unit-test",
"client-integration-test": "gulp client-integration-test",
"client-unit-test-watch": "KARMA_AUTOWATCH=on gulp client-unit-test",
"client-integration-test-watch": "KARMA_AUTOWATCH=on gulp client-integration-test",
"server-unit-test": "gulp server-unit-test",
"server-integration-test": "gulp server-integration-test",
"acceptance-test": "rm -rf ./dist && NODE_ENV=production npm run build-prod; NODE_ENV=test gulp acceptance-test",
"js-lint": "gulp js-lint",
"js-lint-fix": "gulp js-lint-fix",
"style-lint": "gulp style-lint",
"style-lint-fix": "stylelint ./src/**/*.scss --syntax scss --config gulpfile.babel.js/configs/.stylelintrc --fix",
"fix-all": "npm run js-lint-fix && npm run style-lint-fix",
"svg-min": "gulp svg-min",
"test": "NODE_ENV=test gulp test",
"ci-test": "gulp ci-test",
"prod-server": "pm2 reload pm2/pm2.json5",
"build-prod": "NODE_ENV=production gulp build-prod",
"create-upload-artifact": "gulp create-upload-artifact",
"upload-static-files": "gulp upload-static-files upload-vendor-file",
"clean": "gulp clean",
"styles-doc": "gulp style-doc",
"js-doc": "gulp js-doc",
"complexity-report": "plato -r -d docs/complexity src",
"docs": "gulp js-doc style-doc",
"coverage": "cross-env NODE_ENV=coverage nyc mocha --timeout 10000 test/server/utils/initializer_util.js test/server/utils/test_initializer_util.js test/server/integration/**/*.js test/server/utils/enzyme_initializer.js test/server/unit/**/*.js test/server/utils/test_teardown_util.js && cat ./docs/server-coverage/lcov.info | coveralls && rm -rf ./docs/server-coverage/lcov.info .nyc_output",
"client-coverage": "gulp client-coverage; cat docs/client-coverage/lcov.info | codecov",
"analyze-bundle": "source-map-explorer dist/static/js/{}.js dist/static/js/{}.js.map"
},
"pre-commit": [
"test"
],
"dependencies": {
"axios": "0.18.0",
"bluebird": "3.5.1",
"body-parser": "1.18.2",
"bunyan": "1.8.12",
"dotenv": "5.0.0",
"eslint-config-prettier": "2.9.0",
"exenv": "1.2.2",
"express": "4.16.2",
"express-bunyan-logger": "1.3.2",
"express-content-length-validator": "1.0.0",
"express-enforces-ssl": "1.1.0",
"express-graceful-exit": "0.4.1",
"express-session": "1.15.6",
"fontfaceobserver": "2.0.13",
"glob": "7.1.2",
"he": "1.1.1",
"helmet": "3.11.0",
"hiredis": "0.5.0",
"history": "4.7.2",
"hpp": "0.2.2",
"lodash": "4.17.5",
"pretty-error": "2.1.1",
"prop-types": "15.6.0",
"react": "16.2.0",
"react-dom": "16.2.0",
"react-error-boundary": "1.2.1",
"react-helmet": "5.2.0",
"react-loadable": "5.3.1",
"react-redux": "5.0.7",
"react-router": "4.2.0",
"react-router-config": "1.0.0-beta.4",
"react-router-dom": "4.2.2",
"react-router-redux": "5.0.0-alpha.6",
"react-transition-group": "2.2.1",
"redis": "2.8.0",
"redux": "3.7.2",
"redux-thunk": "2.2.0",
"request": "2.83.0",
"require-dir": "1.0.0",
"response-time": "2.3.2",
"scriptjs": "2.5.8",
"serialize-javascript": "1.4.0",
"source-map-support": "0.5.3",
"statuses": "1.4.0",
"uuid": "3.2.1",
"validate.js": "0.12.0",
"validator": "9.4.1"
},
"devDependencies": {
"babel-core": "6.26.0",
"babel-eslint": "8.2.2",
"babel-loader": "7.1.2",
"babel-plugin-dynamic-import-node": "1.2.0",
"babel-plugin-istanbul": "4.1.5",
"babel-plugin-syntax-dynamic-import": "6.18.0",
"babel-plugin-transform-react-jsx-source": "6.22.0",
"babel-preset-env": "1.6.1",
"babel-preset-react": "6.24.1",
"babel-register": "6.26.0",
"babel-runtime": "6.26.0",
"bunyan-prettystream": "0.1.3",
"chai": "4.1.2",
"chai-enzyme": "0.8.0",
"cheerio": "1.0.0-rc.2",
"codecov": "3.0.0",
"coveralls": "3.0.0",
"cross-env": "5.1.3",
"cssnano": "3.10.0",
"del": "3.0.0",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"eslint": "4.18.1",
"eslint-config-airbnb": "16.1.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-jsx-a11y": "6.0.3",
"eslint-plugin-prettier": "2.6.0",
"eslint-plugin-react": "7.7.0",
"font-awesome": "4.7.0",
"foundation-sites": "6.4.4-rc1",
"gulp": "3.9.1",
"gulp-autoprefixer": "4.1.0",
"gulp-aws": "0.0.5",
"gulp-awspublish": "3.3.1",
"gulp-babel": "7.0.1",
"gulp-changed": "3.2.0",
"gulp-esdoc": "0.4.1",
"gulp-eslint": "4.0.2",
"gulp-gzip": "1.4.2",
"gulp-if": "2.0.2",
"gulp-livereload": "3.8.1",
"gulp-mocha": "5.0.0",
"gulp-nodemon": "2.2.1",
"gulp-postcss": "7.0.1",
"gulp-rename": "1.2.2",
"gulp-sass": "3.1.0",
"gulp-shell": "0.6.5",
"gulp-sourcemaps": "2.6.4",
"gulp-stylelint": "6.0.0",
"gulp-svgmin": "1.2.4",
"gulp-tar": "2.1.0",
"gulp-util": "3.0.8",
"gulp-webdriver": "2.0.3",
"jsdom": "11.6.2",
"karma": "2.0.0",
"karma-chai-plugins": "0.9.0",
"karma-chrome-launcher": "2.2.0",
"karma-coverage": "1.1.1",
"karma-mocha": "1.3.0",
"karma-sourcemap-loader": "0.3.7",
"karma-webpack": "2.0.9",
"mocha": "5.0.1",
"mocha.parallel": "0.15.5",
"normalize-scss": "7.0.1",
"nyc": "11.4.1",
"plato": "1.7.0",
"pre-commit": "1.2.2",
"prettier": "1.10.2",
"react-addons-test-utils": "15.6.2",
"react-hot-loader": "3.1.3",
"react-test-renderer": "16.2.0",
"run-sequence": "2.2.1",
"sassdoc": "2.5.0",
"selenium-standalone": "6.12.0",
"sinon": "4.3.0",
"sinon-chai": "2.14.0",
"source-map-explorer": "1.5.0",
"stylelint": "9.0.0",
"stylelint-config-standard": "18.1.0",
"stylelint-order": "0.8.1",
"stylelint-scss": "2.3.0",
"supertest": "3.0.0",
"type-detect": "4.0.8",
"wdio-mocha-framework": "0.5.12",
"wdio-selenium-standalone-service": "0.0.9",
"webdriverio": "4.10.2",
"webpack": "3.11.0",
"webpack-chunk-hash": "0.5.0",
"webpack-common-shake": "1.5.3",
"webpack-dev-server": "2.11.1",
"webpack-manifest-plugin": "1.3.2"
},
"engines": {
"node": "~6.9.0"
},
"nyc": {
"include": [
"src/**/*.js"
],
"exclude": [
"test/**/*.js",
"src/client/**/*.js"
],
"require": [
"babel-register"
],
"reporter": [
"lcov",
"text"
],
"sourceMap": false,
"instrument": false,
"report-dir": "./docs/server-coverage"
}
}