Skip to content

Commit 00b5544

Browse files
committed
build: add web support
1 parent 574f0e5 commit 00b5544

File tree

4 files changed

+103
-5
lines changed

4 files changed

+103
-5
lines changed

android/.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
gradle-wrapper.jar
2+
/.gradle
3+
/captures/
4+
/gradlew
5+
/gradlew.bat
6+
/local.properties
7+
GeneratedPluginRegistrant.java

ios/.gitignore

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
*.mode1v3
2+
*.mode2v3
3+
*.moved-aside
4+
*.pbxuser
5+
*.perspectivev3
6+
**/*sync/
7+
.sconsign.dblite
8+
.tags*
9+
**/.vagrant/
10+
**/DerivedData/
11+
Icon?
12+
**/Pods/
13+
**/.symlinks/
14+
profile
15+
xcuserdata
16+
**/.generated/
17+
Flutter/App.framework
18+
Flutter/Flutter.framework
19+
Flutter/Flutter.podspec
20+
Flutter/Generated.xcconfig
21+
Flutter/app.flx
22+
Flutter/app.zip
23+
Flutter/flutter_assets/
24+
Flutter/flutter_export_environment.sh
25+
ServiceDefinitions.json
26+
Runner/GeneratedPluginRegistrant.*
27+
28+
# Exceptions to above rules.
29+
!default.mode1v3
30+
!default.mode2v3
31+
!default.pbxuser
32+
!default.perspectivev3

pubspec.lock

+54-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
11
# Generated by pub
22
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages:
4+
archive:
5+
dependency: transitive
6+
description:
7+
name: archive
8+
url: "https://pub.dartlang.org"
9+
source: hosted
10+
version: "2.0.11"
11+
args:
12+
dependency: transitive
13+
description:
14+
name: args
15+
url: "https://pub.dartlang.org"
16+
source: hosted
17+
version: "1.5.2"
418
async:
519
dependency: transitive
620
description:
721
name: async
822
url: "https://pub.dartlang.org"
923
source: hosted
10-
version: "2.3.0"
24+
version: "2.4.0"
1125
boolean_selector:
1226
dependency: transitive
1327
description:
@@ -29,6 +43,20 @@ packages:
2943
url: "https://pub.dartlang.org"
3044
source: hosted
3145
version: "1.14.11"
46+
convert:
47+
dependency: transitive
48+
description:
49+
name: convert
50+
url: "https://pub.dartlang.org"
51+
source: hosted
52+
version: "2.1.1"
53+
crypto:
54+
dependency: transitive
55+
description:
56+
name: crypto
57+
url: "https://pub.dartlang.org"
58+
source: hosted
59+
version: "2.1.3"
3260
cupertino_icons:
3361
dependency: "direct main"
3462
description:
@@ -46,20 +74,27 @@ packages:
4674
description: flutter
4775
source: sdk
4876
version: "0.0.0"
77+
image:
78+
dependency: transitive
79+
description:
80+
name: image
81+
url: "https://pub.dartlang.org"
82+
source: hosted
83+
version: "2.1.4"
4984
matcher:
5085
dependency: transitive
5186
description:
5287
name: matcher
5388
url: "https://pub.dartlang.org"
5489
source: hosted
55-
version: "0.12.5"
90+
version: "0.12.6"
5691
meta:
5792
dependency: transitive
5893
description:
5994
name: meta
6095
url: "https://pub.dartlang.org"
6196
source: hosted
62-
version: "1.1.7"
97+
version: "1.1.8"
6398
path:
6499
dependency: transitive
65100
description:
@@ -74,6 +109,13 @@ packages:
74109
url: "https://pub.dartlang.org"
75110
source: hosted
76111
version: "1.8.0+1"
112+
petitparser:
113+
dependency: transitive
114+
description:
115+
name: petitparser
116+
url: "https://pub.dartlang.org"
117+
source: hosted
118+
version: "2.4.0"
77119
quiver:
78120
dependency: transitive
79121
description:
@@ -127,7 +169,7 @@ packages:
127169
name: test_api
128170
url: "https://pub.dartlang.org"
129171
source: hosted
130-
version: "0.2.5"
172+
version: "0.2.11"
131173
typed_data:
132174
dependency: transitive
133175
description:
@@ -142,5 +184,12 @@ packages:
142184
url: "https://pub.dartlang.org"
143185
source: hosted
144186
version: "2.0.8"
187+
xml:
188+
dependency: transitive
189+
description:
190+
name: xml
191+
url: "https://pub.dartlang.org"
192+
source: hosted
193+
version: "3.5.0"
145194
sdks:
146-
dart: ">=2.2.2 <3.0.0"
195+
dart: ">=2.4.0 <3.0.0"

web/index.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>hello_world</title>
6+
</head>
7+
<body>
8+
<script src="main.dart.js" type="application/javascript"></script>
9+
</body>
10+
</html>

0 commit comments

Comments
 (0)