forked from swagger-api/swagger-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
126 lines (126 loc) · 4.95 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
{
"name": "swagger-client",
"version": "3.18.5",
"description": "SwaggerJS - a collection of interfaces for OAI specs",
"browser": {
"./src/http/fold-formdata-to-request.node.js": "./src/http/fold-formdata-to-request.browser.js",
"./lib/http/fold-formdata-to-request.node.js": "./lib/http/fold-formdata-to-request.browser.js",
"./es/http/fold-formdata-to-request.node.js": "./es/http/fold-formdata-to-request.browser.js",
"./src/helpers/btoa.node.js": "./src/helpers/btoa.browser.js",
"./lib/helpers/btoa.node.js": "./lib/helpers/btoa.browser.js",
"./es/helpers/btoa.node.js": "./es/helpers/btoa.browser.js"
},
"main": "lib/commonjs.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"unpkg": "dist/swagger-client.browser.min.js",
"repository": "git@github.com:swagger-api/swagger-js.git",
"contributors": [
"(in alphabetical order)",
"Anna Bodnia <anna.bodnia@gmail.com>",
"Buu Nguyen <buunguyen@gmail.com>",
"Josh Ponelat <jponelat@gmail.com>",
"Kyle Shockey <kyleshockey1@gmail.com>",
"Sahar Jafari <shr.jafari@gmail.com>"
],
"files": [
"LICENSE",
"NOTICE",
"README.md",
"package.json",
"lib",
"es",
"dist/swagger-client.browser.js",
"dist/swagger-client.browser.min.js",
"dist/swagger-client.browser.min.js.map"
],
"config": {
"deps_check_dir": ".deps_check"
},
"scripts": {
"prepublishOnly": "npm run clean && npm run lint && npm run test && npm run build",
"build": "run-s build:umd:browser build:commonjs build:es",
"build:umd:browser": "cross-env BABEL_ENV=browser webpack --progress --config config/webpack/browser.config.babel.js",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"lint": "eslint src/ test/",
"lint:fix": "npm run lint -- --fix",
"test": "run-s test:unit:coverage test:artifact",
"test:unit": "cross-env BABEL_ENV=commonjs jest --runInBand --config ./config/jest/jest.unit.config.js",
"test:unit:coverage": "cross-env BABEL_ENV=commonjs jest --runInBand --config ./config/jest/jest.unit.coverage.config.js",
"test:unit:watch": "cross-env BABEL_ENV=commonjs jest --runInBand --watch --config ./config/jest/jest.unit.config.js",
"test:artifact": "run-s test:artifact:umd:browser test:artifact:es test:artifact:commonjs",
"test:artifact:umd:browser": "npm run build:umd:browser && cross-env BABEL_ENV=browser jest --config ./config/jest/jest.artifact-umd-browser.config.js",
"test:artifact:es": "npm run build:es && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-es.config.js",
"test:artifact:commonjs": "npm run build:commonjs && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-commonjs.config.js",
"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",
"clean": "rimraf ./dist ./lib ./es ./.deps_check ./coverage"
},
"keywords": [
"oai",
"swagger",
"js",
"spec",
"resolver",
"json-refs"
],
"license": "Apache-2.0",
"devDependencies": {
"@babel/cli": "=7.19.3",
"@babel/core": "^7.18.10",
"@babel/plugin-proposal-class-properties": "=7.18.6",
"@babel/plugin-proposal-object-rest-spread": "=7.20.2",
"@babel/plugin-transform-runtime": "=7.19.6",
"@babel/preset-env": "^7.18.10",
"@babel/register": "=7.18.9",
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"abort-controller": "^3.0.0",
"babel-loader": "=9.1.0",
"babel-plugin-lodash": "=3.3.4",
"cross-env": "=7.0.3",
"eslint": "^8.21.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "=8.5.0",
"eslint-plugin-import": "=2.26.0",
"eslint-plugin-prettier": "=4.2.1",
"expect": "^29.0.3",
"fetch-mock": "=9.11.0",
"glob": "=8.0.3",
"husky": "^8.0.1",
"inspectpack": "=4.7.1",
"install": "=0.13.0",
"jest": "^29.0.3",
"jest-environment-jsdom": "^29.0.3",
"json-loader": "=0.5.7",
"license-checker": "=25.0.1",
"lint-staged": "=13.0.3",
"lodash-webpack-plugin": "=0.11.6",
"nock": "=13.2.9",
"node-fetch": "^2.6.7",
"npm-run-all": "=4.1.5",
"prettier": "^2.3.0",
"rimraf": "=3.0.2",
"terser-webpack-plugin": "^5.0.3",
"webpack": "=5.75.0",
"webpack-bundle-size-analyzer": "=3.1.0",
"webpack-cli": "=4.10.0",
"webpack-stats-plugin": "=1.1.1",
"xmock": "=0.3.0"
},
"dependencies": {
"@babel/runtime-corejs3": "^7.11.2",
"cookie": "~0.5.0",
"cross-fetch": "^3.1.5",
"deepmerge": "~4.2.2",
"fast-json-patch": "^3.0.0-1",
"form-data-encoder": "^1.4.3",
"formdata-node": "^4.0.0",
"is-plain-object": "^5.0.0",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"qs": "^6.10.2",
"traverse": "~0.6.6",
"url": "~0.11.0"
}
}