diff --git a/.history/android/src/main/AndroidManifest_20250614155357.xml b/.history/android/src/main/AndroidManifest_20250614155357.xml new file mode 100644 index 0000000..44080fe --- /dev/null +++ b/.history/android/src/main/AndroidManifest_20250614155357.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/.history/example-app/android/app/src/main/AndroidManifest_20250614155409.xml b/.history/example-app/android/app/src/main/AndroidManifest_20250614155409.xml new file mode 100644 index 0000000..018e925 --- /dev/null +++ b/.history/example-app/android/app/src/main/AndroidManifest_20250614155409.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.history/package_20250614161751.json b/.history/package_20250614161751.json new file mode 100644 index 0000000..3c66c6d --- /dev/null +++ b/.history/package_20250614161751.json @@ -0,0 +1,87 @@ +{ + "name": "dumon-geolocation", + "version": "0.0.1", + "description": "Implement manager GNSS, Wi‑Fi RTT, IMU, Kalman fusion, event emitter", + "main": "dist/plugin.cjs.js", + "module": "dist/esm/index.js", + "types": "dist/esm/index.d.ts", + "unpkg": "dist/plugin.js", + "files": [ + "android/src/main/", + "android/build.gradle", + "dist/", + "ios/Sources", + "ios/Tests", + "Package.swift", + "DumonGeolocation.podspec" + ], + "author": "Donald Wengki Goni", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://git.jayacita.com/wengki/dumon-geolocation.git.git" + }, + "bugs": { + "url": "https://git.jayacita.com/wengki/dumon-geolocation.git/issues" + }, + "keywords": [ + "capacitor", + "plugin", + "native" + ], + "scripts": { + "verify": "npm run verify:ios && npm run verify:android && npm run verify:web", + "verify:ios": "xcodebuild -scheme DumonGeolocation -destination generic/platform=iOS", + "verify:android": "cd android && ./gradlew clean build test && cd ..", + "verify:web": "npm run build", + "lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint", + "fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format", + "eslint": "eslint . --ext ts", + "prettier": "prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java", + "swiftlint": "node-swiftlint", + "docgen": "docgen --api DumonGeolocationPlugin --output-readme README.md --output-json dist/docs.json", + "build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs", + "clean": "rimraf ./dist", + "watch": "tsc --watch", + "prepublishOnly": "npm run build" + }, + "devDependencies": { + "@capacitor/android": "^7.0.0", + "@capacitor/core": "^7.0.0", + "@capacitor/docgen": "^0.3.0", + "@capacitor/ios": "^7.0.0", + "@ionic/eslint-config": "^0.4.0", + "@ionic/prettier-config": "^4.0.0", + "@ionic/swiftlint-config": "^2.0.0", + "eslint": "^8.57.0", + "prettier": "^3.4.2", + "prettier-plugin-java": "^2.6.6", + "rimraf": "^6.0.1", + "rollup": "^4.30.1", + "swiftlint": "^2.0.0", + "typescript": "~4.1.5" + }, + "peerDependencies": { + "@capacitor/core": ">=7.0.0" + }, + "prettier": "@ionic/prettier-config", + "swiftlint": "@ionic/swiftlint-config", + "eslintConfig": { + "extends": "@ionic/eslint-config/recommended" + }, + "capacitor": { + "ios": { + "src": "ios" + }, + "android": { + "src": "android" + } + }, + "exports": { + ".": { + "types": "./dist/esm/index.d.ts", + "import": "./dist/esm/index.js", + "require": "./dist/plugin.cjs.js" + } + } +} \ No newline at end of file diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index ef0d267..44080fe 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -3,8 +3,5 @@ - - - diff --git a/example-app/android/app/src/main/AndroidManifest.xml b/example-app/android/app/src/main/AndroidManifest.xml index 9d1f585..018e925 100644 --- a/example-app/android/app/src/main/AndroidManifest.xml +++ b/example-app/android/app/src/main/AndroidManifest.xml @@ -42,8 +42,5 @@ - - - diff --git a/package.json b/package.json index 56cf604..3c66c6d 100644 --- a/package.json +++ b/package.json @@ -76,5 +76,12 @@ "android": { "src": "android" } + }, + "exports": { + ".": { + "types": "./dist/esm/index.d.ts", + "import": "./dist/esm/index.js", + "require": "./dist/plugin.cjs.js" + } } -} +} \ No newline at end of file