fleeta-components
Version:
A comprehensive React component library for fleet management applications
132 lines (131 loc) • 4.91 kB
JSON
{
"name": "fleeta-components",
"version": "1.0.6",
"description": "A comprehensive React component library for fleet management applications",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.umd.js",
"types": "./dist/index.d.ts"
},
"./dist/style.css": "./dist/style.css"
},
"main": "dist/index.umd.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md"
],
"sideEffects": [
"*.css",
"*.scss",
"*.sass"
],
"keywords": [
"react",
"video-player",
"gps",
"fleet-management",
"dashcam",
"sensor-data",
"mapbox",
"typescript",
"dashboard",
"vehicle-tracking"
],
"author": "FleetA Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/hurfoong/Fleeta-VideoPlayer-ReactComponent"
},
"homepage": "https://github.com/hurfoong/Fleeta-VideoPlayer-ReactComponent#readme",
"bugs": {
"url": "https://github.com/hurfoong/Fleeta-VideoPlayer-ReactComponent/issues"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"mapbox-gl": ">=2.0.0",
"react-map-gl": ">=7.0.0"
},
"peerDependenciesMeta": {
"mapbox-gl": {
"optional": true
},
"react-map-gl": {
"optional": true
}
},
"dependencies": {
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"date-fns": "^2.30.0",
"lucide-react": "^0.294.0",
"mapbox-gl": "^3.1.2",
"react-map-gl": "^7.1.9",
"tailwind-merge": "^2.0.0",
"zustand": "^4.4.7"
},
"devDependencies": {
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-hover-card": "^1.0.7",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@supabase/supabase-js": "^2.39.0",
"amazon-kinesis-video-streams-webrtc": "^2.4.1",
"crypto-js": "^4.2.0",
"mapbox-gl": "^3.1.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-map-gl": "^7.1.9",
"react-router-dom": "^6.20.0",
"@types/node": "^20.11.24",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@vitejs/plugin-react": "^4.2.0",
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.2.2",
"vite": "^5.0.0"
},
"scripts": {
"dev": "vite",
"dev:lib": "vite build --config vite.config.lib.ts --watch",
"build": "tsc && vite build",
"build:clean": "node -e \"const fs = require('fs'); const dirs = ['dist', 'dist-dashboard', 'node_modules/.vite']; dirs.forEach(dir => { try { fs.rmSync(dir, { recursive: true, force: true }); console.log('✅ Cleaned:', dir); } catch(e) { console.log('ℹ️ Already clean:', dir); } });\"",
"build:lib": "npm run build:clean && vite build --config vite.config.lib.ts && npm run build:types",
"preview": "vite preview",
"build:types": "npx tsc --project tsconfig.lib.json",
"build:dashboard": "tsc && vite build --outDir dist-dashboard",
"build:full": "npm run build:lib && npm run build:dashboard",
"build:analyze": "npm run build:lib && npx vite-bundle-analyzer dist/index.esm.js",
"validate:lib": "node scripts/build-quality-check.cjs",
"validate:types": "npx tsc --project tsconfig.lib.json && echo 'TypeScript compilation successful'",
"validate:full": "npm run validate:types && npm run validate:lib && node scripts/package-analyzer.cjs && npm run test:complete",
"test:treeshaking": "node tree-shaking-test.cjs",
"test:build": "node test-build.cjs",
"test:types": "npx tsc --noEmit --project tsconfig.test.json",
"test:complete": "npm run test:build && npm run test:types && npm run test:treeshaking",
"size": "npm run build:lib && echo 'Library size analysis complete'",
"prepare": "npm run build:lib",
"prepublishOnly": "npm run validate:full && npm run build:lib && node scripts/pre-publish-check.cjs",
"quality:check": "node scripts/build-quality-check.cjs",
"quality:analyze": "node scripts/package-analyzer.cjs",
"quality:prepublish": "node scripts/pre-publish-check.cjs",
"quality:full": "npm run quality:check && npm run quality:analyze && npm run quality:prepublish",
"analyze:docs": "node scripts/analyze-docs.cjs",
"publish:dry": "npm pack --dry-run && echo 'Package validation complete - ready for publishing'",
"publish:production": "npm publish",
"release": "bash scripts/create-release.sh",
"release:patch": "npm version patch && git push origin main && git push --tags",
"release:minor": "npm version minor && git push origin main && git push --tags",
"release:major": "npm version major && git push origin main && git push --tags",
"postbuild": "npm run size"
},
"type": "module"
}