Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dbankier/grunt-stss
Grunt Plugin for STSS
https://github.com/dbankier/grunt-stss
Last synced: about 2 months ago
JSON representation
Grunt Plugin for STSS
- Host: GitHub
- URL: https://github.com/dbankier/grunt-stss
- Owner: dbankier
- License: mit
- Created: 2014-07-08T00:07:30.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-23T00:37:51.000Z (over 8 years ago)
- Last Synced: 2024-10-07T14:19:05.075Z (3 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 4
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# grunt-stss
> grunt plugin for [stss](https://github.com/RonaldTreur/STSS) by @RonaldTreur
## Getting Started
This plugin requires Grunt `~0.4.5`If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
```shell
npm install grunt-stss --save-dev
```Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
```js
grunt.loadNpmTasks('grunt-stss');
```## The "stss" task
### Overview
In your project's Gruntfile, add a section named `stss` to the data object passed into `grunt.initConfig()`.```js
grunt.initConfig({
stss: {
options: {
// Task-specific options go here.
},
your_target: {
// Target-specific file lists and/or options go here.
},
},
});
```### Usage Examples
```js
grunt.initConfig({
stss: {
compile: {
files: [{
expand: true,
src: ['**/*.stss','!**/_*.stss'],
dest: 'app',
cwd: 'app',
ext: '.tss'
}],
}
}
});
```## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).## Release History
_(Nothing yet)_