UNPKG

@connect-soft/react-file-upload

Version:

Component for React - supported drag & drop, upload big files

176 lines 5.63 kB
{ "name": "@connect-soft/react-file-upload", "description": "Component for React - supported drag & drop, upload big files", "version": "0.2.10", "keywords": [ "fileUpload", "chunked", "react", "dd", "drag", "drop", "draganddrop" ], "author": { "name": "Connect Soft s.r.o.", "url": "connect-soft.cz", "email": "support@connect-soft.cz" }, "license": "ISC", "devDependencies": { "@babel/core": "^7.24.5", "@babel/preset-env": "^7.24.5", "@babel/preset-react": "^7.24.1", "@babel/preset-typescript": "^7.24.1", "@chromatic-com/storybook": "^1.3.3", "@storybook/addon-a11y": "^8.0.9", "@storybook/addon-essentials": "^8.0.9", "@storybook/addon-interactions": "^8.0.9", "@storybook/addon-links": "^8.0.9", "@storybook/addon-mdx-gfm": "^8.0.9", "@storybook/addon-onboarding": "^8.0.9", "@storybook/addon-styling-webpack": "^1.0.0", "@storybook/addon-themes": "^8.0.9", "@storybook/blocks": "^8.0.9", "@storybook/react": "^8.0.9", "@storybook/react-vite": "^8.0.9", "@storybook/test": "^8.0.9", "@types/react": "^18.3.1", "@types/react-dom": "^18.3.0", "@types/uuid": "^9.0.8", "@typescript-eslint/eslint-plugin": "^7.8.0", "babel-loader": "^9.1.3", "chromatic": "^6.24.1", "cross-env": "^7.0.3", "esbuild": "^0.19.12", "eslint": "^8.57.0", "eslint-config-airbnb-typescript": "^18.0.0", "eslint-config-love": "^47.0.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jest": "^27.9.0", "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-n": "^16.6.2", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-react": "^7.34.1", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-storybook": "^0.6.15", "eslint-plugin-testing-library": "^6.2.2", "husky": "^8.0.3", "lint-staged": "^14.0.1", "prettier": "^3.2.5", "react": "^18.3.1", "react-dom": "^18.3.1", "rimraf": "^5.0.5", "storybook": "^8.0.9", "storybook-addon-mock": "^5.0.0", "typescript": "5.1.6", "vite": "^4.5.3" }, "dependencies": { "@connect-soft/upload-file-lib": "^0.5.2", "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.5", "@mui/icons-material": "^5.15.16", "@mui/material": "^5.15.16", "react-dropzone": "^14.2.3", "styled-components": "^6.1.9", "uuid": "^9.0.1" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://gitlab.com/connect-soft/components/react-file-upload.git" }, "bugs": { "url": "https://gitlab.com/connect-soft/components/react-file-upload/issues" }, "homepage": "https://gitlab.com/connect-soft/components/react-file-upload#readme", "resolutions": { "cli-truncate": "2.1.0" }, "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "umd:main": "dist/index.umd.js", "unpkg": "dist/index.min.js", "jsdelivr": "dist/index.umd.js", "jsnext:main": "dist/index.esm.js", "source": "src/index.ts", "sideEffects": false, "files": [ "dist", "tsconfig.json" ], "exports": { "./package.json": "./package.json", "./LICENSE.md": "./LICENSE.md", "./CHANGELOG.md": "./CHANGELOG.md", ".": { "types": "./dist/index.d.ts", "import": "./dist/index.esm.js", "require": "./dist/index.cjs.js" } }, "bundlewatch": { "files": [ { "path": "./dist/index.cjs.js", "maxSize": "9.7 kB" } ] }, "lint-staged": { "*.{js,ts,tsx}": [ "pnpm lint:fix", "pnpm prettier:fix" ], "*.{md,json,yml}": [ "prettier --write" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "engines": { "node": ">=18" }, "readme": "./README.md", "_id": "@connect-soft/react-file-upload@0.2.8", "scripts": { "test": "echo \"Error: no test specified\" && exit 0", "clean": "rimraf dist", "prebuild": "pnpm clean", "lint": "eslint --ext .ts,.tsx ./src", "lint:fix": "pnpm lint --cache --fix", "format:js": "prettier --write './src/**/*.ts{,x}' --cache --check", "type": "tsc --project ./tsconfig.json --noEmit", "type:watch": "pnpm type --watch", "storybook": "storybook dev -p 6006", "build:storybook": "storybook build", "release": "pnpm build && pnpm release:only", "release:only": "pnpm publish", "build": "pnpm build:only && tsc --project ./tsconfig.build.json", "build:only": "pnpm clean && node scripts/build.mjs", "postbuild": "rimraf dist/__tests__", "prettier:fix": "prettier --config .prettierrc --write \"**/*.{js,ts,tsx,css}\"", "jest-preview": "jest-preview", "test:coverage": "pnpm test -- --coverage", "test:watch": "pnpm test -- --onlyChanged --watch", "test:web": "TEST_ENV=web pnpm test", "test:type": "tsd src/__typetest__", "postversion": "git push && git push origin v$npm_package_version", "start": "rimraf package && mkdir package && pnpm build && cp -r ./dist ./package/dist && cp package.json ./package && cp -r ./src ./package && rimraf ./example/node_modules/ && pnpm --cwd ./example install && pnpm --cwd ./example run dev", "link": "(pnpm unlink | pnpm link) && pnpm link \"@connect-soft/react-file-upload\"", "bundlewatch": "pnpm build:modern && bundlewatch", "chromatic": "npx chromatic --project-token=chpt_339b92ce85f4dcf" } }