https://github.com/turretcss/turretcss-boilerplate
Basic turretcss boilerplate for front-end development using turretcss, PostCSS, PostCSS CLI, cssnext, and CSSNano.
https://github.com/turretcss/turretcss-boilerplate
Last synced: over 1 year ago
JSON representation
Basic turretcss boilerplate for front-end development using turretcss, PostCSS, PostCSS CLI, cssnext, and CSSNano.
- Host: GitHub
- URL: https://github.com/turretcss/turretcss-boilerplate
- Owner: turretcss
- Created: 2015-07-14T04:58:50.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T02:07:33.000Z (over 3 years ago)
- Last Synced: 2025-01-08T08:46:57.530Z (over 1 year ago)
- Language: HTML
- Homepage:
- Size: 164 KB
- Stars: 14
- Watchers: 3
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# turretcss boilerplate
The turretcss-boilerplate is a basic boilerplate using [turretcss][turretcss], [PostCSS][postcss], [PostCSS CLI][postcss cli], [postcss-preset-env][postcss-preset-env], and [CSSNano][cssnano].
## Quick start
There are two quick start ways to download turretcss boilerplate:
- [Download the latest release](https://github.com/turretcss/turretcss-boilerplate/archive/master.zip).
- Clone the repo: `git clone https://github.com/turretcss/turretcss-boilerplate.git`.
## Usage
Once downloaded make sure to run `npm install` or `yarn` to install all npm dependancies.
## What's Included
Within the download you'll find the following directories and files.
```
template/
├── assets/
│ ├── css/
│ ├── fonts/
│ ├── glyphs/
│ ├── images/
├── dist/
│ index.html
│ package.json
│ postcss.config.js
│ README.md
│ theme.html
└─ yarn.lock
```
## Scripts
### start
Start script runs the `watch` script
```
"start": "npm run watch"
```
### watch
Runs the build script and watches directory
```
"watch": "npm run build -- -w"
```
### build
Builds CSS using PostCSS through `postcss-cli`, config is contained in `postcss.config.js`
```
"build": "postcss assets/css/main.css -o dist/bundle.css",
```
## Creators
**Scott de Jonge**
* Twitter: [@scottdejonge](https://twitter.com/scottdejonge)
* Github: [@scottdejonge](https://github.com/scottdejonge)
## Versioning
Template is maintained under [the Semantic Versioning guidelines](http://semver.org/).
## Copyright and license
Code released under the MIT license.
[turretcss]: https://turretcss.com/
[postcss]: https://postcss.org/
[postcss cli]: https://github.com/postcss/postcss-cli
[postcss-preset-env]: https://preset-env.cssdb.org/
[cssnano]: https://cssnano.co/