2023-01-11 15:47:18 -06:00
2023-01-11 15:36:34 -06:00
2023-01-11 15:36:34 -06:00
2022-06-06 21:00:10 -05:00
2022-06-06 21:00:10 -05:00
2022-06-06 21:00:10 -05:00
2022-06-06 21:26:55 -05:00
2022-06-06 21:00:10 -05:00
2022-06-06 21:21:58 -05:00
2022-06-11 00:05:32 -05:00
2023-01-11 15:36:34 -06:00
2023-01-11 15:47:18 -06:00
2022-06-06 21:18:06 -05:00

browser-scripts-builder

builder for browser-scripts

Source File Structure

note: if package.json is not present, running the command is presumed to be a mistake and will refuse to run

Root
├───<package.json/etc>
└───scripts
    └───[each script folder]
        ├───<tsconfig.json>
        ├───<other files for main.ts>
        ├───main.ts
        └───meta.json (optional)

Dist File Structure

Root
├───<package.json/etc>
└───dist
    └───[each script folder].user.js

if there is an error compiling a file, an error.log will be placed inside the source folder:

Root
├───<package.json/etc>
└───scripts
    └───[each script folder]
        └───error.log

Command Line Options

--watch
    alias: -w
    automatically recompile on save
--minify
    alias: -m
    minify output files
--prettier
    alias: -p
    prettify output files
--srccomment
    alias: -s
    include src file path comments in the output files, i.e. // scripts/example/main.ts
--help
    alias: -h
    show this help message
Description
No description provided
Readme 459 KiB
Languages
TypeScript 99.9%
JavaScript 0.1%