UNPKG

@health-ecosystem/file-upload

Version:

File upload library for Health Ecosystem applications with improved Next.js 15+ compatibility

130 lines (129 loc) 3.69 kB
{ "name": "@health-ecosystem/file-upload", "version": "1.0.5", "description": "File upload library for Health Ecosystem applications with improved Next.js 15+ compatibility", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "LICENSE", "components.json" ], "sideEffects": false, "exports": { ".": { "import": "./dist/index.esm.js", "require": "./dist/index.js", "types": "./dist/index.d.ts" }, "./styles": "./dist/styles.css" }, "scripts": { "build": "rollup -c && npm run build:css", "build:css": "tailwindcss -i ./src/styles/globals.css -o ./dist/styles.css --minify", "dev": "rollup -c -w", "test": "jest", "test:watch": "jest --watch", "lint": "eslint src --ext .ts,.tsx", "type-check": "tsc --noEmit", "prepublishOnly": "npm run build", "prepack": "npm run build", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build" }, "keywords": [ "file-upload", "health-ecosystem", "react", "nextjs", "typescript", "shadcn", "tailwindcss", "drag-drop", "image-upload", "progress-tracking", "file-preview", "image-transformation" ], "author": "Health Ecosystem Team", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/health-ecosystem/health-ecosystem.git", "directory": "shared/file-upload-library" }, "homepage": "https://github.com/health-ecosystem/health-ecosystem#readme", "bugs": { "url": "https://github.com/health-ecosystem/health-ecosystem/issues" }, "publishConfig": { "access": "public" }, "peerDependencies": { "next": ">=13.0.0", "react": ">=18.0.0 || ^19.0.0", "react-dom": ">=18.0.0 || ^19.0.0", "tailwindcss": ">=3.0.0" }, "peerDependenciesMeta": { "next": { "optional": true }, "tailwindcss": { "optional": true } }, "devDependencies": { "@rollup/plugin-commonjs": "^26.0.1", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-typescript": "^11.1.6", "@storybook/addon-essentials": "^8.2.6", "@storybook/addon-interactions": "^8.2.6", "@storybook/addon-links": "^8.2.6", "@storybook/blocks": "^8.2.6", "@storybook/nextjs": "^8.2.6", "@storybook/react": "^8.2.6", "@storybook/test": "^8.2.6", "@types/jest": "^29.5.12", "@types/node": "^20.14.11", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^7.16.1", "@typescript-eslint/parser": "^7.16.1", "autoprefixer": "^10.4.19", "eslint": "^8.57.0", "eslint-plugin-react": "^7.34.4", "eslint-plugin-react-hooks": "^4.6.2", "jest": "^29.7.0", "next": "^15.0.0", "postcss": "^8.4.39", "react": "^19.0.0", "react-dom": "^19.0.0", "rollup": "^4.19.0", "rollup-plugin-dts": "^6.1.1", "rollup-plugin-postcss": "^4.0.2", "storybook": "^8.2.6", "tailwindcss": "^3.4.6", "ts-jest": "^29.2.3", "tslib": "^2.6.3", "typescript": "^5.5.3" }, "dependencies": { "@radix-ui/react-dialog": "^1.1.14", "@radix-ui/react-dropdown-menu": "^2.1.15", "@radix-ui/react-progress": "^1.1.7", "@radix-ui/react-select": "^2.2.5", "@radix-ui/react-separator": "^1.1.7", "@radix-ui/react-slot": "^1.2.3", "@radix-ui/react-tabs": "^1.1.12", "@radix-ui/react-toast": "^1.2.14", "axios": "^1.7.2", "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", "lucide-react": "^0.408.0", "tailwind-merge": "^2.4.0", "tailwindcss-animate": "^1.0.7" } }