https://github.com/idered/sauron
One build system to manage all your HTML, CSS, JS projects
https://github.com/idered/sauron
Last synced: 12 months ago
JSON representation
One build system to manage all your HTML, CSS, JS projects
- Host: GitHub
- URL: https://github.com/idered/sauron
- Owner: Idered
- Created: 2015-02-24T22:57:03.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-05T09:55:31.000Z (over 11 years ago)
- Last Synced: 2025-06-22T11:06:15.853Z (12 months ago)
- Language: CSS
- Homepage:
- Size: 180 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sauron
It's a starting point for your projects. First edit default project to your taste and use it as template for your
future projects.
It takes care of:
- sass compilation(fast)
- adding css prefixes (using autoprefixer)
- js/sass minification
- compiling all your vendor plugins into one vendor file
- setting up livereload server and file watchers
## Installation
Just download this repo and run: `npm install`
## Using Sauron
### Getting started
Edit files in `projects/default`, change default settings, add your favourite libs, customize default js structure, etc.
This will be used as your boilerplate.
### Creating new project
To create new project, run `gulp new --name PROJECT_NAME`. Your default template will be used as starting point for new
project. All dependencies will be automatically installed during project creation.
### Vendor JS files
To add new js lib to your project, use command `bower install PLUGIN --save` in project directory then add url to new
dependency to bower.json in vendor section. Files in bower.json/vendor will be automatically compiled to vendor.min.js
in project dist folder.
### Working with project
Every new project can be compiled using `gulp --project PROJECT_NAME` - your sass, js and vendor js will be compiled
to style.min.css, script.min.js and vendor.min.js, they're already hooked in default index.html.
## Licensing
Apache License