Permalink
Browse files

added gruntfile

  • Loading branch information...
1 parent f9f5cc1 commit 0476453c1a6fadbddad35b441d18206aa07e740d @pfefferle committed Feb 20, 2013
Showing with 74 additions and 1 deletion.
  1. +42 −0 Gruntfile.js
  2. +5 −1 component.json
  3. +27 −0 package.json
View
@@ -0,0 +1,42 @@
+module.exports = function(grunt) {
+
+ // Project configuration.
+ grunt.initConfig({
+ pkg: grunt.file.readJSON('package.json'),
+ sass: {
+ expanded: {
+ options: {
+ style: 'expanded'
+ },
+ files: {
+ 'css/openwebicons.css': 'sass/openwebicons.scss',
+ 'css/openwebicons-bootstrap.css': 'sass/openwebicons-bootstrap.scss'
+ }
+ },
+ compressed: {
+ options: {
+ style: 'compressed'
+ },
+ files: {
+ 'css/openwebicons.min.css': 'sass/openwebicons.scss',
+ 'css/openwebicons-bootstrap.min.css': 'sass/openwebicons-bootstrap.scss'
+ }
+ },
+ compact: {
+ options: {
+ style: 'compact'
+ },
+ files: {
+ 'css/weloveiconfonts.css': 'sass/weloveiconfonts.scss'
+ }
+ }
+ }
+ });
+
+ // Load the plugin that provides the "uglify" task.
+ grunt.loadNpmTasks('grunt-contrib-sass');
+
+ // Default task(s).
+ grunt.registerTask('default', ['sass']);
+
+};
View
@@ -1 +1,5 @@
-{"name": "openwebicons", "version": "1.0.2", "main": ["./css/openwebicons.css", "./css/openwebicons-bootstrap.css"]}
+{
+ "name": "openwebicons",
+ "version": "1.0.2",
+ "main": ["./css/openwebicons.css", "./css/openwebicons-bootstrap.css"]
+}
View
@@ -0,0 +1,27 @@
+{
+ "name": "openwebicons",
+ "version": "1.0.2",
+ "devDependencies": {
+ "grunt": "~0.4.0",
+ "grunt-contrib-sass": "~0.2.2"
+ },
+ "description": "OpenWeb Icons ============",
+ "main": "Gruntfile.js",
+ "directories": {
+ "test": "test"
+ },
+ "dependencies": {
+ "grunt": "~0.4.0",
+ "grunt-contrib-sass": "~0.2.2"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/pfefferle/openwebicons.git"
+ },
+ "keywords": [
+ "openweb",
+ "icons"
+ ],
+ "author": "Matthias Pfefferle",
+ "license": "SIL OPEN FONT LICENSE Version 1.1"
+}

0 comments on commit 0476453

Please sign in to comment.