This is a simple template for a Crankscript project.
Install dependencies:
npm install
Build and run the simulator:
npm run simulator
Optionally use the --watch
flag to automatically rebuild and restart the simulator when files change:
npm run simulator -- --watch
When the --background
flag is used, the simulator will not be brought to the foreground (note that this is only supported on MacOS):
npm run simulator -- --watch --background
Read more about using --watch
in Linux and Windows here.