๐Ÿ“ฆ ionic-team / capacitor-google-maps

๐Ÿ“„ package.json ยท 99 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99{
  "name": "@capacitor/google-maps",
  "version": "7.1.1",
  "description": "Google maps on Capacitor",
  "main": "dist/plugin.cjs.js",
  "module": "dist/esm/index.js",
  "typings": "dist/typings/index.d.ts",
  "typesVersions": {
    "<4.1": {
      "dist/typings/index.d.ts": [
        "dist/typings/ts_old/index.d.ts"
      ]
    }
  },
  "unpkg": "dist/plugin.js",
  "files": [
    "android/src/main/",
    "android/build.gradle",
    "dist/",
    "CapacitorGoogleMaps.podspec",
    "ios/Sources",
    "ios/Tests",
    "Package.swift"
  ],
  "author": "Ionic <hi@ionicframework.com>",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ionic-team/capacitor-google-maps.git"
  },
  "bugs": {
    "url": "https://github.com/ionic-team/capacitor-google-maps/issues"
  },
  "keywords": [
    "capacitor",
    "plugin",
    "native",
    "google-maps"
  ],
  "scripts": {
    "verify": "pnpm run verify:ios && pnpm run verify:android && pnpm run verify:web",
    "verify:ios": "xcodebuild build -scheme CapacitorGoogleMaps -destination generic/platform=iOS",
    "verify:android": "cd android && ./gradlew clean build test && cd ..",
    "verify:web": "pnpm run build",
    "lint": "pnpm eslint . --ext ts && pnpm prettier \"./**/*.{css,html,ts,js,java}\" --check && pnpm node-swiftlint lint",
    "fmt": "pnpm eslint . --ext ts --fix && pnpm prettier \"./**/*.{css,html,ts,js,java}\" --write && pnpm node-swiftlint --fix --format",
    "docgen": "node ../scripts/docgen_updates.js",
    "build": "pnpm run clean && pnpm run docgen && tsc && rollup -c rollup.config.js && pnpm run downleveldts",
    "clean": "rimraf ./dist",
    "watch": "tsc --watch",
    "prepublishOnly": "pnpm run build",
    "publish:cocoapod": "pod trunk push ./CapacitorGoogleMaps.podspec --allow-warnings",
    "downleveldts": "pnpm downlevel-dts dist/typings dist/typings/ts_old --to=3.5",
    "pack-local": "pnpm run build && pnpm pack && find . -name 'capacitor-google-maps-*tgz' -exec bash -c 'mv $0 capacitor-google-maps.tgz' {} \\; ",
    "unittest:ios": "xcodebuild test -project ./unit-tests/ios/GoogleMapsPlugin/GoogleMapsPlugin.xcodeproj -scheme TestApp -destination 'platform=iOS Simulator,name=iPhone 12,OS=15.2' | xcpretty && exit ${PIPESTATUS[0]}",
    "unittest:android": "cd ./unit-tests/android && ./gradlew testDebugUnitTest"
  },
  "devDependencies": {
    "@capacitor/android": ">=7.0.0",
    "@capacitor/core": ">=7.0.0",
    "@capacitor/docgen": "0.3.0",
    "@capacitor/ios": ">=7.0.0",
    "@ionic/prettier-config": "^1.0.1",
    "@types/resize-observer-browser": "^0.1.7",
    "@types/supercluster": "^7.1.0",
    "@typescript-eslint/eslint-plugin": "^5.59.2",
    "@typescript-eslint/parser": "^5.59.2",
    "downlevel-dts": "^0.7.0",
    "eslint": "^8.57.0",
    "eslint-config-prettier": "^8.8.0",
    "eslint-plugin-import": "^2.25.4",
    "prettier": "^2.8.8",
    "prettier-plugin-java": "~2.1.0",
    "rimraf": "^3.0.2",
    "rollup": "^2.78.1",
    "swiftlint": "^1.0.2",
    "typescript": "^5.4.2"
  },
  "peerDependencies": {
    "@capacitor/core": ">=7.0.0"
  },
  "capacitor": {
    "ios": {
      "src": "ios"
    },
    "android": {
      "src": "android"
    }
  },
  "publishConfig": {
    "access": "public"
  },
  "dependencies": {
    "@googlemaps/js-api-loader": "~1.16.8",
    "@googlemaps/markerclusterer": "~2.5.3",
    "@types/google.maps": "~3.58.1"
  }
}