https://github.com/bigbite/base-legacy
https://github.com/bigbite/base-legacy
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bigbite/base-legacy
- Owner: bigbite
- Created: 2014-04-30T16:02:17.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-02T16:09:02.000Z (over 11 years ago)
- Last Synced: 2025-04-16T11:05:48.802Z (10 months ago)
- Language: CSS
- Size: 463 KB
- Stars: 9
- Watchers: 14
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Base project
> A base project with all the things.
## Contains
- Ruby Sass compile (with autoprefixer)
- Image compression
- SVG minify
- SVG to PNG
- Copy static assets (with uglify to `.js` and autoprefix + minify for `.css` files)
- Watch
- Reload on change with BrowserSync or LiveReload
- Optional static server
### Roadmap
- Bower
- Browserify
## Usage
### Clean build
Create a clean build and clean out the assets folder, useful to run before deploying to clean up any left over assets:
```
gulp build
```
### Watching files
#### Basic
Watch files and automatically run the necessary task:
````
gulp watch
```
#### LiveReload
Install the LiveReload browser extension (current requirement) and run:
```
gulp watch -l
```
#### BrowserSync
To enable [BrowserSync](http://browsersync.io), run:
```
gulp watch -s
```
#### Static Connect HTTP server
Starts a static HTTP server using [Connect](https://github.com/senchalabs/connect):
```
gulp watch -c
```