tg-map-vue3
Version:
封装 百度地图, Google地图, Here地图(未完成), Maptalks 的Vue3组件库
103 lines • 3.09 kB
JSON
{
"name": "tg-map-vue3",
"version": "4.2.11",
"author": "ipcjs",
"description": "封装 百度地图, Google地图, Here地图(未完成), Maptalks 的Vue3组件库",
"keywords": [
"vue3",
"google-map",
"baidu-map",
"here-map"
],
"repository": {
"type": "git",
"url": "https://github.com/TranscodeGroup/tg-map"
},
"homepage": "https://github.com/TranscodeGroup/tg-map-vue3/issues",
"license": "MIT",
"type": "module",
"main": "./dist/tg-map.cjs",
"module": "./dist/tg-map.js",
"types": "./dist/src/components/index.d.ts",
"style": "./dist/tg-map.css",
"exports": {
".": {
"types": "./dist/src/components/index.d.ts",
"import": "./dist/tg-map.js",
"require": "./dist/tg-map.cjs"
},
"./dist/tg-map.css": "./dist/tg-map.css"
},
"files": [
"dist",
"CHANGELOG.md"
],
"watch": {
"build": "src/**/*.*"
},
"engines": {
"node": "^18.0.0 || >=20.0.0",
"pnpm": "^10.12.1"
},
"dependencies": {
"@types/baidumap-web-sdk": "0.0.11",
"@types/google.maps": "3.64.1",
"@types/heremaps": "3.0.14",
"maptalks": "^1.7.1",
"maptalks.markercluster": "0.8.8",
"tg-commons": "^1.2.12",
"tg-map-core": "4.2.11"
},
"peerDependencies": {
"vue": "^3.5.16"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.5",
"@types/bmapgl-browser": "github:TranscodeGroup/DefinitelyTyped#path:/types/bmapgl-browser&9ed2593293c552e55d3defc8ca17d13d5f37cf5b",
"@types/jsdom": "^21.1.7",
"@types/node": "^20.19.0",
"@vitejs/plugin-vue": "^5.2.4",
"@vitejs/plugin-vue-jsx": "^4.2.0",
"@vitest/eslint-plugin": "^1.2.2",
"@vue/eslint-config-standard-with-typescript": "^9.2.0",
"@vue/eslint-config-typescript": "^14.5.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.7.0",
"csstype": "^3.1.3",
"eslint": "^9.28.0",
"eslint-plugin-vue": "~10.2.0",
"husky": "^9.1.7",
"jiti": "^2.4.2",
"jsdom": "^26.1.0",
"lint-staged": "^16.1.0",
"npm-run-all2": "^8.0.4",
"npm-watch": "^0.13.0",
"sass": "^1.89.2",
"typescript": "~5.8.3",
"vite": "^6.3.5",
"vite-plugin-vue-devtools": "^7.7.6",
"vitest": "^3.2.3",
"vue-tsc": "^2.2.10"
},
"lint-staged": {
"*.{js,jsx,vue,ts,tsx}": "eslint",
"*.{vue,ts,tsx}": "pnpm type-check"
},
"scripts": {
"dev": "run-p dev:tg dev:main",
"build": "npm-run-all -p type-check build-only -s type-gen",
"preview": "vite preview",
"build-only": "pnpm build:tg && vite build",
"build-watch": "run-p dev:tg build-watch:main",
"build-watch:main": "vite build --emptyOutDir=false --watch",
"type-check": "vue-tsc --noEmit --project tsconfig.vitest.json --composite false && echo",
"type-gen": "vue-tsc --project tsconfig.types.json",
"lint": "eslint . --fix",
"test:unit": "vitest",
"build:watch": "NPM_WATCH_MODE=true npm-watch",
"preview:watch": "LIB_MODE=false run-p preview build-watch",
"dev:main": "vite --port 4000",
"dev:tg": "pnpm -r dev",
"build:tg": "pnpm -r build"
}
}