0.1.18 • Published 7 years ago
uol-test-toolkit-assets v0.1.18
Demo Package - Do not use
This is a simple demo package to illustrate using NPM to manage SASS dependency
It exposes the SASS variable
$text-color
For testing purposes the $text-color variable is set to "hotpink"
Using it
Create a package.json
Something like:
Install the node_modules
$ npm install
To test, create a sass file in your project and add:
@import 'node_modules/uol-test-toolkit-assets/toolkit';
h1 {
color: $text-color;
}
Create a gulpfile.js
Something like:
var gulp = require('gulp');
var sass = require('gulp-sass');
gulp.task('sass', function () {
return gulp.src('./main.scss')
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest('./css'));
});
gulp.task('default', ['sass']);
Build
$ gulp
TODOs
- Create test dir with html "kitchen sink"
- Include javascript
0.1.18
7 years ago
0.1.17
7 years ago
0.1.16
7 years ago
0.1.15
7 years ago
0.1.14
7 years ago
0.1.13
7 years ago
0.1.12
7 years ago
0.1.11
7 years ago
0.1.10
7 years ago
0.1.9
7 years ago
0.1.8
7 years ago
0.1.7
7 years ago
0.1.6
7 years ago
0.1.5
7 years ago
0.1.4
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago