manifest.json. The loader reads it first; no manifest, no script.
Fields
All fields are optional. The values end up on thescript global.
localStorage is keyed by the folder name, not name.
Permissions
By default a script can do everything. To restrict it, list only what it needs:Folder layout
@native/* modules and relative files inside the folder. .js is appended
when there’s no extension. There’s no node_modules at runtime.
The script hot-reloads when any file in its folder changes, except under data/.