UNPKG

@pansy/react-mapbox-gl

Version:

🌍 基于 Mapbox GL 封装的 React 组件库

115 lines (114 loc) 3.26 kB
{ "name": "@pansy/react-mapbox-gl", "version": "1.9.0", "description": "🌍 基于 Mapbox GL 封装的 React 组件库", "repository": "git@github.com:pansyjs/react-mapbox-gl.git", "main": "./lib/index.js", "module": "./es/index.js", "types": "./es/index.d.ts", "files": [ "lib", "es", "dist", "src" ], "sideEffects": false, "scripts": { "start": "storybook dev -p 6007", "build": "father build", "build:site": "storybook build", "prepare": "husky || true", "lint": "eslint --cache .", "lint:fix": "nr lint --fix", "test": "jest", "tsc:check": "tsc --noEmit" }, "keywords": [ "mapbox", "mapbox-gl", "react", "react-mapbox-gl", "react mapbox" ], "license": "MIT", "peerDependencies": { "mapbox-gl": ">=2.0.0", "react": ">=16.9.0", "react-dom": ">=16.9.0" }, "dependencies": { "@rcuse/core": "^0.25.0", "@turf/bbox": "^6.5.0", "@turf/helpers": "^6.5.0", "@types/supercluster": "^7.1.3", "supercluster": "^8.0.1", "type-fest": "^4.41.0" }, "devDependencies": { "@antfu/eslint-config": "^2.8.3", "@commitlint/cli": "^19.2.1", "@commitlint/config-conventional": "^19.1.0", "@mapbox/mapbox-gl-language": "^1.0.1", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^10.0.2", "@semantic-release/npm": "^12.0.0", "@semantic-release/release-notes-generator": "^12.1.0", "@storybook/addon-actions": "^7.6.17", "@storybook/addon-essentials": "^7.6.17", "@storybook/addon-interactions": "^7.6.17", "@storybook/addon-links": "^7.6.17", "@storybook/addon-onboarding": "^1.0.11", "@storybook/addons": "^7.6.17", "@storybook/blocks": "^7.6.17", "@storybook/react": "^7.6.17", "@storybook/react-vite": "^7.6.17", "@storybook/test": "^7.6.17", "@storybook/theming": "^7.6.17", "@testing-library/dom": "^9.3.4", "@testing-library/jest-dom": "^6.4.2", "@testing-library/react": "^14.2.2", "@testing-library/user-event": "^14.5.2", "@types/geojson": "^7946.0.14", "@types/jest": "^29.5.12", "@types/jsdom": "^21.1.6", "@types/mapbox-gl": "^3.1.0", "@types/react": "^18.2.65", "@types/react-dom": "^18.2.21", "@umijs/fabric": "^4.0.1", "antd": "^5.15.3", "eslint": "^8.57.0", "eslint-plugin-react": "^7.34.1", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.6", "father": "^4.4.0", "husky": "^9.0.11", "identity-obj-proxy": "^3.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jsdom": "^24.0.0", "lint-staged": "^15.2.2", "mapbox-gl": "^3.12.0", "react": "^18.3.1", "react-dom": "^18.3.1", "semantic-release": "^23.0.5", "storybook": "^7.6.17", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "typescript": "^5.4.2", "vitest": "^3.2.3" }, "lint-staged": { "*.{ts,tsx,md}": [ "eslint --cache --fix" ] }, "authors": [ "wangxingkang <wang_xingkang@qq.com> (https://github.com/wangxingkang)" ], "type": "module", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } }