-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
123 lines (123 loc) · 5.14 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
{
"name": "@lob/openapi",
"version": "1.19.43",
"engines": {
"node": ">=14.16.0",
"npm": ">=7.9.0"
},
"description": "Tooling for OpenAPI spec for Lob API",
"main": "",
"config": {
"--dynamic": "false",
"bundlefile": "lob-api-bundled.yml",
"postmanfile": "lob-api-postman.json",
"specfile": "lob-api-public.yml",
"servers": {
"sandbox": "http://0.0.0.0:8443/v1",
"staging": "https://api.lob-staging.com/v1",
"production": "https://api.lob.com/v1"
},
"goalieMappings": {
"av": {
"slackChannel": "#av-api-alerts",
"resources": [
"tests/intl_verifications_bulk_test.js",
"tests/us_verifications_bulk_test.js",
"tests/intl_autocompletions_test.js",
"tests/intl_verifications_test.js",
"tests/us_autocompletions_test.js",
"tests/us_verifications_test.js",
"tests/zip_lookups_test.js",
"tests/identity_validation_test.js"
]
},
"billing": {
"slackChannel": "#eng-api-billing-errors",
"resources": [
"tests/bank_accounts_test.js"
]
},
"pmApi": {
"slackChannel": "#eng-api-errors",
"resources": [
"tests/addresses_test.js",
"tests/checks_test.js",
"tests/letters_test.js",
"tests/postcards_test.js",
"tests/self_mailers_test.js",
"tests/template*_test.js",
"tests/creatives_test.js",
"tests/campaigns_test.js",
"tests/uploads_test.js"
]
}
}
},
"scripts": {
"bump-version": "func() { npm version \"$1\" --no-git-tag-version && node ./scripts/yml-version-bump.js; }; func",
"build": "webpack --config webpack.config.js",
"bundle": "openapi bundle -o dist/$npm_package_config_bundlefile $npm_package_config_specfile",
"clean": "rm -rf dist",
"docsTest": "npx cypress run --spec 'cypress/e2e/*'",
"lint": "spectral lint $npm_package_config_specfile",
"mock": "prism mock $npm_package_config_--dynamic $npm_package_config_specfile",
"singleTest": "func() { ava --timeout=55s ./tests/\"$1\"_test.js; }; func",
"pergoalie": "node actions/contract_tests/goalieruns.js",
"postinstall": "husky install && npx patch-package",
"postman": "npm run bundle && openapi2postmanv2 --pretty --spec dist/$npm_package_config_bundlefile --output dist/$npm_package_config_postmanfile -O folderStrategy=Tags",
"pretty": "prettier --write .",
"pretty-one": "prettier --write \"$1\".js",
"pretty:check": "prettier --check .",
"proxy": "prism proxy --errors $npm_package_config_specfile https://api.lob.com/v1",
"redoc": "redoc-cli build $npm_package_config_specfile -t actions/redoc/template.hbs --templateOptions.segmentKey=0ysbW8vXHeRAnY2saZPMlRSZFfPwd1RO --templateOptions.SUPPORT_URL=https://support.lob.com/hc/en-us --templateOptions.LOB_ASSETS_URL=https://s3-us-west-2.amazonaws.com/public.lob.com --templateOptions.canonicalUrl=https://docs.lob.com/ --templateOptions.keywords=\"Direct Mail, Address Verification\" --templateOptions.description=\"Detailed developer documentation for Lob's address verification API and print & mail API. Learn how to easily integrate Lob's APIs within your product or technology stack.\" --templateOptions.LOB_URL=https://lob.com --templateOptions.image=https://s3-us-west-2.amazonaws.com/public.lob.com/dashboard/navbar/lob-logo.svg --templateOptions.DASHBOARD_URL=https://dashboard.lob.com/# --templateOptions.HELP_URL=https://help.lob.com/ --templateOptions.LOB_BACKUP_ASSETS_URL=https://assets-global.website-files.com/5e1e5c62fa3d4447af417098/ --options=docs/redocOptions.json --title=\"Lob API documentation\" -o docs/index.html",
"spectral": "spectral lint lob-api-public.yml --fail-severity=error --display-only-failures",
"spectral-warn": "spectral lint lob-api-public.yml --fail-severity=warn --display-only-failures",
"start:dev-server": "webpack serve --open",
"test": "ava --timeout=55s './tests/**_test.js'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lob/lob-openapi.git"
},
"keywords": [
"OpenAPI",
"Prism"
],
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/lob/lob-openapi/issues"
},
"homepage": "https://github.com/lob/lob-openapi#readme",
"devDependencies": {
"@actions/core": "^1.8.2",
"@ava/babel": "^2.0.0",
"@slack/web-api": "^6.7.1",
"@stoplight/prism-cli": "^4.10.0",
"@stoplight/spectral-cli": "^6.4.1",
"ajv": "^8.11.0",
"ava": "^4.2.0",
"btoa": "^1.2.1",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.0.0",
"cypress": "^12.16.0",
"husky": "^8.0.1",
"joi": "^17.6.0",
"mini-css-extract-plugin": "^2.6.0",
"openapi-to-postmanv2": "^3.2.0",
"prettier": "^2.6.2",
"redoc-cli": "^0.13.16",
"sass": "^1.52.1",
"sass-loader": "^13.0.0",
"uuid": "^8.3.2",
"waypoints": "^4.0.1",
"webpack": "^5.89.0",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^4.9.0",
"yaml": "^2.3.4"
},
"dependencies": {
"@redocly/cli": "^1.0.0-beta.102",
"patch-package": "^6.4.7"
}
}