@selfcommunity/react-core
Version:
React Core Components useful for integrating UI Community components (react-ui).
135 lines (134 loc) • 3.93 kB
JSON
{
"name": "@selfcommunity/react-core",
"version": "0.6.7-alpha.26",
"description": "React Core Components useful for integrating UI Community components (react-ui).",
"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",
"react-ui",
"react-component",
"community ui",
"selfcommunity ui",
"community templates",
"selfcommunity templates"
],
"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-core"
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@mui/material": "^5.14.12",
"notistack": "^3.0.1",
"react": "^17.0.2 || 18",
"react-dom": "17 || 18",
"react-intl": "^6.4.7"
},
"dependencies": {
"@selfcommunity/api-services": "^0.6.7-alpha.4",
"@selfcommunity/react-i18n": "^0.8.0-alpha.13",
"@selfcommunity/types": "^0.7.7-alpha.4",
"@selfcommunity/utils": "^0.2.64-alpha.1",
"js-cookie": "^3.0.5",
"pubsub-js": "^1.9.5",
"use-deep-compare-effect": "^1.8.1",
"validate-color": "^2.2.4"
},
"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",
"cross-env": "^5.0.5",
"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",
"lodash": "^4.17.15",
"postcss": "^8.2.4",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"sass": "^1.32.6",
"sinon": "^9.2.4",
"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": "es5",
"singleQuote": true,
"bracketSameLine": true
},
"bugs": {
"url": "https://github.com/selfcommunity/community-js/issues"
},
"gitHead": "4115695443818632d85f120d161f26741fc16af3"
}