UNPKG

hello-csv

Version:

A modern CSV importer written in Preact

121 lines (120 loc) 3.65 kB
{ "name": "hello-csv", "version": "0.3.5", "description": "A modern CSV importer written in Preact", "author": "HelloCSV", "license": "MIT", "repository": "HelloCSV/HelloCSV", "type": "module", "source": "src/index.ts", "types": "dist/types/index.d.ts", "keywords": [ "csv", "importer", "import", "convert", "json", "react", "upload", "preview", "parse", "parser", "csv-parse", "typescript" ], "scripts": { "dev": "vite", "build:react": "tsc -b && vite build --mode react", "build:preact": "tsc -b && vite build --mode preact", "build:bundled": "tsc -b && vite build --mode bundled", "build": "npm-run-all --parallel build:preact build:bundled build:react", "watch:react": "tsc -b && vite build --watch --mode react", "watch:preact": "tsc -b && vite build --watch --mode preact", "watch:bundled": "tsc -b && vite build --watch --mode bundled", "watch": "npm-run-all --parallel watch:preact watch:bundled watch:react", "test": "vitest", "preview": "vite preview", "prepare": "tsc --emitDeclarationOnly", "prepublishOnly": "npm run build", "predeploy": "cd example-preact && npm install && npm run build", "deploy": "gh-pages -d example-preact/dist", "postpublish": "npm run deploy", "lint": "eslint --max-warnings=0 \"src/**/*.{ts,tsx}\"", "format_check": "prettier --check \"src/**/*.tsx\" \"src/**/*.ts\"" }, "exports": { "./react": { "import": "./dist/react/index.es.js", "require": "./dist/react/index.cjs.js", "types": "./dist/types-react/index.d.ts" }, "./react/index.css": "./dist/react/hello-csv.css", "./preact": { "import": "./dist/preact/index.es.js", "require": "./dist/preact/index.cjs.js", "types": "./dist/types-preact/index.d.ts" }, "./preact/index.css": "./dist/preact/hello-csv.css", "./bundled": { "import": "./dist/bundled/index.es.js", "require": "./dist/bundled/index.cjs.js", "types": "./dist/types-preact/index.d.ts" }, "./bundled/index.css": "./dist/bundled/hello-csv.css" }, "peerDependencies": { "preact": "^10.25.4", "react": "^18 || ^19", "react-dom": "^18 || ^19" }, "peerDependenciesMeta": { "preact": { "optional": true }, "react": { "optional": true }, "react-dom": { "optional": true } }, "devDependencies": { "@preact/preset-vite": "^2.10.1", "@tailwindcss/vite": "^4.0.4", "@types/dropzone": "^5.7.9", "@types/papaparse": "5.3.15", "@typescript-eslint/eslint-plugin": "5.57.1", "@typescript-eslint/parser": "5.57.1", "@vitejs/plugin-react": "^4.4.1", "cross-env": "^7.0.2", "eslint": "8.38.0", "eslint-config-airbnb": "19.0.4", "eslint-config-airbnb-typescript": "17.0.0", "eslint-config-prettier": "9.1.0", "eslint-import-resolver-typescript": "^3.6.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-jsx-a11y": "6.7.1", "eslint-plugin-prettier": "5.2.1", "gh-pages": "^6.3.0", "npm-run-all": "^4.1.5", "preact-render-to-string": "^6.5.13", "prettier": "^3.4.1", "prettier-plugin-tailwindcss": "^0.6.11", "tailwindcss": "^4.0.4", "typescript": "~5.7.2", "vite": "^6.3.4", "vite-plugin-dts": "^4.5.0", "vitest": "^3.0.5" }, "files": [ "dist" ], "dependencies": { "@headlessui/react": "^2.2.0", "@heroicons/react": "^2.2.0", "@tanstack/react-table": "^8.21.2", "@tanstack/react-virtual": "^3.13.8", "cva": "npm:class-variance-authority@^0.7.1", "papaparse": "^5.4.1" } }