Updated 24 May 2020

Running scripts on project start

It can be useful to run scripts every time a project is started. For example, it is convenient to have packages installed by default. This way, anyone receiving the strove project link (more on making them in Sharing a project) will have all the dependencies installed. To add your own script, create a strove.json file in the root folder of your project and add your desired script to "init" This is a strove.json file that runs yarn command (commonly used in javascript to install packages):


Note that we do not display the init command output in the terminal in the current version of Strove, but it will be run nonetheless.