Skip to content

Commit 5da2d10

Browse files
Add cap-android package script
so that we can remember how to run the android app.
1 parent 09e2632 commit 5da2d10

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"theme:watch": "chakra-cli tokens src/deployment/default/theme.ts --watch",
2121
"theme": "chakra-cli tokens src/deployment/default/theme.ts",
2222
"i18n:compile": "node bin/tidy-lang.cjs && formatjs compile-folder --ast lang src/messages",
23-
"ml4f-output": "vitest ml4f-output --run"
23+
"ml4f-output": "vitest ml4f-output --run",
24+
"cap-android": "npm run build && rm -rf ./android && npx cap add android && npx cap run android"
2425
},
2526
"devDependencies": {
2627
"@capacitor/cli": "^6.2.0",

0 commit comments

Comments
 (0)