mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 16:01:54 +00:00
- Rename `src/nostr-lock.mjs` to `src/lib.mjs` and export core functions. - Create `bin/torch-lock.mjs` as the CLI entry point. - Implement `dashboard` command in `src/lib.mjs` to serve the dashboard using Node.js. - Update `package.json` to configure `bin`, `main`, and `files` for NPM packaging. - Create `torch-config.example.json` as a template for consumers. - Update tests and README.md to reflect the new structure. - Exclude task-specific artifacts (logs, context) from the package while retaining prompts and docs. Co-authored-by: PR0M3TH3AN <[email protected]>
6 lines
90 B
JavaScript
Executable File
6 lines
90 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
import { main } from '../src/lib.mjs';
|
|
|
|
main(process.argv.slice(2));
|