-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
package.json
239 lines (239 loc) · 8.81 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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
{
"name": "shields.io",
"version": "0.0.0",
"description": "Shields.io server and frontend",
"private": true,
"keywords": [
"GitHub",
"badge",
"SVG",
"image",
"shields.io"
],
"homepage": "http://shields.io",
"bugs": {
"url": "https://github.com/badges/shields/issues",
"email": "thaddee.tyl@gmail.com"
},
"license": "CC0-1.0",
"author": "Thaddée Tyl <thaddee.tyl@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/badges/shields"
},
"dependencies": {
"camp": "~17.2.2",
"chalk": "^2.4.1",
"check-node-version": "^3.1.0",
"chrome-web-store-item-property": "~1.1.2",
"cross-env": "^5.2.0",
"emojic": "^1.1.15",
"escape-string-regexp": "^1.0.5",
"fast-xml-parser": "^3.12.11",
"fsos": "^1.1.3",
"gh-badges": "file:gh-badges",
"glob": "^7.1.1",
"is-css-color": "^1.0.0",
"joi": "14.3.1",
"js-yaml": "^3.11.0",
"jsonpath": "~1.0.0",
"lodash.countby": "^4.6.0",
"lodash.mapkeys": "^4.6.0",
"lodash.throttle": "^4.1.1",
"lodash.times": "^4.3.2",
"moment": "^2.23.0",
"node-env-flag": "^0.1.0",
"path-to-regexp": "pillarjs/path-to-regexp#a33e7b7a5225ff7d301961a89439e9874674cbfa",
"pretty-bytes": "^5.0.0",
"priorityqueuejs": "^1.0.0",
"prom-client": "^11.2.1",
"query-string": "^6.0.0",
"raven": "^2.4.2",
"redis": "~2.8.0",
"request": "~2.88.0",
"semver": "~5.6.0",
"simple-icons": "1.9.17",
"xml2js": "~0.4.16",
"xmldom": "~0.1.27",
"xpath": "~0.0.27"
},
"scripts": {
"coverage:test:server": "nyc npm run test:server",
"coverage:test:frontend": "nyc --nycrc-path .nycrc-frontend.json npm run test:frontend",
"coverage:test:package": "nyc npm run test:package",
"coverage:test:entrypoint": "nyc npm run test:entrypoint",
"coverage:test:integration": "nyc npm run test:integration",
"coverage:test:services": "nyc npm run test:services",
"coverage:clean": "rimraf .nyc_output coverage",
"precoverage:test": "run-s --silent coverage:clean defs features",
"coverage:test": "run-s --silent --continue-on-error coverage:test:server coverage:test:package coverage:test:entrypoint coverage:test:frontend coverage:test:integration",
"coverage:report:generate": "nyc report",
"coverage:report:open": "opn coverage/lcov-report/index.html",
"coverage:report": "run-s --silent coverage:report:generate coverage:report:open",
"lint": "eslint \"**/*.js\"",
"prettier": "prettier --write \"**/*.js\"",
"prettier-check": "prettier-check \"**/*.js\"",
"danger": "danger",
"test:js:server": "echo \"Deprecated; run `npm run test:server` instead.\" && npm run test:server",
"test:js:frontend": "echo \"Deprecated; run `npm run test:frontend` instead.\" && npm run test:frontend",
"test:js:package": "echo \"Deprecated; run `npm run test:package` instead.\" && npm run test:package",
"test:frontend": "cross-env BABEL_ENV=test mocha --opts mocha.opts --require @babel/polyfill --require @babel/register --require mocha-yaml-loader \"frontend/**/*.spec.js\"",
"test:server": "cross-env HANDLE_INTERNAL_ERRORS=false mocha --opts mocha.opts \"lib/**/*.spec.js\" \"services/**/*.spec.js\"",
"test:package": "mocha --opts mocha.opts \"gh-badges/**/*.spec.js\"",
"test:entrypoint": "mocha --opts mocha.opts entrypoint.spec.js",
"test:integration": "mocha --opts mocha.opts \"lib/**/*.integration.js\" \"services/**/*.integration.js\"",
"test:services": "cross-env HANDLE_INTERNAL_ERRORS=false mocha --opts mocha.opts --delay lib/service-test-runner/cli.js",
"test:services:trace": "cross-env TRACE_SERVICES=true npm run test:services -- $*",
"test:services:pr:prepare": "node lib/service-test-runner/pull-request-services-cli.js > pull-request-services.log",
"test:services:pr:run": "cross-env HANDLE_INTERNAL_ERRORS=false mocha --opts mocha.opts --delay lib/service-test-runner/cli.js --stdin < pull-request-services.log",
"test:services:pr": "run-s --silent test:services:pr:prepare test:services:pr:run",
"pretest": "run-s --silent defs features",
"test": "run-s --silent --continue-on-error lint test:frontend test:package test:server test:entrypoint prettier-check",
"depcheck": "check-node-version --node \">= 8.0\"",
"postinstall": "run-s --silent depcheck",
"prebuild": "run-s --silent depcheck",
"features": "node scripts/export-supported-features-cli.js > supported-features.json",
"defs": "node scripts/export-service-definitions-cli.js > service-definitions.yml",
"build": "run-s --silent defs features && cross-env BABEL_ENV=dev-prod next build && cross-env BABEL_ENV=dev-prod next export -o build/",
"heroku-postbuild": "run-s --silent build",
"analyze": "cross-env ANALYZE=true LONG_CACHE=false BASE_URL=https://img.shields.io npm run build",
"start:server": "cross-env HANDLE_INTERNAL_ERRORS=false RATE_LIMIT=false node server 8080 ::",
"now-start": "node server",
"heroku-start": "node scripts/export-heroku-secrets-cli.js && node server",
"prestart": "run-s --silent depcheck defs features",
"start": "concurrently --names server,frontend \"cross-env ALLOWED_ORIGIN=http://localhost:3000 npm run start:server\" \"cross-env BASE_URL=http://[::]:8080 BABEL_ENV=dev-prod next dev\"",
"refactoring-report": "node scripts/refactoring-cli.js"
},
"lint-staged": {
"**/*.js": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.2.3",
"@babel/register": "7.0.0",
"@mapbox/react-click-to-select": "^2.2.0",
"babel-eslint": "^10.0.0",
"babel-plugin-istanbul": "^5.1.0",
"caller": "^1.0.1",
"chai": "^4.1.2",
"chai-datetime": "^1.5.0",
"chai-enzyme": "^1.0.0-beta.1",
"chai-string": "^1.4.0",
"chainsmoker": "^0.1.0",
"child-process-promise": "^2.2.1",
"concurrently": "^4.1.0",
"danger": "^7.0.1",
"danger-plugin-no-test-shortcuts": "^2.0.0",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"eol": "^0.9.1",
"eslint": "^5.11.1",
"eslint-config-prettier": "^3.0.1",
"eslint-config-standard": "^12.0.0",
"eslint-config-standard-jsx": "^6.0.2",
"eslint-config-standard-react": "^7.0.2",
"eslint-plugin-chai-friendly": "^0.4.1",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-mocha": "^5.1.0",
"eslint-plugin-no-extension-in-require": "^0.2.0",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-promise": "^4.0.0",
"eslint-plugin-react": "^7.12.2",
"eslint-plugin-standard": "^4.0.0",
"fetch-ponyfill": "^6.0.0",
"fs-readfile-promise": "^3.0.1",
"got": "^9.5.0",
"husky": "^1.3.1",
"icedfrisby": "2.0.0-alpha.2",
"icedfrisby-nock": "^1.1.0",
"is-png": "^1.1.0",
"is-svg": "^3.0.0",
"joi-extension-semver": "2.0.0",
"js-yaml-loader": "^1.0.1",
"lint-staged": "^8.1.0",
"lodash.debounce": "^4.0.8",
"lodash.difference": "^4.5.0",
"lodash.groupby": "^4.6.0",
"lodash.mapvalues": "^4.6.0",
"minimist": "^1.2.0",
"mkdirp": "^0.5.1",
"mocha": "^5.0.0",
"mocha-env-reporter": "^3.0.0",
"mocha-junit-reporter": "^1.18.0",
"mocha-yaml-loader": "^1.0.3",
"next": "^7.0.2",
"nock": "11.0.0-beta.3",
"node-fetch": "^2.3.0",
"node-mocks-http": "^1.7.3",
"npm-run-all": "^4.1.5",
"nyc": "^13.0.1",
"opn-cli": "^4.0.0",
"portfinder": "^1.0.20",
"prettier": "1.15.3",
"prettier-check": "^2.0.0",
"pretty": "^2.0.0",
"prop-types": "^15.6.0",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-modal": "^3.8.1",
"react-router-dom": "^4.3.1",
"read-all-stdin-sync": "^1.0.5",
"redis-server": "^1.2.2",
"rimraf": "^2.6.3",
"sazerac": "^0.4.2",
"sinon": "^7.2.2",
"sinon-chai": "^3.3.0",
"snap-shot-it": "^6.2.8",
"styled-components": "^4.1.3",
"tmp": "0.0.33",
"url": "^0.11.0"
},
"engines": {
"node": ">= 8",
"npm": ">= 5"
},
"babel": {
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread"
],
"env": {
"dev-prod": {
"presets": [
"next/babel"
]
},
"test": {
"plugins": [
"istanbul"
],
"presets": [
"@babel/preset-env",
[
"@babel/preset-react",
{
"development": true
}
]
]
}
}
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/shields",
"logo": "https://opencollective.com/opencollective/logo.txt"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}