Contributing to sakura
July 20, 2022 ยท View on GitHub
:+1::tada: First off, thanks for taking the time to contribute! :tada::+1:
Getting started
- Fork the repository
- Clone the forked repository
git clone https://github.com/<user>/sakura.git - Install dependencies
npm install - Run
npm run scss:watchandnpm run test - Make your changes -> Check them out at localhost:8080/test.html
- Make sure to test on Chrome and Firefox both
- Submit a PR with a description of your changes
Scripts
npm run bookmarklet- minify bookmarklet source code and prepare it to embedded as a bookmarknpm run scss- generate css files from scss source filesnpm run scss:watch- watch for changes in scss source files and generate css files accordinglynpm run build- generate js and css filesnpm run test- run a server to load test.html file in browser