mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -07:00
[FL-3918] Full-fledged JS SDK + npm packages (#3963)
* feat: js sdk * refactor: move js back where it belongs * docs: generate docs using typedoc * feat: sdk versioning scheme * ci: silence pvs warning * docs: bring back old incomplete js docs * style: readAnalog naming * fix: rename script compatibility screens Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{
|
||||
build: {
|
||||
// Where to put the compiled file
|
||||
output: "dist/<app_name>.js",
|
||||
|
||||
// Whether to reduce the final file size at the cost of readability and
|
||||
// clarity of error messages
|
||||
minify: false,
|
||||
|
||||
// Set this to `false` if you've thoroughly read the documentation and
|
||||
// are sure that you can use manual version checks to your advantage
|
||||
enforceSdkVersion: true,
|
||||
},
|
||||
|
||||
upload: {
|
||||
// Where to grab the file from. If you're not doing any extra processing
|
||||
// after the SDK, this should match `build.output`
|
||||
input: "dist/<app_name>.js",
|
||||
|
||||
// Where to put the file on the device
|
||||
output: "/ext/apps/Scripts/<app_name>.js",
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user