forked from swagger-api/swagger-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
138 lines (138 loc) · 4.52 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": "@tuputech/swagger-client",
"version": "3.10.1",
"description": "SwaggerJS - a collection of interfaces for OAI specs",
"main": "dist/index.js",
"unpkg": "browser/index.js",
"repository": "[email protected]:swagger-api/swagger-js.git",
"contributors": [
"(in alphabetical order)",
"Anna Bodnia <[email protected]>",
"Buu Nguyen <[email protected]>",
"Josh Ponelat <[email protected]>",
"Kyle Shockey <[email protected]>",
"Sahar Jafari <[email protected]>"
],
"files": [
"LICENSE",
"README.md",
"package.json",
"dist/index.js",
"browser/index.js"
],
"config": {
"deps_check_dir": ".deps_check"
},
"scripts": {
"automated-release": "release-it --config ./release/.release-it.json",
"build": "run-s build:umd build:bundle",
"build:umd": "webpack --config webpack/core.babel.js",
"build:bundle": "webpack --config webpack/bundle.babel.js",
"deps": "run-s deps:license deps:size",
"deps:license": "license-checker --production --csv --out $npm_package_config_deps_check_dir/licenses.csv && license-checker --development --csv --out $npm_package_config_deps_check_dir/licenses-dev.csv",
"deps:size": "webpack --config webpack/test_size.babel.js --json | webpack-bundle-size-analyzer >| $npm_package_config_deps_check_dir/sizes.txt",
"security-audit": "run-s -sc security-audit:all security-audit:prod",
"security-audit:prod": "npm-audit-ci-wrapper -p -t low",
"security-audit:all": "npm-audit-ci-wrapper -t moderate",
"test": "run-s test:unit test:lint test:size",
"test:lint": "eslint src/ test/",
"test:size": "npm run build:bundle && bundlesize",
"test:unit": "run-s test:unit:setup test:unit:run test:unit:teardown",
"test:unit:setup": "webpack --config webpack/test_webpack_build.babel.js",
"test:unit:run": "jest --runInBand",
"test:unit:teardown": "rm -rf ./test-webpack/.tmp",
"test:unit:watch": "jest --watch"
},
"keywords": [
"oai",
"swagger",
"js",
"spec",
"resolver",
"json-refs"
],
"license": "Apache-2.0",
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-json-strings": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.8.3",
"@babel/plugin-transform-async-to-generator": "^7.8.3",
"@babel/plugin-transform-destructuring": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/register": "^7.8.3",
"@release-it/conventional-changelog": "^1.1.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.0",
"bundlesize": "^0.17.2",
"clone": "^2.1.2",
"conventional-changelog-angular": "^5.0.6",
"conventional-changelog-cli": "^2.0.31",
"cross-env": "^5.2.1",
"deepmerge": "^1.3.0",
"eslint": "^3.18.0",
"eslint-config-airbnb-base": "^11.1.1",
"eslint-plugin-import": "^2.20.1",
"expect": "^24.9.0",
"fetch-mock": "^5.12.0",
"glob": "^7.1.6",
"jest": "^24.9.0",
"json-loader": "^0.5.4",
"license-checker": "^8.0.3",
"nock": "^10.0.6",
"npm-audit-ci-wrapper": "^2.4.3",
"npm-run-all": "^4.1.5",
"release-it": "^12.6.0",
"terser-webpack-plugin": "^1.3.0",
"webpack": "^4.41.6",
"webpack-bundle-size-analyzer": "^2.2.0",
"webpack-cli": "^3.3.11",
"webpack-node-externals": "^1.7.2",
"xmock": "^0.3.0"
},
"dependencies": {
"@babel/runtime-corejs2": "^7.8.4",
"@kyleshockey/object-assign-deep": "^0.4.0",
"btoa": "1.1.2",
"buffer": "^5.4.3",
"cookie": "^0.3.1",
"cross-fetch": "0.0.8",
"deep-extend": "^0.5.1",
"encode-3986": "^1.0.0",
"fast-json-patch": "~2.1.0",
"isomorphic-form-data": "0.0.1",
"js-yaml": "^3.13.1",
"lodash": "^4.17.15",
"qs": "^6.9.1",
"querystring-browser": "^1.0.4",
"traverse": "^0.6.6",
"url": "^0.11.0",
"utf8-bytes": "0.0.1",
"utfstring": "^2.0.1"
},
"jest": {
"testEnvironment": "node",
"testMatch": [
"**/test/*.js?(x)",
"**/test/**/*.js?(x)"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/test/data/",
"<rootDir>/test/specmap/data/",
"<rootDir>/test/webpack-bundle/.tmp/"
]
},
"bundlesize": [
{
"path": "./browser/index.js",
"maxSize": "400 KB",
"compression": "none"
}
]
}