UNPKG

@fchh/fcos-suite-map

Version:

This project contains a Map component that can be used to display relevant locations of a Fab City. It is a npm package that contains a React component, which can be embedded into other web projects. It uses Mapbox GL as an interactive mapping framework a

83 lines (82 loc) 2.37 kB
{ "name": "@fchh/fcos-suite-map", "version": "1.0.2", "main": "./dist/fcos-suite-map.js", "files": [ "dist/**/*", "README.md" ], "exports": { ".": "./dist/fcos-suite-map.js", "./style.css": "./dist/fcos-suite-map.css" }, "type": "module", "scripts": { "dev": "vite", "build": "rm -rf dist && NODE_ENV=production vite build", "build:deployment": "rm -rf dist && npx vite build --config vite-deployment.config.js --base=/$CI_PROJECT_NAME/$CI_COMMIT_REF_SLUG", "preview": "vite preview", "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"", "eslint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"", "prepublishOnly": "npm install && npm run build" }, "keywords": [ "React", "Tailwind", "Map", "Mapbox", "FCHH", "Fab", "City", "Interfacer" ], "author": "Moritz Stückler <moritz@bitbetter.de> (https://github.com/preya)", "contributors": [ "Agustina Carrion Cresta <agus.carrion@gmail.com> (https://github.com/Agustina-Carrion)" ], "peerDependencies": { "react": ">=18.3.0", "react-dom": ">=18.3.0" }, "dependencies": { "@carbon/icons-react": "^11.57.0", "@fchh/fcos-suite-ui": "^1.1.0", "@fontsource/ibm-plex-sans": "^5.2.5", "@fontsource/inter": "^5.2.5", "@tailwindcss/forms": "^0.5.10", "clsx": "^2.1.1", "heroicons-react": "^1.4.1", "mapbox-gl": "^3.11.0", "react-map-gl": "^8.0.1", "react-router-dom": "^5.2.0", "react-select": "^5.10.1", "tailwindcss": "^3.4", "usehooks-ts": "^3.1.1", "zustand": "^5.0.3" }, "devDependencies": { "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.23.0", "@types/mapbox-gl": "^3.4.1", "@types/react": "18.2.39", "@types/react-dom": "^18.3.5", "@types/react-map-gl": "^6.1.7", "@types/react-router-dom": "^5.3.3", "@typescript-eslint/eslint-plugin": "^8.28.0", "@typescript-eslint/parser": "^8.28.0", "@vitejs/plugin-react": "^4.3.4", "autoprefixer": "^10.4.21", "eslint": "^9.23.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-react": "^7.37.4", "globals": "^16.0.0", "postcss": "^8.5.3", "prettier": "^3.5.3", "react": "^18.3.1", "react-dom": "^18.3.1", "react-select": "^5.10.1", "typescript": "^5.8.2", "vite": "^6.2.3", "vite-plugin-dts": "^4.5.3" } }