mod-arch-shared
Version:
Shared UI components and utilities for modular architecture micro-frontend projects
117 lines (116 loc) • 3.72 kB
JSON
{
"name": "mod-arch-shared",
"version": "1.21.0",
"description": "Shared UI components and utilities for modular architecture micro-frontend projects",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"sideEffects": [
"*.css",
"*.scss"
],
"engines": {
"node": ">=22.0.0"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.build.json && npm run copy-assets && tsc-alias -p tsconfig.build.json",
"copy-assets": "mkdir -p dist/images && cp -r images/* dist/images/ && find components \\( -name '*.scss' -o -name '*.css' \\) -exec rsync -R {} dist/ \\;",
"test": "run-s test:lint test:unit test:type-check",
"test:jest": "jest --passWithNoTests",
"test:unit": "npm run test:jest -- --silent",
"test:type-check": "tsc --noEmit",
"test:fix": "eslint --ext .js,.ts,.jsx,.tsx . --fix",
"test:lint": "eslint --max-warnings 0 --ext .js,.ts,.jsx,.tsx ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/opendatahub-io/mod-arch-library.git",
"directory": "mod-arch-shared"
},
"homepage": "https://github.com/opendatahub-io/mod-arch-library/tree/main/mod-arch-shared#readme",
"bugs": {
"url": "https://github.com/opendatahub-io/mod-arch-library/issues"
},
"keywords": [
"modular-architecture",
"micro-frontend",
"shared-components",
"ui-components",
"react-components",
"ui-library"
],
"author": "OpenDataHub.io",
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"mod-arch-core": ">=1.21.0",
"mod-arch-kubeflow": ">=1.21.0",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"react-router-dom": ">=6.4.0"
},
"devDependencies": {
"@babel/preset-env": "^7.21.5",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.5",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^16.1.0",
"@types/classnames": "^2.3.1",
"@types/dompurify": "^3.0.5",
"@types/jest": "^29.5.13",
"@types/lodash-es": "^4.17.8",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.1",
"@types/showdown": "^2.0.3",
"@patternfly/react-core": "^6.4.0",
"@patternfly/react-icons": "^6.4.0",
"@patternfly/react-styles": "^6.4.0",
"@patternfly/react-table": "^6.4.0",
"core-js": "^3.40.0",
"expect": "^29.7.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"npm-run-all2": "^7.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.30.4",
"sass": "^1.83.0",
"ts-jest": "^29.2.6",
"tsc-alias": "^1.8.15",
"typescript": "^5.0.4",
"mod-arch-core": "1.21.0",
"mod-arch-kubeflow": "1.21.0"
},
"dependencies": {
"@patternfly/patternfly": "^6.4.0",
"@patternfly/react-drag-drop": "^6.4.0",
"classnames": "^2.2.6",
"dompurify": "^3.4.0",
"lodash-es": "^4.18.1",
"showdown": "^2.1.0"
},
"optionalDependencies": {
"@typescript-eslint/eslint-plugin": "^8.26.1",
"@typescript-eslint/parser": "^8.26.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-node": "^0.3.7",
"eslint-import-resolver-typescript": "^3.8.3",
"eslint-plugin-cypress": "^3.3.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-no-relative-import-paths": "^1.6.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.2.0"
}
}