forked from salesforce/refocus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
194 lines (194 loc) · 7.69 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
{
"name": "Refocus",
"description": "The Go-To Platform for Visualizing Service Health",
"engines": {
"node": "8.x",
"npm": "5.x"
},
"license": "BSD-3-Clause",
"main": "index.js",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "https://github.com/Salesforce/refocus.git"
},
"watch": {
"test-view": {
"patterns": [
"view/perspective",
"tests/view/components"
],
"extensions": "js,jsx",
"quiet": true
}
},
"scripts": {
"build": "NODE_ENV=development && webpack --config ./webpack.config.js --progress --profile",
"checkdb": "node db/createOrUpdateDb.js",
"cleanup": "npm run dropdb && npm run initdb && npm run checkdb",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && npm run reset-coverage",
"dropdb": "node db/createOrDropDb.js --drop",
"initdb": "node db/createOrDropDb.js --init",
"jscs": "./node_modules/jscs/bin/jscs *.js api cache clock config db jobQueue migrations realtime tests utils view worker",
"jscs-enforce": "./node_modules/jscs/bin/jscs *.js api cache clock config db jobQueue migrations realtime tests/api tests/cache tests/clock tests/config tests/db tests/disableHttp tests/enableCache tests/enforceToken tests/jobQueue tests/limiter tests/logging tests/realtime tests/utils utils worker",
"lint": "eslint view/admin",
"migratedb": "node db/migrate.js",
"on-release": "npm run checkdb",
"postinstall": "NODE_ENV=production gulp browserifyViews && gulp movecss && node scripts/moveSocket.js",
"prestart": "if-env IS_HEROKU=true && echo 'no prestart needed on heroku' || npm run checkdb",
"rebuildSubjectHierarchy": "node db/rebuildSubjectHierarchy.js",
"report": "istanbul report text-summary lcovonly",
"reset-coverage": "rm -rf ./coverage",
"start": "node index.js",
"start-clock": "node clock/index.js",
"start-worker": "node worker/jobProcessor.js",
"test": "npm run reset-coverage && npm run test-all && npm run report",
"test-all": "npm run test-main && npm run test-extra",
"test-api": "npm run test-with-coverage -- --recursive tests/api",
"test-api-log": "ENABLE_API_ACTIVITY_LOGS=true npm run test-with-coverage -- --recursive tests/api",
"test-cache": "npm run test-cache-jobQueue && npm run test-cache-models && npm run test-cache-misc",
"test-cache-jobQueue": "npm run test-with-coverage -- --recursive tests/cache/jobQueue",
"test-cache-models": "npm run test-with-coverage -- --recursive tests/cache/models",
"test-cache-misc": "npm run test-with-coverage -- tests/cache",
"test-cors": "CORS_ROUTES=/v1/bots,/v1/botActions,/v1/botData,/v1/events,/v1/rooms npm run test-with-coverage -- --recursive tests/cors",
"test-db": "npm run checkdb && npm run test-with-coverage -- --recursive tests/db",
"test-disablehttp": "REQUIRE_HTTPS=true npm run test-with-coverage -- --recursive tests/disableHttp",
"test-extra": "npm run test-api-log && npm run test-cache && npm run test-jobQueue && npm run test-view && npm run test-disablehttp && npm run test-cors && npm run test-limiter && npm run test-xfwd",
"test-jobQueue": "npm run test-with-coverage -- --recursive tests/jobQueue",
"test-limiter": "npm run test-with-coverage -- tests/limiter/limiter.js",
"test-main": "npm run test-with-coverage -- --recursive tests/api tests/clock tests/config tests/db tests/enforceToken tests/realtime tests/enableCache tests/logging",
"test-travis": "npm run test && npm run coveralls",
"test-view": "NODE_ENV=build npm run test-with-coverage -- --recursive --compilers js:babel-core/register --require ./tests/view/setup.js tests/view",
"test-with-coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --report none --print none --include-pid -- -R dot",
"test-xfwd": "REJECT_MULTIPLE_X_FORWARDED_FOR=true npm run test-with-coverage -- --recursive tests/xfwd",
"test-graceful-shutdown": "npm run test-with-coverage -- --recursive tests/kue/setup.js tests/signal",
"undo-migratedb": "node db/migrateUndo.js",
"view": "NODE_ENV=production gulp browserifyViews && npm start",
"watch": "npm-watch"
},
"dependencies": {
"adm-zip": "0.4.7",
"autoprefixer": "^6.0.3",
"babel-core": "^6.26.3",
"babel-eslint": "^6.0.4",
"babel-loader": "6.1.0",
"babel-plugin-react-transform": "^v2.0.0-beta1",
"babel-polyfill": "^6.7.4",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-stage-0": "^6.3.13",
"babel-preset-stage-1": "6.1.2",
"babel-runtime": "^6.11.6",
"babelify": "^7.3.0",
"bcrypt-nodejs": "0.0.3",
"bluebird": "^3.4.7",
"body-parser": "^1.18.3",
"browserify": "^13.0.1",
"camelcase": "4.1.0",
"chai": "^3.4.1",
"chai-as-promised": "^5.1.0",
"command-line-args": "^2.1.6",
"compression": "^1.7.2",
"connect-redis": "^3.0.2",
"cookie-parser": "^1.4.1",
"cors": "^2.8.4",
"debug": "^2.2.0",
"errors": "^0.3.0",
"etag": "^1.8.1",
"event-stream": "^3.3.4",
"express": "^4.16.3",
"express-enforces-ssl": "^1.1.0",
"express-ipfilter": "^0.0.24",
"express-session": "^1.13.0",
"extract-text-webpack-plugin": "^0.8.2",
"feature-toggles": "^1.4.0",
"fs": "0.0.2",
"gulp": "^3.9.0",
"gulp-chmod": "^1.3.0",
"helmet": "^0.15.0",
"html-react-parser": "0.3.5",
"html-webpack-plugin": "^2.16.0",
"if-env": "^1.0.4",
"ioredis": "^3.2.2",
"ip": "^1.1.5",
"joi": "^13.3.0",
"js-beautify": "1.6.14",
"js-yaml": "^3.11.0",
"jscs": "^3.0.7",
"jsdom": "^9.8.3",
"jsonwebtoken": "^5.7.0",
"just-safe-get": "^1.2.1",
"kue": "^0.11.6",
"lodash": "^4.17.10",
"md5": "^2.2.1",
"moment": "^2.22.1",
"multer": "^1.0.3",
"newrelic": "^1.39.1",
"nock": "^3.6.0",
"npm": "^3.10.9",
"npm-watch": "^0.1.6",
"passport": "^0.3.2",
"passport-local": "^1.0.0",
"passport-saml": "^0.15.0",
"path": "^0.11.14",
"pg": "^7.4.3",
"pg-hstore": "^2.3.2",
"pgtools": "0.3.0",
"prop-types": "15.5.10",
"pug": "^2.0.3",
"ratelimiter": "^3.0.3",
"react": "^15.3.1",
"react-addons-css-transition-group": "^15.3.1",
"react-addons-shallow-compare": "^15.3.1",
"react-addons-test-utils": "^15.3.1",
"react-dom": "^15.3.1",
"react-redux": "^4.4.9",
"react-router": "^2.0.1",
"react-router-redux": "^4.0.4",
"react-selectize": "^2.0.0",
"react-test-renderer": "^15.3.1",
"react-transform-catch-errors": "^1.0.0",
"react-transform-hmr": "^1.0.1",
"redis": "^2.4.2",
"redux": "^3.0.5",
"redux-logger": "^2.0.2",
"redux-thunk": "^0.1.0",
"semver-regex": "^1.0.0",
"sequelize": "^4.37.0",
"sequelize-cli": "^4.0.0",
"sequelize-hierarchy": "^1.3.2",
"serialize-javascript": "^1.5.0",
"serve-favicon": "^2.5.0",
"shelljs": "^0.7.5",
"socket.io": "^2.1.1",
"socket.io-client": "^2.1.1",
"stats-webpack-plugin": "^0.2.1",
"superagent": "^3.8.3",
"swagger-tools": "0.10.1",
"throng": "4.0.0",
"uglifyify": "^3.0.4",
"underscore": "^1.9.0",
"validator": "^4.0.2",
"vinyl-source-stream": "^1.1.0",
"webpack": "^1.12.10",
"webpack-hot-middleware": "^2.22.2",
"winston": "^1.1.2"
},
"devDependencies": {
"coveralls": "^2.11.14",
"enzyme": "^2.6.0",
"eslint": "^2.5.3",
"eslint-plugin-react": "^4.2.3",
"eslint_d": "^3.1.0",
"istanbul": "^0.4.5",
"mocha": "^3.1.2",
"mocha-lcov-reporter": "1.2.0",
"redbox-react": "^1.6.0",
"require-dir": "^0.3.2",
"sinon": "^5.0.10",
"supertest": "^3.1.0",
"webpack-dev-middleware": "^1.4.0",
"webpack-dev-server": "^1.12.1"
}
}