UNPKG

apiconnect-explorer

Version:

- [Getting Started](#getting-started) - [Configuration](#configuration) * [Required](#required) * [Optional](#optional) - [Usage in React](#usage-in-react) - [Usage outside of React](#usage-outside-of-react) - [Detailed description of options](#detail

290 lines (289 loc) 9.4 kB
{ "name": "apiconnect-explorer", "version": "8.0.74", "private": false, "main": "dist/lib/ApiExplorer.js", "module": "dist/es/ApiExplorer.js", "engines": { "node": ">=22 <=24", "npm": ">=10", "pnpm": ">=10" }, "dependencies": { "@asyncapi/avro-schema-parser": "3.0.24", "@asyncapi/openapi-schema-parser": "3.0.24", "@asyncapi/parser": "^3.6.0", "@babel/plugin-transform-parameters": "^7.27.7", "@babel/preset-react": "^7.28.5", "@babel/runtime": "^7.29.2", "@carbon/react": "^1.104.0", "@carbon/type": "^11.56.0", "@ibm/plex": "^6.4.1", "@ovotech/avro-mock-generator": "^3.0.0", "@readme/httpsnippet": "^9.0.0", "@soof-golan/react-split-pane": "^0.1.93", "apiconnect-example-generator": "^3.0.136", "autobind-decorator": "^2.4.0", "buffer": "^6.0.3", "classnames": "^2.5.1", "dompurify": "^3.3.3", "dotenv": "^17.3.1", "graphql": "^16.13.2", "handlebars": "^4.7.8", "highlight.js": "^11.11.1", "html-react-parser": "^5.2.17", "i18next": "^25.10.10", "i18next-browser-languagedetector": "^8.2.1", "i18next-http-backend": "^3.0.2", "isomorphic-fetch": "^3.0.0", "js-yaml": "^4.1.1", "json-decycle": "^4.0.0", "jsonpath-plus": "^10.4.0", "jsonpointer": "^5.0.1", "lodash": "^4.17.23", "markdown-it": "^14.1.1", "marked": "^15.0.12", "marked-gfm-heading-id": "^4.1.3", "marked-mangle": "^1.1.12", "object-assign": "^4.1.1", "patch-package": "^8.0.1", "promise": "^8.3.0", "react-a11y-alt": "^0.3.6", "react-error-overlay": "^6.1.0", "react-extreme-json-view": "^1.24.0", "react-i18next": "^16.6.6", "react-json-tree": "^0.20.0", "react-json-view-lite": "^2.5.0", "react-router-dom": "^7.13.2", "remove-markdown": "^0.6.3", "scroll-into-view": "^1.16.2", "semver-compare": "^1.0.0", "stepzen-graphiql": "^2.1.1", "swagger-parser-zschema": "12.0.0-zschema.0", "usehooks-ts": "^3.1.1", "uuid": "^13.0.0", "vkbeautify": "^0.99.3", "whatwg-fetch": "^3.6.20" }, "devDependencies": { "@babel/cli": "^7.28.6", "@babel/core": "^7.29.0", "@babel/eslint-parser": "^7.28.6", "@babel/plugin-proposal-decorators": "^7.29.0", "@babel/plugin-transform-modules-commonjs": "^7.28.6", "@babel/plugin-transform-runtime": "^7.29.0", "@babel/preset-env": "^7.29.2", "@babel/preset-flow": "^7.27.1", "@babel/preset-typescript": "^7.28.5", "@babel/runtime-corejs2": "^7.29.2", "@cypress/code-coverage": "^4.0.3", "@eslint/compat": "^2.0.3", "@eslint/eslintrc": "^3.3.5", "@eslint/js": "^9.39.4", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.2", "@testing-library/user-event": "14.0.0", "@types/jest": "^30.0.0", "@types/js-yaml": "^4.0.9", "@types/lodash": "^4.17.24", "@types/markdown-it": "^14.1.2", "@types/node": "^25.5.0", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "@types/scroll-into-view": "^1.16.4", "@types/semver-compare": "^1.0.3", "@typescript-eslint/eslint-plugin": "^8.57.2", "@typescript-eslint/parser": "^8.57.2", "autoprefixer": "^10.4.27", "axe-core": "^4.11.1", "babel-core": "7.0.0-bridge.0", "babel-jest": "^30.3.0", "babel-loader": "^10.1.1", "babel-plugin-istanbul": "^7.0.1", "babel-plugin-module-resolver": "^5.0.3", "babel-plugin-search-and-replace": "^1.1.1", "babel-plugin-transform-import-meta": "^2.3.3", "babel-preset-minify": "^0.5.2", "babel-preset-react-app": "^10.1.0", "case-sensitive-paths-webpack-plugin": "^2.4.0", "chalk": "^4.1.2", "clipboardy": "^5.3.1", "copy-webpack-plugin": "^14.0.0", "css-loader": "^7.1.4", "cypress": "^15.13.0", "cypress-axe": "^1.7.0", "cypress-cucumber-preprocessor": "^4.3.1", "eslint": "^9.39.4", "eslint-baseline": "^0.4.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-prettier": "^10.1.8", "eslint-import-resolver-alias": "^1.1.2", "eslint-import-resolver-node": "^0.3.9", "eslint-plugin-flowtype": "^8.0.3", "eslint-plugin-import": "^2.32.0", "eslint-plugin-jest-dom": "^5.5.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^7.0.1", "eslint-plugin-testing-library": "^7.16.2", "eslint-webpack-plugin": "^5.0.3", "file-loader": "^6.2.0", "find": "^0.3.0", "fs-extra": "^11.3.4", "globals": "^17.4.0", "graphql-ws": "^6.0.7", "handlebars-loader": "^1.7.3", "html-webpack-plugin": "^5.6.6", "husky": "^9.1.7", "identity-obj-proxy": "^3.0.0", "ignore-loader": "^0.1.2", "istanbul-lib-coverage": "^3.2.2", "jest": "^30.3.0", "jest-axe": "^10.0.0", "jest-environment-jsdom": "^30.3.0", "license-check-and-add": "^4.0.5", "lint-staged": "^16.4.0", "mini-css-extract-plugin": "^2.10.2", "node-polyfill-webpack-plugin": "^2.0.1", "nyc": "^18.0.0", "openapi-types": "^12.1.3", "postcss": "^8.5.8", "postcss-flexbugs-fixes": "^5.0.2", "postcss-loader": "^8.2.1", "prettier": "^3.8.1", "react": "^18.3.1", "react-dev-utils": "^12.0.1", "react-dom": "^18.3.1", "react-test-renderer": "^18.3.1", "sass": "^1.98.0", "sass-loader": "^16.0.7", "start-server-and-test": "^3.0.0", "style-loader": "^4.0.0", "terser-webpack-plugin": "^5.4.0", "ts-loader": "^9.5.4", "typescript": "5.9.3", "url-loader": "^4.1.1", "version-file-webpack-plugin": "^0.2.3", "webpack": "^5.105.4", "webpack-bundle-analyzer": "^5.3.0", "webpack-cli": "^7.0.2", "webpack-dev-server": "^5.2.3", "webpack-manifest-plugin": "^6.0.1", "webpack-node-externals": "^3.0.0", "workbox-webpack-plugin": "^7.4.0" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.2.0", "react-dom": "^16.14.0 || ^17.0.0 || ^18.2.0" }, "scripts": { "audit": "pnpm i --package-lock-only && pnpm audit", "createapis": "node scripts/createApis.js", "start": "pnpm run createapis && node scripts/start.js", "start:nolint": "DISABLE_ESLINT_PLUGIN=true pnpm run createapis && DISABLE_ESLINT_PLUGIN=true node scripts/start.js", "build": "pnpm run createapis && pnpm run build:app && pnpm run build:lib && pnpm run build:es", "build:app": "node scripts/build-app.js", "build:lib": "node scripts/build-modules.js lib", "build:es": "node scripts/build-modules.js es", "test": "node scripts/test.js", "testwatch": "node scripts/test.js --watch", "cypress": "NODE_ENV=test CYPRESS_COVERAGE=true cypress run", "cypress:open": "NODE_ENV=test CYPRESS_COVERAGE=true cypress open", "server:e2e": "npx http-server dist/app -p 3000", "test:e2e": "CYPRESS_COVERAGE=true start-server-and-test server:e2e http://localhost:3000 cypress", "lint": "eslint .", "lint:fix": "eslint . --fix", "prettier": "prettier . --check", "prettier:write": "prettier . --write", "prepublishOnly": "pnpm run build", "precommit": "lint-staged", "license:check": "license-check-and-add check -f ./license-check-and-add.config.json", "license:add": "license-check-and-add add -f ./license-check-and-add.config.json -r 2021" }, "repository": { "type": "git", "url": "https://github.com/ibm-apiconnect/devportal" }, "bugs": { "url": "https://github.com/ibm-apiconnect/devportal" }, "files": [ "non_ibm_license.txt", "notices.txt", "LICENSE.txt", "dist", "public" ], "sideEffects": [ "*.scss", "*.css" ], "license": "SEE LICENSE IN LICENSE.txt", "lint-staged": { "*": [ "pnpm run prettier:write", "pnpm run license:add" ], "*.js": "pnpm run lint:fix" }, "cypress-cucumber-preprocessor": { "nonGlobalStepDefinitions": true, "stepDefinitions": "cypress/e2e" }, "overrides": { "form-data": "^4.0.4", "lodash-es": "^4.17.23", "carbon-components-react": { "react": "$react", "react-dom": "$react-dom" }, "react-extreme-json-view": { "react": "$react", "react-dom": "$react-dom" }, "flux": { "react": "$react", "react-dom": "$react-dom" }, "whatwg-url": "^14.0.0", "tr46": "^5.1.0" }, "pnpm": { "patchedDependencies": { "node-polyfill-webpack-plugin": "patches/node-polyfill-webpack-plugin.patch" }, "onlyBuiltDependencies": [ "@carbon/colors", "@carbon/feature-flags", "@carbon/grid", "@carbon/ibm-products", "@carbon/ibm-products-styles", "@carbon/icon-helpers", "@carbon/icons-react", "@carbon/layout", "@carbon/motion", "@carbon/pictograms-react", "@carbon/react", "@carbon/styles", "@carbon/themes", "@carbon/type", "@carbon/utilities", "@carbon/utilities-react", "@ibm/plex", "@parcel/watcher", "core-js", "cucumber-expressions", "cypress", "es5-ext" ], "overrides": { "minimatch@3": "^3.1.3", "js-yaml@4": "^4.1.1", "yaml@>2.0.0 <3": "^2.8.3", "picomatch@>2.0.0 <3": "^2.3.2", "handlebars@>4.0.0 <5": "^4.7.9", "brace-expansion@>1.0.0 <2": "^1.1.13", "brace-expansion@>2.0.0 <3": "^2.0.3" } } }