Skip to content

Commit 22d078a

Browse files
committed
Merge pull request marcj#53 from Partyschaum/master
Add grunt and version bump task
2 parents bd02a96 + b72df91 commit 22d078a

File tree

4 files changed

+44
-1
lines changed

4 files changed

+44
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

Gruntfile.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/* jshint node: true */
2+
module.exports = function(grunt) {
3+
'use strict';
4+
5+
grunt.loadNpmTasks('grunt-bump');
6+
7+
grunt.initConfig({
8+
bump: {
9+
options: {
10+
files: ['package.json', 'bower.json'],
11+
commitFiles: ['package.json', 'bower.json'],
12+
pushTo: 'origin'
13+
}
14+
}
15+
});
16+
};

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "css-element-queries",
3-
"version": "0.0.2",
3+
"version": "0.2.0",
44
"main": [
55
"./src/ElementQueries.js",
66
"./src/ResizeSensor.js"

package.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "css-element-queries",
3+
"version": "0.2.0",
4+
"description": "CSS-Element-Queries Polyfill. proof-of-concept for high-speed element dimension/media queries in valid css.",
5+
"main": "src/ElementQueries.js",
6+
"directories": {
7+
"test": "test"
8+
},
9+
"scripts": {
10+
"test": "echo \"Error: no test specified\" && exit 1"
11+
},
12+
"repository": {
13+
"type": "git",
14+
"url": "git@github.com:marcj/css-element-queries.git"
15+
},
16+
"author": "Marc J. Schmidt",
17+
"license": "MIT",
18+
"bugs": {
19+
"url": "https://github.com/marcj/css-element-queries/issues"
20+
},
21+
"homepage": "https://github.com/marcj/css-element-queries",
22+
"devDependencies": {
23+
"grunt": "^0.4.5",
24+
"grunt-bump": "^0.3.1"
25+
}
26+
}

0 commit comments

Comments
 (0)