0.1.18 • Published 6 years ago

uol-test-toolkit-assets v0.1.18

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

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

6 years ago

0.1.17

6 years ago

0.1.16

6 years ago

0.1.15

6 years ago

0.1.14

6 years ago

0.1.13

6 years ago

0.1.12

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago