@upendra19/swagger-ui-custom 1.0.1 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@upendra19/swagger-ui-custom",
3
- "version": "1.0.1",
3
+ "version": "1.0.4",
4
4
  "main": "./dist/swagger-ui.js",
5
5
  "module": "./dist/swagger-ui-es-bundle-core.js",
6
6
  "exports": {
7
7
  "./dist/swagger-ui.css": "./dist/swagger-ui.css",
8
8
  "./dist/oauth2-redirect.html": "./dist/oauth2-redirect.html",
9
9
  "./dist/swagger-ui-standalone-preset": "./dist/swagger-ui-standalone-preset.js",
10
- "./react": "./src/react-component.jsx",
10
+ "./react": "./dist/swagger-ui-react.js",
11
11
  ".": {
12
12
  "browser": {
13
13
  "import": "./dist/swagger-ui-es-bundle-core.js",
@@ -39,13 +39,14 @@
39
39
  "scripts": {
40
40
  "automated-release": "release-it -VV --config ./release/.release-it.json",
41
41
  "build": "npm run build-stylesheets && rimraf ./dist/swagger-ui.js ./dist/swagger-ui.js.map && npm run build-all-bundles",
42
- "build-all-bundles": "run-p --aggregate-output build:core build:bundle build:standalone build:es:bundle build:es:bundle:core",
42
+ "build-all-bundles": "run-p --aggregate-output build:core build:bundle build:standalone build:es:bundle build:es:bundle:core build:react",
43
43
  "build-stylesheets": "cross-env NODE_ENV=production BABEL_ENV=production BROWSERSLIST_ENV=browser-production webpack --color --config webpack/stylesheets.js && shx sed -i \"s/\\*zoom/zoom/g\" ./dist/swagger-ui.css",
44
44
  "build:bundle": "cross-env NODE_ENV=production BABEL_ENV=production BROWSERSLIST_ENV=isomorphic-production webpack --color --config webpack/bundle.js",
45
45
  "build:core": "cross-env NODE_ENV=production BABEL_ENV=production BROWSERSLIST_ENV=browser-production webpack --color --config webpack/core.js",
46
46
  "build:standalone": "cross-env NODE_ENV=production BABEL_ENV=production BROWSERSLIST_ENV=browser-production webpack --color --config webpack/standalone.js",
47
47
  "build:es:bundle": "cross-env NODE_ENV=production BABEL_ENV=production BROWSERSLIST_ENV=isomorphic-production webpack --color --config webpack/es-bundle.js",
48
48
  "build:es:bundle:core": "cross-env NODE_ENV=production BABEL_ENV=esm BROWSERSLIST_ENV=browser-production webpack --color --config webpack/es-bundle-core.js",
49
+ "build:react": "cross-env NODE_ENV=production BABEL_ENV=production BROWSERSLIST_ENV=browser-production webpack --color --config webpack/react-component.js",
49
50
  "clean": "rimraf ./dist",
50
51
  "dev": "cross-env NODE_ENV=development BABEL_ENV=development BROWSERSLIST_ENV=browser-development webpack serve --config webpack/dev.js",
51
52
  "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",