mod-arch-shared
Version:
Shared library for modular architecture micro-frontend projects
114 lines (113 loc) • 3.58 kB
JSON
{
"name": "mod-arch-shared",
"version": "0.1.6",
"description": "Shared library for modular architecture micro-frontend projects",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"sideEffects": [
"*.css",
"*.scss"
],
"engines": {
"node": ">=20.0.0"
},
"files": [
"dist",
"style",
"images"
],
"scripts": {
"build": "tsc && tsc-alias && npm run copy-assets",
"copy-assets": "mkdir -p dist/style dist/images && cp -r style/* dist/style/ && 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",
"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 .",
"prepare": "npm run build",
"prepublishOnly": "npm run test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/opendatahub-io/kubeflow-ui-essentials.git"
},
"keywords": [
"modular-architecture",
"micro-frontend",
"shared-components",
"ui-library"
],
"author": "",
"license": "Apache-2.0",
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@babel/preset-env": "^7.21.5",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.5",
"@cypress/code-coverage": "^3.13.11",
"@module-federation/enhanced": "^0.8.9",
"@mui/icons-material": "^6.4.1",
"@mui/material": "^6.1.7",
"@mui/types": "^7.2.20",
"@swc/core": "^1.9.1",
"@testing-library/cypress": "^10.0.3",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "14.6.1",
"@types/classnames": "^2.3.1",
"@types/jest": "^29.5.13",
"@types/lodash-es": "^4.17.8",
"@types/react-dom": "^18.3.1",
"@types/showdown": "^2.0.3",
"core-js": "^3.40.0",
"eslint": "^8.38.0",
"expect": "^29.7.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"ts-jest": "^29.2.6",
"tsc-alias": "^1.8.15",
"typescript": "^5.0.4"
},
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.13.5",
"@patternfly/patternfly": "^6.2.0",
"@patternfly/react-core": "^6.2.0",
"@patternfly/react-icons": "^6.2.0",
"@patternfly/react-styles": "^6.2.0",
"@patternfly/react-table": "^6.2.0",
"@patternfly/react-templates": "^6.2.0",
"classnames": "^2.2.6",
"dompurify": "^3.2.4",
"lodash-es": "^4.17.15",
"npm-run-all": "^4.1.5",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"react-router": "^7.1.5",
"react-router-dom": "^7.1.5",
"sass": "^1.83.0",
"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"
}
}