A (S)crappy SCSS to dump CSS for linking using CDN.
Pebble is a simple and straightforward tool for compiling SCSS into CSS and managing stylesheets via CDN. It leverages modern SCSS capabilities and provides an easy way to build and watch SCSS files.
To get started with Pebble, clone the repository and install the dependencies.
git clone https://github.com/32teeth/Pebble.git
cd Pebble
npm installEnsure you have Node.js 20.x and npm 10.x installed on your machine.
To build the SCSS files into CSS, run the following command:
npm run sass:buildTo watch the SCSS files and automatically build on changes, run:
npm run sass:watchsass:build: Compiles SCSS files into CSS and outputs them to thepublic/cssdirectory.sass:watch: Watches for changes in SCSS files and recompiles them automatically.sass: Runs thesass:watchscript.
If you would like to contribute to Pebble, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Make your changes and commit them with descriptive messages.
- Push your changes to your fork.
- Submit a pull request to the main repository.
This project is licensed under the ISC License. See the LICENSE file for details.
- Eugene Yevhen Andruszczenko - 32teeth
- Email: eugene.andruszczenko@gmail.com
- 32teeth - 32teeth
- Email: eugene.andruszczenko@gmail.com
This project uses Semantic Versioning. For the versions available, see the tags on this repository.
An update script (update.sh) is included to automate versioning, changelog generation, and releasing.
To use the update script, run:
./update.shThe script will perform the following steps:
- Version Update: It will read the current version from
package.json, increment the patch version (or minor/major if necessary), and update thepackage.jsonfile with the new version. - Changelog Update: It will generate a new entry in the
CHANGELOG.mdfile with placeholder changes. - Build SCSS: It will run
npm run sass:buildto compile the SCSS files. - GitHub Release: It will commit the changes, tag the new version, and create a new GitHub release with autogenerated notes.
For more details on how the update script works, refer to the update.sh file.
Thank you for using Pebble! If you have any questions or need further assistance, feel free to open an issue on GitHub.