UNPKG

pagamio-frontend-commons-lib

Version:

Pagamio library for Frontend reusable components like the form engine and table container

181 lines (180 loc) 5.67 kB
{ "name": "pagamio-frontend-commons-lib", "description": "Pagamio library for Frontend reusable components like the form engine and table container", "version": "0.8.172", "private": false, "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", "default": "./lib/index.js" }, "./components/layout": { "types": "./lib/components/layout/index.d.ts", "default": "./lib/components/layout/index.js" }, "./components/ui": { "types": "./lib/components/ui/index.d.ts", "default": "./lib/components/ui/index.js" }, "./components/icons": { "types": "./lib/components/icons/index.d.ts", "default": "./lib/components/icons/index.js" }, "./auth": { "types": "./lib/auth/index.d.ts", "default": "./lib/auth/index.js" }, "./api": { "types": "./lib/api/index.d.ts", "default": "./lib/api/index.js" }, "./context": { "types": "./lib/context/index.d.ts", "default": "./lib/context/index.js" }, "./shared": { "types": "./lib/shared/index.d.ts", "default": "./lib/shared/index.js" }, "./rbac": { "types": "./lib/rbac/index.d.ts", "default": "./lib/rbac/index.js" }, "./styles.css": "./lib/styles.css" }, "sideEffects": [ "**/*.css", "lib/styles.css" ], "keywords": [ "react", "table", "form-engine", "components" ], "author": "Hadijah Kyampeire <hadijah@pagmio.com>", "files": [ "lib", "README.md" ], "scripts": { "start:dev": "vite", "start": "concurrently \"npm run build:watch\" \"npm run start:dev\"", "test": "jest", "build:watch": "tsc --watch", "build": "rm -rf lib && tsc && yarn build:css && yarn copy-locale-files", "build:css": "postcss src/index.css -o lib/styles.css", "lint": "eslint 'src/**/*.{ts,tsx}'", "lint:fix": "eslint . --fix", "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss}\"", "format:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx,json,css,scss}\"", "prepare": "husky", "validate-structure": "node validate-structure.js", "copy-locale-files": "copyfiles -u 1 src/translations/locales/**/*.json lib", "extract-translations": "i18next-scanner --config i18next-scanner.config.js 'src/**/*.{js,jsx,ts,tsx}'" }, "dependencies": { "@emotion/react": "^11.13.5", "@heroicons/react": "^2.1.5", "@hookform/resolvers": "^3.9.0", "@mantine/core": "6.0.21", "@mantine/dates": "6.0.21", "@mantine/hooks": "6.0.21", "@radix-ui/react-avatar": "^1.1.0", "@radix-ui/react-checkbox": "^1.1.1", "@radix-ui/react-dialog": "^1.1.2", "@radix-ui/react-icons": "^1.3.0", "@radix-ui/react-label": "^2.1.0", "@radix-ui/react-popover": "^1.1.1", "@radix-ui/react-radio-group": "^1.2.1", "@radix-ui/react-select": "^2.1.1", "@radix-ui/react-separator": "^1.1.0", "@radix-ui/react-switch": "^1.1.1", "@tabler/icons-react": "^3.23.0", "@tanstack/react-table": "^8.20.5", "@testing-library/react": "^16.0.1", "@types/file-saver": "^2.0.7", "@types/papaparse": "^5.3.15", "@typescript-eslint/eslint-plugin": "^8.26.1", "@typescript-eslint/parser": "^8.26.1", "apexcharts": "^4.4.0", "class-variance-authority": "^0.7.0", "classnames": "^2.5.1", "clsx": "^2.1.1", "cmdk": "1.0.0", "date-fns": "^4.1.0", "dayjs": "^1.11.13", "echarts": "^5.5.1", "echarts-for-react": "^3.0.2", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-unicorn": "^57.0.0", "file-saver": "^2.0.5", "flowbite": "^2.5.2", "flowbite-react": "^0.10.2", "js-cookie": "^3.0.5", "jspdf": "^2.5.2", "jspdf-autotable": "^3.8.4", "jwt-decode": "^4.0.0", "lodash": "^4.17.21", "lucide-react": "^0.441.0", "mantine-react-table": "^1.3.4", "papaparse": "^5.4.1", "react": "^18", "react-apexcharts": "^1.7.0", "react-date-range": "^2.0.1", "react-datepicker": "^7.6.0", "react-day-picker": "^9.4.4", "react-dom": "^18", "react-dropzone": "^14.2.3", "react-hook-form": "^7.53.1", "react-icons": "^5.3.0", "react-phone-number-input": "^3.4.12", "react-table": "^7.8.0", "swr": "^2.3.3", "tailwind-merge": "^2.5.2", "tailwindcss-animate": "^1.0.7", "uuid": "^11.1.0", "xlsx": "^0.18.5", "zod": "^3.23.8" }, "devDependencies": { "@next/eslint-plugin-next": "^15.2.2", "@testing-library/jest-dom": "^6.6.3", "@testing-library/user-event": "^14.5.2", "@trivago/prettier-plugin-sort-imports": "^5.2.2", "@types/jest": "^29.5.14", "@types/js-cookie": "^3.0.6", "@types/lodash": "^4.17.13", "@types/node": "^20", "@types/react": "^18", "@types/react-date-range": "^1.4.10", "@types/react-dom": "^18", "@types/react-dropzone": "^5.1.0", "@types/react-table": "^7.7.20", "@vitejs/plugin-react": "^4.3.3", "autoprefixer": "^10.4.20", "concurrently": "^9.0.1", "copyfiles": "^2.4.1", "eslint": "^9.22.0", "eslint-config-prettier": "^10.0.1", "eslint-plugin-prettier": "^5.2.3", "eslint-plugin-react": "^7.37.4", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-tailwindcss": "^3.18.0", "husky": "^9.1.7", "i18next-scanner": "^4.4.0", "lint-staged": "^15.5.0", "postcss": "^8.4.47", "postcss-cli": "^11.0.0", "prettier": "^3.4.2", "tailwindcss": "^3.4.1", "typescript": "^5", "vite": "^4.0.0" }, "lint-staged": { "*.{js,ts,tsx}": "eslint . --fix" } }