-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.1 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 2.1 KB
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
{
"name": "my-test-app",
"version": "0.1.0",
"author": "CrsCaballero",
"description": "Tutorial to transform a React web-app into a Ionic mobile-app",
"private": true,
"dependencies": {
"@capacitor/android": "3.6.0",
"@capacitor/app": "^1.1.1",
"@capacitor/core": "^3.6.0",
"@capacitor/haptics": "^1.1.4",
"@capacitor/ios": "3.6.0",
"@capacitor/keyboard": "^1.2.3",
"@capacitor/status-bar": "^1.0.8",
"@ionic/react": "^6.1.15",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.11.45",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "^5.0.0",
"typescript": "^4.1.3",
"web-vitals": "^2.1.4"
},
"devDependencies": {
"@capacitor/cli": "^3.6.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"build:ionic": "ionic capacitor build android && ionic capacitor build ios && npm run resources",
"build:android": "ionic capacitor build android && npm run resources",
"build:ios": "ionic capacitor build ios && npm run resources",
"build:sync": "npx cap sync",
"jetify": "npx jetify && npx cap sync",
"resources": "capacitor-resources -p android,ios",
"emulate:ios": "ionic capacitor run ios --port=3000 --livereload",
"emulate:android": "ionic capacitor run android --port=3000 --livereload --external",
"emulate:android:ssl": "ionic capacitor run android --ssl",
"release:android": "ionic capacitor build android --prod --release",
"release:ios": "ionic capacitor build ios --prod --release"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}