astur-mobile 0.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # astur-mobile
2
+
3
+ The [Astur](https://github.com/Astur-mobile/Astur) command-line tool — device-native mobile automation for Android and iOS with Playwright ergonomics and no Appium server.
4
+
5
+ ```bash
6
+ npm install -D astur-mobile @astur-mobile/test @playwright/test
7
+ ```
8
+
9
+ ```bash
10
+ npx astur-mobile doctor # check your environment
11
+ npx astur-mobile devices # list emulators / simulators / devices
12
+ npx astur-mobile init # scaffold a config
13
+ npx astur-mobile codegen # record a test from a live device (alias: inspect)
14
+ npx astur-mobile test # run your Astur/Playwright specs
15
+ ```
16
+
17
+ You can also run tests from the **VS Code Playwright extension** play button — Astur inherits the full Playwright Test runner.
18
+
19
+ ## Documentation
20
+
21
+ Full docs: **https://astur-mobile.github.io/Astur/**
22
+
23
+ ## License
24
+
25
+ Apache-2.0 © Amr Salem. "Astur" is a trademark — see the [main repository](https://github.com/Astur-mobile/Astur).
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
package/dist/index.js ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+ import { main } from '@astur-mobile/cli';
3
+ main().catch((error) => {
4
+ console.error(error instanceof Error ? error.message : String(error));
5
+ process.exitCode = 1;
6
+ });
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;AACvB,CAAC,CAAC,CAAC"}
package/package.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "astur-mobile",
3
+ "version": "0.1.0-beta.1",
4
+ "description": "Astur CLI for device-native mobile automation.",
5
+ "license": "Apache-2.0",
6
+ "author": "Amr Salem",
7
+ "type": "module",
8
+ "main": "./dist/index.js",
9
+ "types": "./dist/index.d.ts",
10
+ "bin": {
11
+ "astur": "./dist/index.js"
12
+ },
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/index.d.ts",
16
+ "default": "./dist/index.js"
17
+ }
18
+ },
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "scripts": {
23
+ "build": "tsc -b"
24
+ },
25
+ "dependencies": {
26
+ "@astur-mobile/cli": "0.1.0-beta.1"
27
+ },
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "git+https://github.com/Astur-mobile/Astur.git",
31
+ "directory": "packages/astur-mobile"
32
+ },
33
+ "homepage": "https://astur-mobile.github.io/Astur/",
34
+ "bugs": {
35
+ "url": "https://github.com/Astur-mobile/Astur/issues"
36
+ }
37
+ }