forked from razee-io/Razeedash-api
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
130 lines (130 loc) · 5.93 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
{
"name": "razeedash-api",
"version": "0.0.0-dev",
"description": "API for razeedash and graphql",
"license": "Apache-2.0",
"main": "app/index.js",
"repository": "https://github.com/razee-io/Razeedash-api",
"scripts": {
"start": "node app/index.js",
"dev": "nodemon -r dotenv/config app/index.js",
"local": "export AUTH_MODEL=local; nodemon app/index.js",
"start:mon": "nodemon app/index.js",
"start:debug": "node --inspect-brk app/index.js",
"test": "export NODE_ENV=unit-test; export COS_SDK='mock-aws-s3'; nyc --all --exclude=**/*.tests.js --exclude=**/*.spec.js --exclude=app/apollo/**/*.js --exclude=coverage/* --reporter=html --reporter=text mocha '**/*.tests.js'",
"test:apollo": "export NODE_ENV=test; nyc --exclude=**/*.spec.js --reporter=html --reporter=text mocha --timeout 15000 --exit 'app/apollo/test/*.spec.js'",
"test:apollo:default": "export AUTH_MODEL=default; export NODE_ENV=test; nyc --exclude=**/*.spec.js --reporter=html --reporter=text mocha --timeout 15000 'app/apollo/test/*.default.spec.js'",
"test:apollo:local": "export AUTH_MODEL=local; export NODE_ENV=test; export CHANNEL_MAX_TOTAL_LIMIT=4; export CHANNEL_VERSION_MAX_TOTAL_LIMIT=4; export CLUSTER_MAX_TOTAL_LIMIT=3; export SUBSCRIPTION_MAX_TOTAL_LIMIT=4; nyc --exclude=**/*.spec.js --reporter=html --reporter=text mocha --timeout 15000 'app/apollo/test/*.spec.js'",
"test:apollo:extauthtest": "export AUTH_MODEL=extauthtest; export EXTERNAL_AUTH_MODELS=\"{ \\\"extauthtest\\\": { \\\"testPath\\\": \\\"$(pwd)/app/apollo/test/testHelper.extauthtest.js\\\", \\\"testDataPath\\\": \\\"$(pwd)/app/apollo/test/data/local\\\", \\\"classPath\\\": \\\"$(pwd)/app/apollo/test/externalAuth/auth_local.js\\\", \\\"schemaPath\\\": \\\"$(pwd)/app/apollo/test/externalAuth/user.local.schema.js\\\", \\\"initPath\\\": \\\"$(pwd)/app/apollo/test/externalAuth/init.local.js\\\", \\\"orgPath\\\": \\\"$(pwd)/app/apollo/test/externalAuth/organization.local.schema.js\\\" } }\"; export NODE_ENV=test; export CHANNEL_MAX_TOTAL_LIMIT=4; export CHANNEL_VERSION_MAX_TOTAL_LIMIT=4; export CLUSTER_MAX_TOTAL_LIMIT=2; export SUBSCRIPTION_MAX_TOTAL_LIMIT=4; nyc --exclude=**/*.spec.js --reporter=html --reporter=text mocha --timeout 15000 'app/apollo/test/*.spec.js'",
"test:apollo:passport.local": "export AUTH_MODEL=passport.local; export NODE_ENV=test; export CHANNEL_MAX_TOTAL_LIMIT=4; export CHANNEL_VERSION_MAX_TOTAL_LIMIT=4; export CLUSTER_MAX_TOTAL_LIMIT=2; export SUBSCRIPTION_MAX_TOTAL_LIMIT=4; nyc --exclude=**/*.spec.js --reporter=html --reporter=text mocha --timeout 15000 'app/apollo/test/*.spec.js'",
"wait-mongo": "node app/wait-mongo.js",
"lint": "npm-run-all i18n eslint yamllint dockerlint markdownlint jsonlint shellcheck",
"eslint": "npx eslint app/",
"yamllint": "npx yamllint .travis.yml kubernetes/razeedash-api/resource.yaml",
"dockerlint": "npx dockerlint Dockerfile",
"markdownlint": "npx markdownlint README.md docs/",
"jsonlint": "npx jsonlint --quiet build/viewTemplate.json",
"shellcheck": "npx shellcheck build/*.sh",
"i18n": "node gulpfile.js --namespace 'razee' --files './app/*(apollo)/**/*.*'"
},
"keywords": [],
"author": "",
"contributors": [],
"resolutions": {
"fs-capacitor": "^6.2.0"
},
"overrides-info": [
"Force update make-dir from 3.1.0 to 4.0.0, in node-pre-gyp 1.0.10, to resolve semver dependency. 4.0.0 is breaking as it requires Node >= 10, which is not a problem."
],
"overrides": {
"@mapbox/[email protected]": {
"make-dir": "^4.0.0"
}
},
"dependencies": {
"@graphql-tools/schema": "^8.5.1",
"apollo-metrics": "^1.0.1",
"apollo-server": "^3.13.0",
"apollo-server-express": "^3.13.0",
"args": "^5.0.3",
"aws-sdk": "^2.1574.0",
"axios": "^1.6.7",
"bcrypt": "^5.1.1",
"body-parser": "^1.20.2",
"clone": "^2.1.2",
"compression": "^1.7.4",
"config": "^3.3.11",
"crypto-js": "^4.2.0",
"delay": "^5.0.0",
"express": "^4.18.3",
"express-async-handler": "^1.2.0",
"express-mongo-sanitize": "^2.2.0",
"express-request-id": "^1.4.1",
"fs-readfile-promise": "^3.0.1",
"glob": "^7.1.6",
"glob-promise": "^4.2.2",
"graphql": "^16.8.1",
"graphql-fields": "^2.0.3",
"graphql-iso-date": "^3.6.1",
"graphql-passport": "^0.6.5",
"graphql-redis-subscriptions": "^2.6.0",
"graphql-subscriptions": "^2.0.0",
"graphql-tag": "^2.12.6",
"graphql-type-json": "^0.3.2",
"graphql-upload": "^15.0.2",
"i18next": "^21.10.0",
"i18next-fs-backend": "^1.2.0",
"i18next-http-middleware": "^3.5.0",
"ioredis": "^4.27.1",
"is-port-reachable": "^3.0.0",
"js-yaml": "^3.14.0",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"moment": "^2.30.1",
"mongodb": "^3.6.5",
"mongoose": "^6.11.0",
"mongoose-lean-defaults": "2.2.1",
"mongoose-lean-virtuals": "^0.8.1",
"mustache": "^4.2.0",
"object-hash": "^2.1.1",
"object-path": "^0.11.5",
"p-limit": "^3.1.0",
"passport": "^0.6.0",
"pino": "^8.19.0",
"pino-http": "^9.0.0",
"prom-client": "^14.2.0",
"stream-to-string": "^1.2.1",
"subscriptions-transport-ws": "^0.11.0",
"swagger-ui-express": "^4.6.2",
"uuid": "^8.3.2",
"validator": "^13.11.0",
"ws": "^7.5.9"
},
"devDependencies": {
"chai": "^4.3.7",
"del": "^6.0.0",
"dockerlint": "^0.3.9",
"dotenv": "^8.2.0",
"eslint": "^7.32.0",
"gulp": "^4.0.2",
"gulp-if": "^3.0.0",
"gulp-json-editor": "^2.6.0",
"i18next-parser": "^5.1.0",
"ioredis-mock": "^5.5.5",
"markdownlint-cli": "^0.31.1",
"mocha": "^9.0.1",
"mock-aws-s3": "^4.0.2",
"mongo-mock": "^4.2.0",
"mongodb-memory-server": "^8.12.2",
"nock": "^13.5.4",
"node-mocks-http": "^1.14.1",
"nodemon": "^2.0.22",
"npm-check-updates": "^11.3.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"rewire": "^6.0.0",
"sinon": "^11.1.1",
"stream-buffers": "^3.0.2",
"yaml-lint": "^1.7.0"
}
}