-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
326 lines (326 loc) · 13.4 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
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
{
"name": "quantimodo-ionic-template-app",
"repository": {
"type": "git",
"url": "/~https://github.com/QuantiModo/quantimodo-android-chrome-ios-web-app.git"
},
"version": "1.0.0",
"description": "Perfect your life!",
"devDependencies": {
"@angular/core": "latest",
"@bahmutov/print-env": "1.2.1",
"@capacitor/cli": "2.4.7",
"@commitlint/cli": "8.3.5",
"@commitlint/config-conventional": "8.3.4",
"@ionic/v1-toolkit": "3.2.15",
"@slack/types": "1.9.0",
"@slack/webhook": "5.0.3",
"angular": "latest",
"aws-sdk": "2.948.0",
"aws-sdk-mock": "4.5.0",
"beautify": "0.0.8",
"chai": "4.3.4",
"cheerio": "1.0.0-rc.10",
"compromise": "12.3.0",
"cordova-ios-plugin-no-export-compliance": "0.0.6",
"cordova-plugin-appsettings": "1.0.2",
"cordova-plugin-datepicker": "0.9.3",
"cordova-plugin-device": "2.0.3",
"cordova-plugin-inappbrowser": "4.1.0",
"cordova-plugin-inapppurchase": "1.2.0",
"cordova-plugin-splashscreen": "6.0.0",
"cordova-plugin-statusbar": "2.4.3",
"cordova-plugin-whitelist": "1.3.5",
"cordova-plugin-x-socialsharing": "6.0.3",
"coveralls": "3.1.1",
"cross-env": "6.0.3",
"cypress": "^8.3.1",
"cypress-cucumber-preprocessor": "4.2.0",
"cypress-failed-log": "2.9.2",
"cypress-intellij-reporter": "0.0.6",
"cypress-junit-reporter": "1.3.1",
"cypress-multi-reporters": "1.5.0",
"cypress-slack-reporter": "0.5.7",
"de.appplant.cordova.plugin.local-notification": "git+/~https://github.com/katzer/cordova-plugin-local-notifications.git#744d8ac0165d54e92eb6ae64c76db32fe0556cda",
"download-file": "0.1.5",
"eslint": "5.16.0",
"eslint-config-standard": "16.0.2",
"eslint-plugin-cypress": "2.7.0",
"eslint-plugin-cypress-dev": "2.1.0",
"eslint-plugin-mocha": "9.0.0",
"expect.js": "0.3.1",
"form-data": "3.0.0",
"fs-extra": "8.1.0",
"ghost-inspector": "4.0.1",
"git-repo-name": "1.0.1",
"husky": "7.0.1",
"ionic-plugin-keyboard": "2.2.1",
"jasmine": "3.8.0",
"js-beautify": "1.14.0",
"lint-staged": "9.4.3",
"mocha": "9.1.1",
"mocha-junit-reporter": "1.23.3",
"mocha-junit-reporters": "1.23.6",
"mocha-multi-reporters": "1.5.1",
"mochawesome": "4.1.0",
"mochawesome-merge": "2.1.0",
"mochawesome-report-generator": "4.0.1",
"openapi-typescript-codegen": "0.9.3",
"pkg-fetch": "3.2.2",
"power-assert": "1.6.1",
"prettier": "1.19.1",
"rewire": "5.0.0",
"rimraf": "3.0.0",
"semantic-release": "17.4.4",
"shx": "0.3.3",
"sinon-chrome": "3.0.1",
"stop-only": "3.1.0",
"swagger-js-codegen": "1.13.0",
"swagger-ts-generator": "1.2.6",
"ts-loader": "6.2.1",
"tslint": "5.20.1",
"underscore.string": "3.3.5",
"yaml-lint": "1.2.4"
},
"dependencies": {
"@bugsnag/js": "7.10.5",
"@bugsnag/plugin-express": "7.10.0",
"@capacitor/core": "2.4.7",
"@octokit/rest": "16.35.2",
"@types/angular": "latest",
"@types/app-root-path": "1.2.4",
"@types/bluebird": "3.5.36",
"@types/chai": "4.2.20",
"@types/dotenv": "6.1.1",
"@types/gulp": "4.0.7",
"@types/mime": "2.0.3",
"@types/mocha": "9.0.0",
"@types/node": "10.17.56",
"@types/node-fetch": "2.5.10",
"@types/q": "1.5.4",
"@types/remote-origin-url": "2.0.0",
"@types/rimraf": "2.0.5",
"@types/underscore.string": "0.0.38",
"ansi-colors": "4.1.1",
"api": "^4.2.1",
"app-root-path": "3.0.0",
"async": "2.6.4",
"body-parser": "1.19.0",
"bower": "1.8.12",
"bugsnag": "2.4.3",
"bugsnag-sourcemaps": "1.3.0",
"cordova-ios": "6.2.0",
"cordova-plugin-compat": "1.2.0",
"cordova-plugin-drawoverapps": "git+/~https://github.com/mikepsinn/cordova-plugin-drawoverapps.git#37813e845f8309edc339d847b0ea653032b8f748",
"cordova-plugin-googleplus": "8.4.0",
"dotenv": "10.0.0",
"es6-promise-plugin": "4.2.2",
"event-stream": "4.0.1",
"express": "4.17.1",
"gulp": "3.9.1",
"gulp-angular-templatecache": "3.0.0",
"gulp-change": "1.0.2",
"gulp-concat": "2.6.1",
"gulp-csso": "3.0.1",
"gulp-download": "0.0.1",
"gulp-download-stream": "0.0.19",
"gulp-endpoint": "mikepsinn/gulp-endpoint",
"gulp-eslint": "6.0.0",
"gulp-filter": "6.0.0",
"gulp-gh-pages-will": "0.5.5",
"gulp-git": "2.10.1",
"gulp-github": "/~https://github.com/mikepsinn/gulp-github.git#5d5ec40d17056e0ab86209197ba3e2b79ee2e9d3",
"gulp-gitmodified": "1.2.0",
"gulp-if-else": "1.0.3",
"gulp-jscs": "4.1.0",
"gulp-jshint": "2.1.0",
"gulp-json-editor": "2.5.6",
"gulp-minify-css": "1.2.4",
"gulp-ng-annotate": "2.1.0",
"gulp-open": "3.0.1",
"gulp-rename": "1.4.0",
"gulp-rev": "9.0.0",
"gulp-rev-replace": "0.4.4",
"gulp-rimraf": "1.0.0",
"gulp-run": "1.7.1",
"gulp-s3-upload": "1.7.3",
"gulp-sass": "3.2.1",
"gulp-shell": "0.8.0",
"gulp-sourcemaps": "3.0.0",
"gulp-streamify": "1.0.2",
"gulp-string-replace": "1.1.2",
"gulp-typescript": "5.0.1",
"gulp-uglify": "3.0.2",
"gulp-unzip": "1.1.0",
"gulp-useref": "3.1.6",
"gulp-util": "3.0.8",
"gulp-watch": "5.0.1",
"gulp-zip": "5.1.0",
"inquirer": "7.3.3",
"ionic": "2.2.3",
"jshint": "2.13.0",
"lazypipe": "1.0.2",
"mime": "2.4.6",
"morgan": "1.10.0",
"ng-material-floating-button": "0.6.2",
"node-fetch": "2.6.1",
"path": "0.12.7",
"plist": "3.0.4",
"pump": "3.0.0",
"q": "1.5.1",
"quantimodo": "5.12.0",
"request": "2.88.2",
"request-promise": "4.2.6",
"run-sequence": "2.2.1",
"shelljs": "0.8.4",
"simple-git": "3.3.0",
"superagent": "6.1.0",
"sw-precache": "5.2.1",
"sweetalert2": "10.16.9",
"taco-team-build": "0.2.5",
"time-require": "0.1.2",
"ts-node": "10.0.0",
"typescript": "3.9.10",
"vinyl-source-stream": "2.0.0",
"xcode": "3.0.1",
"xml2js": "0.4.23",
"yargs": "15.0.2"
},
"eslintConfig": {
"env": {
"browser": true,
"node": true,
"es6": true
}
},
"jscsConfig": {
"preset": "google",
"requireCurlyBraces": null
},
"scripts": {
"install:global:packages": "nvm install 10.24.1 && nvm use 10.24.1 && npm install -g gulp bower ionic",
"serve": "ionic serve src",
"cy:open:development": "cypress install && cypress open --config-file cypress/config/cypress.development.json",
"cy:open:localhost": "cypress install && cypress open --config-file cypress/config/cypress.localhost.json",
"cy:open:ionic": "cypress open --config-file cypress/config/cypress.ionic.json",
"bower": "bower install --allow-root --quiet",
"build": "bower install --allow-root --quiet && gulp configureAppAfterNpmInstall && npm run types",
"ci": "npm run test",
"circle": "npm run lint && npm run test:ci && make test && npm run pre-publish",
"compile": "npm run types",
"configure:app": "npm run types:ts && npm run bower && gulp configureAppAfterNpmInstall",
"coverage": "nyc -r text -e .ts -x \"tests/*.test.ts\" npm run test",
"cy:chrome": "cypress run --browser chrome",
"cy:heroku-test-setup": "whoami && node -e 'console.log(process.geteuid())' && npx cypress install && npx cypress cache path && npx cypress cache list && npx cypress verify",
"cy:open": "cypress open --config-file cypress.json",
"cy:open:production": "cypress open --config-file cypress/config/cypress.production.json",
"cy:open:staging": "cypress install && cypress open --config-file cypress/config/cypress.staging.json",
"cy:record": "cypress run --record",
"cy:record:measurements:ionic": "cypress run --record --key 64dd30de-4365-4699-85fe-e3be5e95da65 --config-file cypress/config/cypress.ionic.json --spec cypress/integration/ionic_measurements_spec.js",
"cy:record:measurements:production": "cypress run --record --key 64dd30de-4365-4699-85fe-e3be5e95da65 --config-file cypress/config/cypress.production.json --spec cypress/integration/ionic_measurements_spec.js",
"cy:record:parallel": "cypress run --record --parallel",
"cy:record:production": "cypress run --record --key 64dd30de-4365-4699-85fe-e3be5e95da65 --config-file cypress/config/cypress.production.json",
"cy:record:staging": "cypress run --record --key 64dd30de-4365-4699-85fe-e3be5e95da65 --config-file cypress/config/cypress.staging.json",
"cy:report:delete": "shx rm cypress/reports/*.json",
"cy:report:mochawesome:generate": "npx mochawesome-report-generator cypress/reports/mocha/mochawesome.json --charts true --showPassed true --autoOpen true --cdn true --reportDir cypress/reports/mocha",
"cy:report:mochawesome:merge": "npx mochawesome-merge --reportDir cypress/reports/mocha > cypress/reports/mocha/mochawesome.json",
"cy:report:slack": "npx ts-node cypress/reports/cypress-slack-reporter.ts",
"cy:run": "npx ts-node cypress/cypress-runner.ts",
"cy:run:development": "cypress run --browser chrome --config-file cypress/config/cypress.development.json && npm run report:slack",
"cy:run:localhost": "cypress run --browser chrome --config-file cypress/config/cypress.localhost.json && npm run report:slack",
"cy:run:docs": "cypress run --spec cypress/integration/docs_spec.js",
"cy:run:onboarding:ionic": "cypress run --config-file cypress/config/cypress.ionic.json --spec cypress/integration/ionic_onboarding_spec.js",
"cy:run:measurements:ionic": "cypress run --config-file cypress/config/cypress.ionic.json --spec cypress/integration/ionic_measurements_spec.js",
"cy:run:production": "cypress run --browser chrome --config-file cypress/config/cypress.production.json && npm run report:slack",
"cy:run:staging": "cypress run --browser chrome --config-file cypress/config/cypress.staging.json && npm run report:slack",
"cy:run:wordpress": "cypress run --spec cypress/integration/wordpress_spec.js",
"cy:verify": "cypress verify",
"cy:version": "cypress version",
"deploy:prepare": "./scripts/create_npmrc_file.sh",
"effective:config": "circleci config process circle.yml | sed /^#/d",
"git:pre:commit": "npm run lint:fix && npm run types && npm run test:mocha",
"git:delete-feature-branches": "git branch | grep \"/feature\" | xargs git branch -D",
"heroku-deploy": "git push git@heroku.com:medimodo.git HEAD:master -f",
"heroku-postbuild": "npm run configure:app",
"heroku-prebuild": "echo This runs before Heroku installs your dependencies.",
"heroku-push": "git push git@heroku.com:medimodo.git HEAD:master -f",
"heroku-test": "whoami && node -e 'console.log(process.geteuid())' && npm run ci:set-port && npm run test:ci:record",
"lint": "npm run lint:es && npm run lint:ts && npm run lint:yaml",
"lint:es": "eslint .",
"lint:es-fix": "eslint . --fix",
"lint:fix": "npm run lint:es-fix && npm run lint:ts-fix",
"lint:ts": "cd ts && tslint --project .",
"lint:ts-fix": "cd ts && tslint --project . --fix",
"lint:yaml": "yamllint '*.yml' 'basic/*.yml' .buildkite/pipeline.yml .semaphore/semaphore.yml '.github/workflows/*.yml'",
"preinstall": "echo \"STARTING npm install\"",
"postinstall": "echo \"DONE WITH npm install\"",
"print-env": "print-env",
"pull-develop": "bash scripts/git-pull-develop.sh",
"release": "npx semantic-release",
"report": "npm run report:mochawesome && npm run report:slack",
"report:mochawesome": "npm run mochawesome:merge && npm run mochawesome:generate",
"semantic-release": "semantic-release",
"ship-it": "npm run pre-publish && npm publish",
"start": "node app.js",
"start:ci": "serve --no-clipboard --listen ${PORT:-8080}",
"test": "npm run test:mocha && npm run cy:run && npm run test:ghostinspector",
"test:ghostinspector": "npx ts-node ts/gi-runner.ts",
"test:mocha": "mocha tests/mocha/**/*.test.js",
"test:mocha:ts": "mocha -r ts-node/register tests/mocha/**/*.test.ts",
"types": "npm run types:cypress && npm run types:ts",
"types:cypress": "cd cypress && tsc",
"types:ts": "cd ts && tsc",
"up": "docker-compose up --abort-on-container-exit --exit-code-from e2e",
"watch": "tsc --watch --noEmit --project ./ts/tsconfig.json",
"openapi": "npx openapi-typescript-codegen --input ./docs/open-api-v3.yaml --output ./src/api"
},
"cordovaPlugins": [],
"cordovaPlatforms": [
{
"platform": "android",
"version": "8.0.0",
"locator": "android@8.0.0"
},
{
"platform": "ios",
"version": "4.4.0",
"locator": "ios@4.4.0"
}
],
"resolutions": {
"set-value": "2.0.1",
"braces": "2.3.2",
"handlebars": "4.3.5"
},
"cordova": {
"platforms": [
"ios",
"android"
],
"plugins": {
"cordova-ios-plugin-no-export-compliance": {},
"cordova-plugin-datepicker": {},
"cordova-plugin-device": {},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-inapppurchase": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-whitelist": {},
"cordova-plugin-x-socialsharing": {},
"de.appplant.cordova.plugin.local-notification": {},
"ionic-plugin-keyboard": {},
"cordova-plugin-googleplus": {
"REVERSED_CLIENT_ID": "com.googleusercontent.apps.1052648855194-9cv6lr7d617fu6b95gutkc7gvdubb8gl",
"PLAY_SERVICES_VERSION": "11.8.0"
},
"cordova-plugin-appsettings": {},
"cordova-plugin-drawoverapps": {}
}
},
"husky": {
"hooks": {
"pre-commit": "exit 0 && cd ts && tsc --noEmit",
"pre-push": ""
}
}
}