@s1am0nd/asyncapi-react-component
Version:
A React component for AsyncAPI specification.
119 lines (118 loc) • 3.98 kB
JSON
{
"name": "@s1am0nd/asyncapi-react-component",
"version": "0.0.1",
"private": false,
"description": "A React component for AsyncAPI specification.",
"repository": {
"type": "git",
"url": "git+https://github.com/asyncapi/asyncapi-react"
},
"author": {
"name": "The AsyncAPI maintainers",
"url": "https://www.asyncapi.com"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/asyncapi/asyncapi-react/issues"
},
"keywords": [
"asyncapi",
"asyncapi-specification",
"react",
"reactjs",
"event"
],
"tags": [
"asyncapi",
"asyncapi-specification",
"react",
"reactjs",
"event"
],
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/types/index.d.ts",
"files": [
"/lib",
"/browser",
"/styles",
"./README.md",
"./LICENSE"
],
"sideEffects": [
"./styles/default.css",
"./styles/default.min.css"
],
"scripts": {
"start": "tsc -p tsconfig.esm.json --watch",
"build:dev": "npm run build:esm && npm run build:types && npm run build:styles",
"build:prod": "npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:standalone && npm run build:types && npm run build:styles",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:umd": "cross-env BUILD_MODE=umd webpack --colors",
"build:standalone": "cross-env BUILD_MODE=standalone webpack --colors",
"build:types": "tsc -p tsconfig.types.json",
"build:styles": "npm run build:styles:dev && npm run build:styles:prod",
"build:styles:dev": "cross-env NODE_ENV=production postcss src/styles/default.css -o styles/default.css --verbose",
"build:styles:prod": "cross-env NODE_ENV=production MINIFY_STYLES=true postcss src/styles/default.css -o styles/default.min.css --verbose",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "jest --detectOpenHandles",
"test:unit:watch": "jest --detectOpenHandles --watch",
"test:e2e:dev": "cypress run",
"test:e2e": "npm run build:standalone && cypress run",
"prepare": "npm run build:dev",
"prepublishOnly": "npm run prepack",
"prepack": "npm run build:prod && cp ../README.md ./README.md && cp ../LICENSE ./LICENSE",
"postpack": "rm -rf ./README.md && rm -rf ./LICENSE",
"get:name": "echo $npm_package_name",
"get:version": "echo $npm_package_version"
},
"dependencies": {
"@asyncapi/avro-schema-parser": "^1.1.0",
"@asyncapi/openapi-schema-parser": "^2.0.1",
"@asyncapi/parser": "^1.18.0",
"highlight.js": "^10.7.2",
"isomorphic-dompurify": "^0.13.0",
"marked": "^4.0.14",
"openapi-sampler": "^1.2.1",
"use-resize-observer": "^8.0.0"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@cypress/webpack-preprocessor": "^5.9.0",
"@tailwindcss/typography": "^0.4.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"@types/dompurify": "^2.0.4",
"@types/highlight.js": "^10.1.0",
"@types/jest": "^26.0.23",
"@types/marked": "^4.0.1",
"@types/node": "^12.7.2",
"@types/react": "^16.9.2",
"@types/react-dom": "^17.0.3",
"autoprefixer": "^10.2.5",
"cross-env": "^7.0.3",
"cssnano": "^4.1.11",
"cypress": "^7.4.0",
"jest": "^26.0.0",
"postcss": "^8.2.10",
"postcss-cli": "^8.3.1",
"postcss-import": "^14.0.2",
"postcss-scopify": "^0.1.9",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"tailwindcss": "^2.1.1",
"ts-jest": "^26.4.1",
"ts-loader": "^8.1.0",
"webpack": "^4.41.2",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^3.3.12"
},
"publishConfig": {
"access": "public"
}
}