Configured capacitor

This commit is contained in:
Saud Fatayerji 2023-10-27 22:41:15 +03:00
parent 4f500f2257
commit cfbfbf34d7
5 changed files with 1052 additions and 7 deletions

5
.gitignore vendored
View File

@ -1,3 +1,6 @@
node_modules/ node_modules/
*.code-workspace *.code-workspace
.idea/ .idea/
dist/
android/
ios/

View File

@ -0,0 +1,12 @@
import { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'com.stirlingtools.pdf',
appName: 'StirlingPDF',
webDir: 'dist',
server: {
androidScheme: 'https'
}
};
export default config;

View File

@ -1,5 +1,7 @@
{ {
"name": "ionic-app-base", "name": "StirlingPDF",
"integrations": {}, "integrations": {
"capacitor": {}
},
"type": "react-vite" "type": "react-vite"
} }

View File

@ -13,7 +13,13 @@
"lint": "eslint" "lint": "eslint"
}, },
"dependencies": { "dependencies": {
"@capacitor/core": "^5.5.0", "@capacitor/android": "5.5.1",
"@capacitor/app": "5.0.6",
"@capacitor/core": "5.5.1",
"@capacitor/haptics": "5.0.6",
"@capacitor/ios": "^5.5.1",
"@capacitor/keyboard": "5.0.6",
"@capacitor/status-bar": "5.0.6",
"@capawesome/capacitor-file-picker": "^5.1.1", "@capawesome/capacitor-file-picker": "^5.1.1",
"@ionic/react": "^7.0.0", "@ionic/react": "^7.0.0",
"@ionic/react-router": "^7.0.0", "@ionic/react-router": "^7.0.0",
@ -29,6 +35,7 @@
"react-router-dom": "^5.3.4" "react-router-dom": "^5.3.4"
}, },
"devDependencies": { "devDependencies": {
"@capacitor/cli": "5.5.1",
"@testing-library/jest-dom": "^5.16.5", "@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0", "@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3", "@testing-library/user-event": "^14.4.3",
@ -42,7 +49,7 @@
"eslint-plugin-react": "^7.32.2", "eslint-plugin-react": "^7.32.2",
"jsdom": "^22.1.0", "jsdom": "^22.1.0",
"typescript": "^5.1.6", "typescript": "^5.1.6",
"vite": "^4.3.9", "vite": "4.5.0",
"vitest": "^0.32.2" "vitest": "^0.32.2"
} }
} }

1025
package-lock.json generated

File diff suppressed because it is too large Load Diff