build/
in the root folder of your app. After this compilation, Homey will bundle all JavaScript files into one app.tsconfig.json
is present in the root folder of your app, the Homey CLI will default to TypeScript when running homey app driver create
. If you want to avoid this, remove or rename tsconfig.json
file.tsconfig.json
file will also prevent the TypeScript compiler from being invoked when running/installing/publishing your app.homey app create
in your terminal and answer 'Yes' when the CLI asks you to initialize your app with TypeScript utilities. All necessary and recommended dependencies and files will be created for you..tsconfig.json
to the root folder of your App. This will make Homey recognize your app as a TypeScript app. You are free to configure tsconfig.json
to your liking. Only exception being the outDir
which should remain build
and having sourceMap: true
is strongly recommended..tsconfig.json
present in the root folder of your app. Then run the following command to install all necessary dependencies.'use strict'
).build
script.homey app run
. If you performed all steps correctly, then you should see a Compiling TypeScript...
prompt before your app is being run.