-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
138 lines (138 loc) · 5.32 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
{
"name": "f5-cloud-failover",
"version": "2.1.3",
"author": "F5 Networks",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/F5Networks/f5-cloud-failover.git"
},
"scripts": {
"audit": "npm audit --production --json > .auditReport.json; node scripts/auditProcessor.js",
"install-production": "npm install --production --no-optional --unsafe-perm",
"lint": "eslint src test specs scripts",
"test-only": "mocha --recursive \"./test/unit/**/*.js\"",
"test-only-node-4": "mocha --recursive \"./test/unit/**/*.js\" --exclude ./test/unit/providers/gcpProviderTests.js --exclude ./test/unit/providers/cloudFactoryTests.js --timeout 300000",
"test": "nyc --use-spawn-wrap npm run test-only",
"check": "nyc check-coverage",
"report": "nyc report --reporter=html",
"functional-test": "mocha --recursive --full-trace \"./test/functional/tests/testRunner.js\"",
"deployment-create": "deployment-tool create ${NAMESPACE} --plan ${CF_ENV_CLOUD}",
"deployment-delete": "deployment-tool delete ${NAMESPACE}",
"deployment-info": "deployment-tool plans describe ${CF_ENV_CLOUD}",
"deployment-show": "deployment-tool describe ${NAMESPACE}",
"deployment-setup": "bash scripts/build_rpm.sh && npm run deployment-create && npm run functional-test",
"build-rpm": "bash scripts/build_rpm.sh",
"make-docs": "make html",
"make-api-docs": "redoc-cli bundle specs/openapi.yaml",
"preinstall": "npx npm-force-resolutions",
"validate-api": "export CF_ENV_HOST=$(cat deployment_info.json | jq '.instances[] | select(.primary == true) | .mgmt_address' -r); export CF_ENV_PORT=$(cat deployment_info.json | jq '.instances[] | select(.primary == true) | .mgmt_port' -r); export CF_ENV_USER=$(cat deployment_info.json | jq '.instances[] | select(.primary == true) | .admin_username' -r); export CF_ENV_PWD=$(cat deployment_info.json | jq '.instances[] | select(.primary == true) | .admin_password' -r); export NODE_TLS_REJECT_UNAUTHORIZED=0; dredd specs/openapi.yaml https://${CF_ENV_HOST}:${CF_ENV_PORT}/mgmt/shared/cloud-failover --user ${CF_ENV_USER}:${CF_ENV_PWD} --sorted --hookfiles=specs/hooks.js --logLevel debug --method GET",
"make-postman-collection": "openapi2postmanv2 -s specs/openapi.yaml -o examples/postmanCollection.json -p; npm run postprocess-postman-collection",
"postprocess-postman-collection": "node scripts/postmanCollectionParser.js"
},
"nyc": {
"check-coverage": true,
"lines": 80,
"functions": 80,
"branches": 80,
"statements": 80,
"reporter": [
"html",
"text",
"lcov"
],
"cache": false
},
"resolutions": {
"google-p12-pem": "^2.0.5",
"gcp-metadata": "^3.5.0",
"node-forge": "^1.3.0",
"json-bigint": "^1.0.0",
"ansi-regex": "^4.1.1",
"minimist": "^1.2.6",
"moment": "^2.29.2",
"tough-cookie": "^4.1.3"
},
"dependencies": {
"@f5devcentral/f5-cloud-libs": "4.14.0",
"@f5devcentral/f5-teem": "1.5.0",
"ajv": "^6.10.0",
"aws4": "^1.12.0",
"axios": "^0.21.4",
"commander": "^2.19.0",
"cruftless": "^1.2.1",
"form-data": "^4.0.0",
"get-user-locale": "^1.4.0",
"hooks": "^0.3.2",
"https-proxy-agent": "3.0.1",
"ip-address": "^6.2.0",
"ipaddr.js": "^1.7.0",
"jsonschema": "^1.2.5",
"uuid": "^3.3.2"
},
"devDependencies": {
"aws-sdk": "^2.1034.0",
"@azure/arm-network": "^14.0.0",
"@azure/ms-rest-nodeauth": "^3.0.8",
"@f5devcentral/eslint-config-f5-atg": "^0.1.5",
"acorn": "^6.4.1",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.17.3",
"googleapis": "^60.0.1",
"gtoken": "5.0.3",
"icrdk": "https://github.com/f5devcentral/f5-icontrollx-dev-kit#master",
"mocha": "^7.2.0",
"mustache": "^3.0.1",
"nock": "^9.6.1",
"nyc": "^15.1.0",
"request": "^2.83.0",
"sinon": "7.4.1",
"ssh2": "^0.8.2",
"yargs": "^15.4.0"
},
"optionalDependencies": {
"dredd": "^11.2.15",
"mermaid.cli": "^0.5.1",
"openapi-to-postmanv2": "0.0.16",
"redoc": "^2.0.0-rc.10",
"redoc-cli": "^0.8.5"
},
"eslintConfig": {
"extends": "@f5devcentral/eslint-config-f5-atg",
"rules": {
"max-classes-per-file": "off",
"func-names": "off",
"import/extensions": "off",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
]
}
},
"mocha": {
"timeout": 300000,
"bail": false
},
"auditProcessor": {
"allowlist": [
"1094762",
"1094220",
"1089556",
"1091573",
"1094889",
"1095371",
"1096525",
"1096353",
"1096692",
"1096547",
"1096781",
"1096793",
"1096836",
"1096856",
"1097679"
]
}
}