forked from swagger-api/swagger-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
181 lines (181 loc) · 7.55 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{
"name": "swagger-editor",
"description": "Swagger Editor",
"version": "3.14.6",
"main": "dist/swagger-editor.js",
"module": "dist/swagger-editor-es-bundle.js",
"repository": "[email protected]:swagger-api/swagger-editor.git",
"license": "Apache-2.0",
"contributors": [
"(in alphabetical order)",
"Anna Bodnia <[email protected]>",
"Buu Nguyen <[email protected]>",
"Josh Ponelat <[email protected]>",
"Kyle Shockey <[email protected]>",
"Robert Barnwell <[email protected]>",
"Sahar Jafari <[email protected]>"
],
"scripts": {
"automated-release": "release-it --config ./release/.release-it.json",
"build": "run-p --aggregate-output build:core build:bundle build:standalone build:stylesheets build:es:bundle build:es:bundle:core",
"build:bundle": "webpack --config webpack/bundle.babel.js --colors",
"build:core": "webpack --config webpack/core.babel.js --colors",
"build:standalone": "webpack --config webpack/standalone.babel.js --colors",
"build:es:bundle": "webpack --config webpack/es-bundle.babel.js --colors",
"build:es:bundle:core": "webpack --config webpack/es-bundle-core.babel.js --colors",
"build:stylesheets": "webpack --config webpack/stylesheets.babel.js --colors",
"deps-check": "run-s deps-check:license deps-check:size",
"deps-check: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-check:size": "webpack -p --config webpack/test_deps_size.babel.js --json | webpack-bundle-size-analyzer >| $npm_package_config_deps_check_dir/sizes.txt",
"predev": "npm install",
"dev": "npm-run-all --parallel hot-server",
"hot-server": "webpack-dev-server --host 0.0.0.0 --config webpack/dev.babel.js --inline --hot --progress --content-base dev-helpers/",
"open-static": "node -e 'require(\"open\")(\"http://localhost:3001\")'",
"lint": "eslint --cache --ext '.js,.jsx' src test",
"lint-errors": "eslint --cache --quiet --ext '.js,.jsx' src test",
"lint-fix": "eslint --cache --ext '.js,.jsx' src test --fix",
"e2e": "run-p -r e2e:hot-server e2e:cypress-test",
"e2e:dev": "run-p -r e2e:hot-server e2e:cypress-open",
"e2e:hot-server": "webpack-dev-server --port 3260 --host 0.0.0.0 --config webpack/dev.babel.js --inline --hot --progress --content-base test/e2e/static",
"e2e:cypress-test": "cypress run",
"e2e:cypress-open": "cypress open",
"test": "run-s test:unit-mocha test:unit-jest e2e lint-errors",
"test-in-node": "run-s lint-errors test:unit-mocha test:unit-jest",
"test:unit-jest": "cross-env BABEL_ENV=test jest --config ./config/jest/jest.unit.config.js",
"test:unit-mocha": "cross-env BABEL_ENV=test mocha --require test/mocha/setup.js --recursive --require @babel/register test/mocha",
"test:unit-mocha-watch": "npm run test:unit-mocha -- -w",
"serve-static": "http-server -i -a 0.0.0.0 -p 3001",
"prestart": "npm install",
"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:artifact": "run-s test:artifact:umd:bundle test:artifact:es:bundle test:artifact:es:bundle:core",
"test:artifact:umd:bundle": "npm run build:bundle && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-umd-bundle.config.js",
"test:artifact:es:bundle": "npm run build:es:bundle && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-es-bundle.config.js",
"test:artifact:es:bundle:core": "npm run build:es:bundle:core && cross-env BABEL_ENV=commonjs jest --config ./config/jest/jest.artifact-es-bundle-core.config.js",
"start": "npm-run-all --parallel serve-static open-static",
"watch": "webpack --config webpack/core.babel.js --watch --progress"
},
"dependencies": {
"ajv": "^5.2.2",
"ajv-errors": "^1.0.1",
"ajv-keywords": "^3.4.0",
"boron": "^0.2.3",
"brace": "^0.10.0",
"classnames": "^2.2.6",
"core-js": "^2.4.1",
"deepmerge": "^4.0.0",
"file-dialog": "0.0.7",
"immutable": "^3.x.x",
"is-json": "^2.0.1",
"js-yaml": "^3.13.1",
"json-beautify": "^1.0.1",
"json-refs": "^3.0.4",
"lodash": "=4.17.20",
"promise-worker": "^1.1.1",
"prop-types": "15.7.2",
"querystring-browser": "^1.0.4",
"react": "^15.6.2",
"react-ace": "^4.1.6",
"react-addons-css-transition-group": "^15.4.2",
"react-dd-menu": "^2.0.0",
"react-dom": "^15.6.2",
"react-dropzone": "4.2.11",
"react-file-download": "^0.3.2",
"react-immutable-proptypes": "^2.1.0",
"react-redux": "^4.x.x",
"react-split-pane": "^0.1.82",
"react-transition-group": "^1.1.1",
"redux": "^3.x.x",
"reselect": "^4.0.0",
"swagger-client": "^3.12.0",
"swagger-ui": "^3.36.2",
"traverse": "^0.6.6",
"whatwg-fetch": "^2.0.3",
"yaml-js": "^0.2.3"
},
"devDependencies": {
"@babel/cli": "=7.11.6",
"@babel/core": "=7.11.6",
"@babel/plugin-proposal-class-properties": "=7.10.4",
"@babel/plugin-proposal-optional-chaining": "=7.11.0",
"@babel/plugin-transform-runtime": "=7.11.5",
"@babel/preset-env": "=7.11.5",
"@babel/preset-react": "=7.10.4",
"@babel/register": "=7.11.5",
"@babel/runtime-corejs3": "^7.11.2",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@jest/globals": "=26.4.1",
"@release-it/conventional-changelog": "=1.1.4",
"autoprefixer": "=9.8.6",
"babel-eslint": "^10.0.2",
"babel-loader": "^8.1.0",
"babel-plugin-module-resolver": "^4.0.0",
"babel-plugin-transform-es2015-constants": "^6.1.4",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"bundlesize": "^0.18.0",
"cross-env": "=7.0.2",
"css-loader": "^3.5.3",
"cssnano": "^4.1.10",
"cypress": "=5.3.0",
"dedent": "^0.7.0",
"deep-extend": "^0.6.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-15": "^1.0.5",
"eslint": "^6.1.0",
"eslint-plugin-import": "^2.21.1",
"eslint-plugin-jest": "=23.20.0",
"eslint-plugin-mocha": "^6.3.0",
"eslint-plugin-react": "^7.20.0",
"expect": "^1.20.2",
"file-loader": "6.0.0",
"git-describe": "^4.0.1",
"http-server": "^0.12.3",
"husky": "=4.3.0",
"ignore-assets-webpack-plugin": "^2.0.1",
"inspectpack": "=4.5.2",
"jest": "=25.5.4",
"jsdom": "=15.2.1",
"jsdom-global": "3.0.2",
"json-loader": "0.5.7",
"less": "^3.11.2",
"less-loader": "^5.0.0",
"license-checker": "^25.0.0",
"lint-staged": "=10.4.2",
"matcher": "^0.1.2",
"mini-css-extract-plugin": "^0.9.0",
"mocha": "^7.2.0",
"npm-audit-ci-wrapper": "^2.5.4",
"npm-run-all": "^4.1.5",
"null-loader": "0.1.1",
"open": "^7.0.4",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "=6.7.0",
"raw-loader": "3.1.0",
"react-hot-loader": "^1.3.1",
"react-test-renderer": "^15.6.2",
"release-it": "=13.6.5",
"rewiremock": "^3.7.4",
"rimraf": "^2.7.1",
"style-loader": "0.13.0",
"terser-webpack-plugin": "=4.1.0",
"url-loader": "^2.3.0",
"webpack": "^4.43.0",
"webpack-bundle-size-analyzer": "=3.1.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.11.0",
"webpack-stats-plugin": "=0.3.2",
"worker-loader": "^2.0.0"
},
"config": {
"deps_check_dir": ".deps_check"
},
"bundlesize": [
{
"path": "./dist/swagger-editor-bundle.js",
"maxSize": "2.8 MB",
"compression": "none"
}
]
}