UNPKG

@clubmed/trident-ui

Version:

Shared ClubMed React UI components

194 lines (193 loc) 5.97 kB
{ "name": "@clubmed/trident-ui", "version": "1.2.0", "type": "module", "description": "Shared ClubMed React UI components", "keywords": [ "Trident", "Clubmed", "React", "react.js", "components", "design", "system", "atomic", "tailwind" ], "author": "Club Med", "license": "BSD-3-Clause", "repository": { "type": "git", "url": "https://scm.clubmed.com/clubmed/cm-trident-ui.git" }, "main": "index.js", "exports": { ".": "./index.js", "./style.css": "./styles/index.css", "./tailwind": "./tailwind/tailwind.preset.js", "./package.json": "./package.json", "./atoms/Icons": { "types": "./atoms/Icons/index.d.ts", "import": "./atoms/Icons/index.js", "default": "./atoms/Icons/index.js" }, "./atoms/Icons/svg": { "types": "./atoms/Icons/svg/index.d.ts", "import": "./atoms/Icons/svg/index.js", "default": "./atoms/Icons/svg/index.js" }, "./atoms/Icons/svg-use": { "types": "./atoms/Icons/svg-use/index.d.ts", "import": "./atoms/Icons/svg-use/index.js", "default": "./atoms/Icons/svg-use/index.js" }, "./molecules/Tabs": { "types": "./molecules/Tabs/index.d.ts", "import": "./molecules/Tabs/index.js", "default": "./molecules/Tabs/index.js" }, "./molecules/Forms/Checkboxes": { "types": "./molecules/Forms/Checkboxes/index.d.ts", "import": "./molecules/Forms/Checkboxes/index.js", "default": "./molecules/Forms/Checkboxes/index.js" }, "./molecules/Forms/Password": { "types": "./molecules/Forms/Password/index.d.ts", "import": "./molecules/Forms/Password/index.js", "default": "./molecules/Forms/Password/index.js" }, "./molecules/Forms/Radios": { "types": "./molecules/Forms/Radios/index.d.ts", "import": "./molecules/Forms/Radios/index.js", "default": "./molecules/Forms/Radios/index.js" }, "./fonts/*": "./fonts/*", "./atoms/*": { "types": "./atoms/*.d.ts", "import": "./atoms/*.js", "default": "./atoms/*.js" }, "./molecules/*": { "types": "./molecules/*.d.ts", "import": "./molecules/*.js", "default": "./molecules/*.js" }, "./contexts/*": { "types": "./contexts/*.d.ts", "import": "./contexts/*.js", "default": "./contexts/*.js" }, "./hooks/*": { "types": "./hooks/*.d.ts", "import": "./hooks/*.js", "default": "./hooks/*.js" }, "./tests/*": { "types": "./tests/*.d.ts", "import": "./tests/*.js", "default": "./tests/*.js" } }, "scripts": { "dev": "storybook dev -p 6006", "build": "vite build && npm run build:exports", "build:storybook": "storybook build", "lint": "eslint . --report-unused-disable-directives", "lint:fix": "eslint . --fix", "prettier:write": "prettier . --write --ignore-unknown", "test": "vitest run", "test:dev": "vitest watch", "test:update": "vitest -u", "prepare": "husky", "build:exports": "NODE_NO_WARNINGS=1 node --loader ts-node/esm tools/exports-builder/index.ts" }, "dependencies": { "@clubmed/trident-icons": ">=1.0.1", "@juggle/resize-observer": "^3.4.0", "@react-spring/web": "^9.7.3", "@use-gesture/react": "^10.2.26", "@whitespace/storybook-addon-html": "6.0.5", "build": "^0.1.4", "classnames": "^2.3.2", "date-fns": "^2.30.0", "react-day-picker": "^8.10.0", "react-hot-toast": "^2.4.1", "react-use-measure": "^2.1.1", "run": "^1.5.0", "use-boop": "^1.1.1", "use-resize-observer": "^9.1.0" }, "devDependencies": { "@commitlint/cli": "18.6.1", "@commitlint/config-conventional": "18.6.2", "@netsells/storybook-mockdate": "^0.3.2", "@storybook/addon-a11y": "8.3.5", "@storybook/addon-actions": "8.3.5", "@storybook/addon-essentials": "8.3.5", "@storybook/addon-interactions": "8.3.5", "@storybook/addon-links": "8.3.5", "@storybook/addon-mdx-gfm": "8.3.5", "@storybook/addon-styling": "1.3.7", "@storybook/addon-viewport": "8.3.5", "@storybook/blocks": "8.3.5", "@storybook/react": "8.3.5", "@storybook/react-vite": "8.3.5", "@storybook/test": "8.3.5", "@svgr/rollup": "8.1.0", "@testing-library/jest-dom": "^6.3.0", "@testing-library/react": "^14.1.2", "@testing-library/user-event": "^14.5.2", "@types/fs-extra": "^11.0.4", "@types/picomatch": "^2.3.3", "@types/react": "^18.2.48", "@types/react-dom": "^18.2.18", "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": "^6.19.1", "@vitejs/plugin-react": "^4.2.1", "@vitest/coverage-v8": "2.1.2", "add": "^2.0.6", "autoprefixer": "^10.4.17", "change-case": "^5.4.3", "eslint": "^8.56.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "5.1.3", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.5", "eslint-plugin-storybook": "^0.6.15", "figures": "^6.1.0", "fs-extra": "^11.2.0", "globby": "^14.0.1", "husky": "^9.0.11", "jsdom": "^22.1.0", "lint-staged": "^15.2.2", "picomatch": "^4.0.1", "postcss": "^8.4.32", "prettier": "3.2.5", "react": "^18.2.0", "react-dom": "^18.2.0", "react-syntax-highlighter": "^15.5.0", "rollup-preserve-directives": "^1.1.1", "storybook": "8.3.5", "svgtofont": "^4.2.0", "tailwindcss": "^3.3.5", "ts-node": "^10.9.2", "typescript": "^5.2.2", "vite": "5.4.8", "vite-plugin-dts": "^3.6.4", "vite-plugin-static-copy": "1.0.1", "vite-plugin-svgr": "^4.2.0", "vitest": "^2.1.2" }, "peerDependencies": { "react": ">=17.0.2", "react-dom": ">=17.0.2", "tailwindcss": ">=3.3.5" }, "sideEffects": [ "**/*.css" ], "lint-staged": { "*.(js,ts,tsx)": "eslint --fix", "!*.(js,ts,tsx)": "prettier --write --ignore-unknown" } }