scratch-gui
Scratch GUI is a set of React components that comprise the interface for creating and running Scratch 3.0 projects
Installation
This requires you to have Git and Node.js installed.
In your own node environment/application:
npm install https://github.com/LLK/scratch-gui.git
If you want to edit/play yourself:
git clone git@github.com:LLK/scratch-gui.git
cd scratch-gui
npm install
Playground
This requires Node.js to be installed.
Running the Playground
Open a Command Prompt or Terminal in the repository and run:
npm start
Then go to http://localhost:8601/ - the playground outputs the default GUI component
Testing
npm test
Git Hooks
If you would like to ensure your contributions build cleanly every time, opt in
to the git hooks for the project. Create a file called .opt-in
in the root of
the project with the contents:
precommit
prepush
postmerge
postrewrite
Or you can include only the hooks you would like to use.
precommit
Run lint before committing
prepush
Run tests before pushing
postmerge
npm install
after merging
postrewrite
npm install
after rebasing
Donate
We provide Scratch free of charge, and want to keep it that way! Please consider making a donation to support our continued engineering, design, community, and resource development efforts. Donations of any size are appreciated. Thank you!