Skip to content

Commit

Permalink
#11 versions up
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jan 8, 2024
1 parent 0b19c6a commit ef9d4ac
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 18 deletions.
24 changes: 19 additions & 5 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@ module.exports = function (grunt) {
outputStyle: 'compressed'
},
files: {
'drops.min.css': 'scss/main.scss'
'tacit.min.css': 'scss/main.scss'
}
},
dist: {
options: {
sourceMap: true,
outputStyle: 'compressed'
outputStyle: 'compressed',
implementation: require('node-sass')
},
files: {
'dist/<%= pkg.name %>-<%= pkg.version %>.min.css': 'scss/main.scss'
Expand All @@ -53,7 +54,8 @@ module.exports = function (grunt) {
uncompressed: {
options: {
sourceMap: false,
outputStyle: 'expanded'
outputStyle: 'expanded',
implementation: require('node-sass')
},
files: {
'dist/<%= pkg.name %>-<%= pkg.version %>.css': 'scss/main.scss'
Expand All @@ -67,10 +69,22 @@ module.exports = function (grunt) {
}
},
sasslint: {
target: [
allFiles: [
'scss/*.scss'
]
}
},
css_purge: {
dist: {
options: {},
src: 'dist/<%= pkg.name %>-<%= pkg.version %>.min.css',
dest: 'dist/<%= pkg.name %>-<%= pkg.version %>.min.css',
},
uncompressed: {
options: {},
src: 'dist/<%= pkg.name %>-<%= pkg.version %>.css',
dest: 'dist/<%= pkg.name %>-<%= pkg.version %>.css',
},
},
}
);
require('load-grunt-tasks')(grunt, { scope: 'devDependencies' });
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![DevOps By Rultor.com](http://www.rultor.com/b/yegor256/drops)](http://www.rultor.com/p/yegor256/drops)

[![Build Status](https://img.shields.io/travis/yegor256/drops/master.svg)](https://travis-ci.org/yegor256/drops)
[![grunt](https://github.com/yegor256/drops/actions/workflows/grunt.yml/badge.svg)](https://github.com/yegor256/drops/actions/workflows/grunt.yml)
[![PDD status](http://www.0pdd.com/svg?name=yegor256/drops)](http://www.0pdd.com/p?name=teamed/yegor256/drops)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/drops/blob/master/LICENSE.txt)
[![NPM version](https://badge.fury.io/js/drops.svg)](http://badge.fury.io/js/drops)
Expand Down Expand Up @@ -29,7 +29,7 @@ You do this:
<p class="tomato bold right">Hello</p>
```

Here is a full list of "drops":
Here is a full list of "drops" (excluding the colors):

| CSS class | Style |
|---|---|
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@
],
"homepage": "https://github.com/yegor256/drops",
"devDependencies": {
"grunt": "^1.0.3",
"grunt-contrib-watch": "^1.1.0",
"grunt-sass": "^2.0.0",
"grunt-sass-lint": "^0.2.4",
"load-grunt-tasks": "3.5.2"
},
"dependencies": {
"css-validator": "^0.11.0",
"glob": "^7.1.3",
"npm": "^6.2.0",
"path": "^0.12.7"
"grunt": "^1.4.3",
"grunt-contrib-watch": "1.1.0",
"grunt-css-purge": "1.1.0",
"grunt-sass": "3.1.0",
"grunt-sass-lint": "0.2.4",
"load-grunt-tasks": "5.1.0",
"css-validator": "0.11.0",
"glob": "10.3.10",
"npm": "10.2.5",
"node-sass": "9.0.0",
"path": "0.12.7"
}
}

0 comments on commit ef9d4ac

Please sign in to comment.