UNPKG

@selfcommunity/react-ui

Version:

React UI Components to integrate a Community created with SelfCommunity Platform.

201 lines (200 loc) • 6.12 kB
{ "name": "@selfcommunity/react-ui", "version": "0.11.0-alpha.46", "description": "React UI Components to integrate a Community created with SelfCommunity Platform.", "author": "SelfCommunity <https://www.selfcommunity.com>", "homepage": "https://www.selfcommunity.com", "license": "MIT", "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", "exports": { ".": { "require": "./lib/cjs/index.js", "import": "./lib/esm/index.js" }, "./*": { "require": "./lib/cjs/*", "import": "./lib/esm/*" } }, "sideEffects": false, "keywords": [ "react", "widgets", "community", "community ui", "selfcommunity ui", "react-ui", "react-component" ], "scripts": { "prepare": "install-peers -f", "install-peers": "install-peers -f", "test": "npm run lint && npm run test-only", "test-only": "jest --runInBand", "tdd": "jest --watch --runInBand", "lint": "eslint ./src test --ext .ts,.tsx,.js", "prettier": "prettier './**/*.js' './**/*.css' './**/*.md' --write", "prettier-list-different": "prettier './**/*.js' './**/*.css' './**/*.md' --list-different", "clean:lib": "rimraf lib", "clean:node_modules": "rimraf node_modules", "build:commonjs": "tsc -b tsconfig-cjs.build.json", "build:esm": "tsc -b tsconfig-esm.build.json", "build:umd": "webpack --mode production", "build:umd:analyze": "webpack --mode production --profile --json > ./lib/umd/stats.json && webpack-bundle-analyzer ./lib/umd/stats.json", "build": "yarn clean:lib && yarn build:commonjs && yarn build:esm && yarn build:umd", "prerelease": "yarn run clean:lib && yarn run build" }, "directories": { "lib": "lib" }, "files": [ "lib" ], "repository": { "type": "git", "url": "https://github.com/selfcommunity/community-js/tree/main/packages/react-ui" }, "publishConfig": { "access": "public" }, "peerDependencies": { "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", "@mui/lab": "~5.0.0-alpha.159", "@mui/material": "^5.15.3", "@mui/x-date-pickers": "^6.18.7", "@rpldy/chunked-sender": "^1.7.1", "@rpldy/chunked-uploady": "^1.7.1", "@rpldy/upload-button": "^1.7.1", "@rpldy/upload-drop-zone": "^1.7.1", "@rpldy/upload-preview": "^1.7.1", "@rpldy/uploady": "^1.7.1", "notistack": "^3.0.1", "pdfjs-dist": "3.11.174", "react": "^17.0.2 || 18", "react-dom": "17 || 18", "react-intl": "^6.4.7" }, "dependencies": { "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", "@lexical/html": "0.28.0", "@lexical/react": "0.28.0", "@livekit/components-react": "2.6.5", "@livekit/components-styles": "1.1.4", "@livekit/krisp-noise-filter": "0.2.12", "@livekit/track-processors": "^0.3.3", "@lottiefiles/react-lottie-player": "^3.5.4", "@mui/lab": "~5.0.0-alpha.159", "@mui/material": "^5.15.3", "@mui/x-date-pickers": "^6.18.7", "@react-google-maps/api": "^2.19.3", "@rpldy/chunked-sender": "^1.7.1", "@rpldy/chunked-uploady": "^1.7.1", "@rpldy/upload-button": "^1.7.1", "@rpldy/upload-drop-zone": "^1.7.1", "@rpldy/upload-preview": "^1.7.1", "@rpldy/uploady": "^1.7.1", "@selfcommunity/api-services": "^0.6.7-alpha.4", "@selfcommunity/react-core": "^0.6.7-alpha.24", "@selfcommunity/react-i18n": "^0.8.0-alpha.11", "@selfcommunity/react-theme-default": "^0.4.5-alpha.20", "@selfcommunity/types": "^0.7.7-alpha.4", "@selfcommunity/utils": "^0.2.64-alpha.1", "@types/classnames": "^2.3.4", "@types/sortablejs": "1", "autosuggest-highlight": "^3.3.4", "body-scroll-lock": "^4.0.0-beta.0", "classnames": "^2.5.1", "clsx": "^2.1.1", "date-fns": "^2.30.0", "emoji-picker-react": "4.5.16", "lexical": "0.28.0", "libphonenumber-js": "^1.10.53", "livekit-client": "2.5.9", "mui-color-input": "4.0.1", "notistack": "^3.0.1", "pdfjs-dist": "3.11.174", "prop-types": "^15.8.1", "prop-types-extra": "^1.1.1", "pubsub-js": "^1.9.5", "react": "^17.0.2 || 18", "react-custom-scrollbars-2": "^4.5.0", "react-dom": "17 || 18", "react-intersection-observer": "^9.4.3", "react-intl": "^6.4.7", "react-lazyload": "^3.2.1", "react-photo-view": "^1.2.6", "react-player": "^2.12.0", "react-share": "^4.4.1", "react-sortablejs": "^6.1.4", "react-waypoint": "^10.3.0", "resize-observer-polyfill": "^1.5.1", "seamless-scroll-polyfill": "^2.3.4", "sortablejs": "^1.15.0", "spark-md5": "~3.0.2", "swiper": "^11.1.9", "throttle-debounce": "^2.1.0", "use-deep-compare-effect": "^1.8.1", "use-resize-observer": "^9.1.0", "virtual-scroller": "^1.12.3", "yjs": "^13.6.7" }, "devDependencies": { "@babel/core": "^7.7.4", "@babel/preset-env": "^7.25.8", "@babel/preset-react": "^7.7.4", "@babel/preset-typescript": "^7.7.4", "@types/chai": "^4.2.14", "@types/enzyme": "^3.10.8", "@types/jest": "^26.0.20", "@types/react": "17 || 18", "@types/react-dom": "17 || 18", "@types/sinon": "^9.0.10", "@typescript-eslint/eslint-plugin": "^4.14.2", "@typescript-eslint/parser": "^4.14.2", "babel-jest": "^26.6.3", "babel-loader": "^8.2.2", "babel-preset-env-modules": "^1.0.0", "chai": "^4.2.0", "cherry-pick": "^0.5.0", "enzyme": "^3.10.0", "enzyme-adapter-react-16": "^1.15.6", "eslint": "^7.19.0", "eslint-config-prettier": "^7.2.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-mocha": "^8.0.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.22.0", "eslint-plugin-react-hooks": "^4.2.0", "faker": "^5.3.1", "install-peers-cli": "^2.2.0", "jest": "^26.6.3", "postcss": "^8.2.4", "prettier": "^2.2.1", "rimraf": "^3.0.2", "sass": "^1.32.6", "sinon": "^9.2.4", "transpile-webpack-plugin": "^1.1.3", "tslib": "^2.6.2", "typescript": "^4.1.3", "webpack": "^5.20.1", "webpack-bundle-analyzer": "^4.9.0", "webpack-cli": "^4.5.0" }, "prettier": { "printWidth": 150, "bracketSpacing": false, "trailingComma": "none", "singleQuote": true, "bracketSameLine": true }, "bugs": { "url": "https://github.com/selfcommunity/community-js/issues" }, "engines": { "node": ">=20.x" }, "gitHead": "dc8fcb1d8f08470f6f8f7da48f6a691c6f1af9ce" }