Comparing version 2.5.0 to 2.5.1
/*global module:false*/ | ||
const sass = require("node-sass"); | ||
module.exports = function(grunt) { | ||
// Project configuration. | ||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
pkg: grunt.file.readJSON("package.json"), | ||
meta: { | ||
getBanner: function () { | ||
return '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - <%= meta.banner %>'; | ||
getBanner: function() { | ||
return "/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - <%= meta.banner %>"; | ||
}, | ||
getBannerForBaseVersion: function () { | ||
return '/*! <%= pkg.title || pkg.name %> (base version) - v<%= pkg.version %> - <%= meta.banner %>'; | ||
getBannerForBaseVersion: function() { | ||
return "/*! <%= pkg.title || pkg.name %> (base version) - v<%= pkg.version %> - <%= meta.banner %>"; | ||
}, | ||
banner: '<%= grunt.template.today("yyyy-mm-dd") + "\\n" %>' + | ||
banner: | ||
'<%= grunt.template.today("yyyy-mm-dd") + "\\n" %>' + | ||
'<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' + | ||
@@ -21,6 +24,10 @@ '* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %> */\n\n' | ||
sass: { | ||
options: { | ||
implementation: sass, | ||
sourceMap: false | ||
}, | ||
dist: { | ||
files: { | ||
'<%= pkg.name %>.css': 'src/<%= pkg.name %>.scss', | ||
'<%= pkg.name %>.base.css': 'src/<%= pkg.name %>.base.scss' | ||
"<%= pkg.name %>.css": "src/<%= pkg.name %>.scss", | ||
"<%= pkg.name %>.base.css": "src/<%= pkg.name %>.base.scss" | ||
} | ||
@@ -36,4 +43,4 @@ } | ||
files: { | ||
'<%= pkg.name %>.min.css': [ '<%= pkg.name %>.css' ], | ||
'<%= pkg.name %>.base.min.css': [ '<%= pkg.name %>.base.css' ] | ||
"<%= pkg.name %>.min.css": ["<%= pkg.name %>.css"], | ||
"<%= pkg.name %>.base.min.css": ["<%= pkg.name %>.base.css"] | ||
} | ||
@@ -46,25 +53,25 @@ } | ||
options: { | ||
banner: '<%= meta.getBanner() %>' | ||
banner: "<%= meta.getBanner() %>" | ||
}, | ||
lib: { | ||
src: ['<%= pkg.name %>.css'], | ||
dest: '<%= pkg.name %>.css' | ||
src: ["<%= pkg.name %>.css"], | ||
dest: "<%= pkg.name %>.css" | ||
}, | ||
minLib: { | ||
src: ['<%= pkg.name %>.min.css'], | ||
dest: '<%= pkg.name %>.min.css' | ||
src: ["<%= pkg.name %>.min.css"], | ||
dest: "<%= pkg.name %>.min.css" | ||
}, | ||
baseLib: { | ||
options: { | ||
banner: '<%= meta.getBannerForBaseVersion() %>' | ||
banner: "<%= meta.getBannerForBaseVersion() %>" | ||
}, | ||
src: ['<%= pkg.name %>.base.css'], | ||
dest: '<%= pkg.name %>.base.css' | ||
src: ["<%= pkg.name %>.base.css"], | ||
dest: "<%= pkg.name %>.base.css" | ||
}, | ||
baseMinLib: { | ||
options: { | ||
banner: '<%= meta.getBannerForBaseVersion() %>' | ||
banner: "<%= meta.getBannerForBaseVersion() %>" | ||
}, | ||
src: ['<%= pkg.name %>.base.min.css'], | ||
dest: '<%= pkg.name %>.base.min.css' | ||
src: ["<%= pkg.name %>.base.min.css"], | ||
dest: "<%= pkg.name %>.base.min.css" | ||
} | ||
@@ -74,4 +81,4 @@ }, | ||
watch: { | ||
files: 'src/*.scss', | ||
tasks: 'default' | ||
files: "src/*.scss", | ||
tasks: "default" | ||
} | ||
@@ -81,11 +88,10 @@ }); | ||
// Dependencies | ||
grunt.loadNpmTasks('grunt-sass'); | ||
grunt.loadNpmTasks('grunt-contrib-cssmin'); | ||
grunt.loadNpmTasks('grunt-contrib-concat'); | ||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
grunt.loadNpmTasks("grunt-sass"); | ||
grunt.loadNpmTasks("grunt-contrib-cssmin"); | ||
grunt.loadNpmTasks("grunt-contrib-concat"); | ||
grunt.loadNpmTasks("grunt-contrib-watch"); | ||
// Default task. | ||
grunt.registerTask('default', 'sass'); | ||
grunt.registerTask('deploy', ['sass', 'cssmin', 'concat']); | ||
grunt.registerTask("default", "sass"); | ||
grunt.registerTask("deploy", ["sass", "cssmin", "concat"]); | ||
}; |
{ | ||
"name": "hint.css", | ||
"title": "Hint.css", | ||
"description": "A tooltip library in CSS for your lovely websites.", | ||
"version": "2.5.0", | ||
"style": "hint.css", | ||
"main": "hint.css", | ||
"homepage": "http://kushagragour.in/lab/hint/", | ||
"author": { | ||
"name": "Kushagra Gour", | ||
"email": "chinchang457@gmail.com", | ||
"url": "http://kushagragour.in" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/chinchang/hint.css.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/chinchang/hint.css/issues" | ||
}, | ||
"license": "See LICENSE.md", | ||
"keywords": [ | ||
"tooltip", | ||
"ui", | ||
"sass", | ||
"css", | ||
"help", | ||
"hint" | ||
], | ||
"devDependencies": { | ||
"grunt": "~0.4.1", | ||
"grunt-contrib-concat": "~0.3.0", | ||
"grunt-contrib-cssmin": "~0.12.3", | ||
"grunt-contrib-watch": "~0.5.3", | ||
"grunt-sass": "^1.1.0" | ||
} | ||
"name": "hint.css", | ||
"title": "Hint.css", | ||
"description": "A tooltip library in CSS for your lovely websites.", | ||
"version": "2.5.1", | ||
"style": "hint.css", | ||
"main": "hint.css", | ||
"homepage": "http://kushagragour.in/lab/hint/", | ||
"author": { | ||
"name": "Kushagra Gour", | ||
"email": "chinchang457@gmail.com", | ||
"url": "http://kushagragour.in" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/chinchang/hint.css.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/chinchang/hint.css/issues" | ||
}, | ||
"license": "See LICENSE.md", | ||
"keywords": [ | ||
"tooltip", | ||
"ui", | ||
"sass", | ||
"css", | ||
"help", | ||
"hint" | ||
], | ||
"devDependencies": { | ||
"grunt": "~0.4.1", | ||
"grunt-contrib-concat": "~0.3.0", | ||
"grunt-contrib-cssmin": "~0.12.3", | ||
"grunt-contrib-watch": "~0.5.3", | ||
"grunt-sass": "^3.0.2", | ||
"node-sass": "^4.10.0" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# Hint.css [![npm version](https://badge.fury.io/js/hint.css.svg)](https://badge.fury.io/js/hint.css) ![downloads/month](https://img.shields.io/npm/dm/hint.css.svg) [![Join the chat at https://gitter.im/chinchang/hint.css](https://badges.gitter.im/chinchang/hint.css.svg)](https://gitter.im/chinchang/hint.css?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
# Hint.css [![npm version](https://badge.fury.io/js/hint.css.svg)](https://badge.fury.io/js/hint.css) ![downloads/month](https://img.shields.io/npm/dm/hint.css.svg) [![Join the chat at https://gitter.im/chinchang/hint.css](https://badges.gitter.im/chinchang/hint.css.svg)](https://gitter.im/chinchang/hint.css?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) ![gzip size](http://img.badgesize.io/https://unpkg.com/hint.css/hint.min.css?compression=gzip&label=gzip%20size) | ||
*A tooltip library in CSS for your lovely websites* | ||
@@ -8,2 +8,4 @@ | ||
## Get Started | ||
@@ -71,4 +73,5 @@ | ||
- [Fiverr](https://www.fiverr.com/) | ||
- [Tolks](https://tolks.io) | ||
- [Stackshare](http://stackshare.io/) | ||
- [Siftery](https://siftery.com/) | ||
- [LessPass](https://lesspass.com/#/) | ||
- [Tridiv](http://tridiv.com/) | ||
@@ -78,4 +81,5 @@ - [Alm - TypeScript IDE](http://alm.tools/) | ||
- [Tradus](http://tradus.com/) | ||
- [Web Maker](https://webmakerapp.com) | ||
- [Tolks](https://tolks.io) | ||
- [Formspree](http://formspree.io/) | ||
- [LessPass](https://lesspass.com/#/) | ||
- [codeMagic](http://codemagic.gr/) | ||
@@ -82,0 +86,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
160308
27
1028
126
6