132 lines
6.2 KiB
JSON
132 lines
6.2 KiB
JSON
{
|
|
"name": "@swagger-api/swagger-editor",
|
|
"version": "5.0.0-alpha.42",
|
|
"private": false,
|
|
"publishConfig": {
|
|
"registry": "https://npm.pkg.github.com"
|
|
},
|
|
"contributors": [
|
|
"(in alphabetical order)",
|
|
"Francesco Tumanischvili",
|
|
"Timothy Lai",
|
|
"Vladimir Gorej <vladimir.gorej@gmail.com>"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"unpkg": "./dist/umd/swagger-editor.js",
|
|
"module": "./dist/esm/swagger-editor.js",
|
|
"browser": "./dist/esm/swagger-editor.js",
|
|
"jsnext:main": "./dist/esm/swagger-editor.js",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
"./swagger-editor.css": "./dist/swagger-editor.css",
|
|
".": {
|
|
"browser": "./dist/esm/swagger-editor.js"
|
|
},
|
|
"./apidom.worker": {
|
|
"browser": "./dist/esm/apidom.worker.js"
|
|
},
|
|
"./editor.worker": {
|
|
"browser": "./dist/esm/editor.worker.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"start": "cross-env DISABLE_ESLINT_PLUGIN=false ENABLE_PROGRESS_PLUGIN=true react-scripts start",
|
|
"build": "npm run build:app && npm run build:bundle:esm && npm run build:bundle:umd",
|
|
"build:app": "cross-env ENABLE_PROGRESS_PLUGIN=false DISABLE_ESLINT_PLUGIN=false react-scripts build",
|
|
"build:app:serve": "serve -s build -l 3050",
|
|
"build:bundle:esm": "rimraf ./dist/esm && cross-env DISABLE_ESLINT_PLUGIN=false ENABLE_PROGRESS_PLUGIN=false GENERATE_SOURCEMAP=true BUILD_ESM_BUNDLE=true DIST_PATH=dist/esm react-scripts build-bundle && rimraf ./dist/esm/swagger-editor.css*",
|
|
"build:bundle:umd": "rimraf ./dist/umd ./dist/swagger-editor.css && cross-env DISABLE_ESLINT_PLUGIN=false ENABLE_PROGRESS_PLUGIN=false GENERATE_SOURCEMAP=false BUILD_UMD_BUNDLE=true DIST_PATH=dist/umd react-scripts build-bundle && copyfiles -u 2 ./dist/umd/swagger-editor.css ./dist && rimraf ./dist/umd/swagger-editor.css",
|
|
"analyze": "source-map-explorer 'build/static/js/main.js'",
|
|
"test": "react-scripts test",
|
|
"cy:dev": "start-server-and-test cy:dev:server http://localhost:3003 cy:dev:open",
|
|
"cy:dev:open": "cross-env CYPRESS_BASE_URL=http://localhost:3003 cypress open --e2e",
|
|
"cy:dev:server": "cross-env PORT=3003 BROWSER=none ENABLE_PROGRESS_PLUGIN=false react-scripts start",
|
|
"cy:ci": "start-server-and-test build:app:serve http://localhost:3050 cy:run:chrome",
|
|
"cy:run:chrome": "cypress run --browser chrome",
|
|
"cy:run:firefox": "cypress run --browser firefox",
|
|
"lint": "eslint . --ext .jsx,.js",
|
|
"lint:fix": "eslint . --ext .jsx,.js --fix",
|
|
"clean": "rimraf ./build ./dist",
|
|
"link:apidom": "npm link @swagger-api/apidom-ast @swagger-api/apidom-core @swagger-api/apidom-json-path @swagger-api/apidom-json-pointer @swagger-api/apidom-ls @swagger-api/apidom-ns-api-design-systems @swagger-api/apidom-ns-asyncapi-2 @swagger-api/apidom-ns-openapi-3-1 @swagger-api/apidom-parser-adapter-api-design-systems-json @swagger-api/apidom-parser-adapter-api-design-systems-yaml @swagger-api/apidom-parser-adapter-asyncapi-json-2 @swagger-api/apidom-parser-adapter-asyncapi-yaml-2 @swagger-api/apidom-parser-adapter-json @swagger-api/apidom-parser-adapter-openapi-json-3-0 @swagger-api/apidom-parser-adapter-openapi-json-3-1 @swagger-api/apidom-parser-adapter-openapi-yaml-3-0 @swagger-api/apidom-parser-adapter-openapi-yaml-3-1 @swagger-api/apidom-parser-adapter-yaml-1-2 @swagger-api/apidom-parser @swagger-api/apidom-reference",
|
|
"link:apidom-ls": "npm link @swagger-api/apidom-ls"
|
|
},
|
|
"dependencies": {
|
|
"@asyncapi/avro-schema-parser": "^1.1.0",
|
|
"@asyncapi/openapi-schema-parser": "^2.0.1",
|
|
"@asyncapi/parser": "^1.17.2",
|
|
"@asyncapi/react-component": "^1.0.0-next.44",
|
|
"@babel/runtime": "^7.20.6",
|
|
"@braintree/sanitize-url": "^6.0.2",
|
|
"@emotion/react": "^11.10.5",
|
|
"@emotion/styled": "^11.10.5",
|
|
"@mui/material": "^5.11.0",
|
|
"@primer/octicons-react": "^17.10.0",
|
|
"@swagger-api/apidom-core": "^0.58.0",
|
|
"@swagger-api/apidom-ls": "^0.58.0",
|
|
"@swagger-api/apidom-ns-api-design-systems": "^0.58.0",
|
|
"@swagger-api/apidom-parser-adapter-api-design-systems-json": "^0.58.0",
|
|
"@swagger-api/apidom-parser-adapter-api-design-systems-yaml": "^0.58.0",
|
|
"@swagger-api/apidom-parser-adapter-asyncapi-json-2": "^0.58.0",
|
|
"@swagger-api/apidom-parser-adapter-asyncapi-yaml-2": "^0.58.0",
|
|
"@swagger-api/apidom-parser-adapter-openapi-json-3-0": "^0.58.0",
|
|
"@swagger-api/apidom-parser-adapter-openapi-json-3-1": "^0.58.0",
|
|
"@swagger-api/apidom-parser-adapter-openapi-yaml-3-0": "^0.58.0",
|
|
"@swagger-api/apidom-parser-adapter-openapi-yaml-3-1": "^0.58.0",
|
|
"axios": "^1.2.1",
|
|
"classnames": "^2.3.2",
|
|
"deepmerge": "^4.2.2",
|
|
"file-dialog": "^0.0.8",
|
|
"immutable": "^3.8.2",
|
|
"js-file-download": "^0.4.12",
|
|
"js-yaml": "^4.1.0",
|
|
"lodash": "^4.17.21",
|
|
"monaco-editor": "^0.34.1",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^17.0.2",
|
|
"react-collapse-pane": "^3.0.1",
|
|
"react-dom": "^17.0.2",
|
|
"react-dropzone": "^14.2.3",
|
|
"react-immutable-proptypes": "^2.2.0",
|
|
"react-modal": "^3.16.1",
|
|
"react-resize-detector": "^7.1.2",
|
|
"react-table": "^7.8.0",
|
|
"reselect": "^4.1.7",
|
|
"short-unique-id": "^4.4.4",
|
|
"styled-components": "^5.3.6",
|
|
"swagger-ui-react": "^4.15.5",
|
|
"vscode": "npm:@codingame/monaco-vscode-api@~1.69.13",
|
|
"vscode-languageclient": "^8.0.2",
|
|
"vscode-languageserver-textdocument": "^1.0.8"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^17.3.0",
|
|
"@commitlint/config-conventional": "^17.3.0",
|
|
"@testing-library/cypress": "^9.0.0",
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
"@testing-library/react": "^12.1.5",
|
|
"@testing-library/user-event": "^14.4.3",
|
|
"copyfiles": "^2.4.1",
|
|
"cross-env": "^7.0.3",
|
|
"cypress": "^12.1.0",
|
|
"cypress-file-upload": "^5.0.8",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-cypress": "^2.12.1",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"https-browserify": "^1.0.0",
|
|
"husky": "^8.0.2",
|
|
"jest-canvas-mock": "^2.4.0",
|
|
"lint-staged": "^13.1.0",
|
|
"prettier": "^2.8.1",
|
|
"react-scripts": "file:./create-react-app/packages/react-scripts",
|
|
"rimraf": "^3.0.2",
|
|
"sass": "^1.57.1",
|
|
"serve": "^14.1.2",
|
|
"source-map-explorer": "^2.5.3",
|
|
"start-server-and-test": "^1.15.2",
|
|
"web-vitals": "^3.1.0"
|
|
}
|
|
}
|