puse / machina

Proof-of-concept browser automation toolkit :construction:
Mozilla Public License 2.0
1 stars 0 forks source link

Reorganize file and directory structure #34

Closed antaranyan closed 1 year ago

antaranyan commented 1 year ago

Proposing top-level layout for src/ like:

NOTE: This may be not enough organization when more functionality appears utilizing various API and adapters.

antaranyan commented 1 year ago

As our CLI-related functionality will take place mostly in src/, we can keep an single executable script for NPM in the root.

{
  "name": "machina",
  "bin": "./cli.js"
}
antaranyan commented 1 year ago

NOTE: This may be not enough organization when more functionality appears utilizing various API and adapters.

Better* layout can be:

Pros

Cons