Skip to content
This repository was archived by the owner on Jun 3, 2018. It is now read-only.

Commit b50d2e4

Browse files
committed
Add bower.json
1 parent 10138c4 commit b50d2e4

File tree

4 files changed

+56
-0
lines changed

4 files changed

+56
-0
lines changed

Gruntfile.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ module.exports = function(grunt) {
3131
},
3232
src: ["src/timeout.jquery.json"],
3333
dest: "timeout.jquery.json"
34+
},
35+
bower: {
36+
options: {
37+
process: true
38+
},
39+
src: ["src/bower.json"],
40+
dest: "bower.json"
3441
}
3542
},
3643

bower.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "jquery-timeout",
3+
"description": "Simple, yet elegant jQuery.Deferred wrapper for window.setTimeout() and window.clearTimeout().",
4+
"version": "1.3.2",
5+
"main": "dist/jquery.timeout.js",
6+
"license": "MIT",
7+
"ignore": [
8+
"**/.*",
9+
"**/*.json",
10+
"bower_components",
11+
"node_modules",
12+
"tests",
13+
"Gruntfile.js"
14+
],
15+
"keywords": ["timeout","deferred","promise","delay","jquery"],
16+
"authors": [
17+
"Thomas Kemmer <tkemmer@computer.org>"
18+
],
19+
"homepage": "http://github.com/tkem/jquery-timeout/",
20+
"repository": {"type":"git","url":"https://github.com/tkem/jquery-timeout.git"},
21+
"dependencies": {
22+
"jquery": ">=1.5"
23+
}
24+
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"homepage": "http://github.com/tkem/jquery-timeout/",
88
"bugs": "https://github.com/tkem/jquery-timeout/issues/",
99
"license": "MIT",
10+
"main": "dist/jquery.timeout.js",
1011
"author": {
1112
"name": "Thomas Kemmer",
1213
"email": "tkemmer@computer.org"

src/bower.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "<%= pkg.name %>",
3+
"description": "<%= pkg.description %>",
4+
"version": "<%= pkg.version %>",
5+
"main": "<%= pkg.main %>",
6+
"license": "<%= pkg.license %>",
7+
"ignore": [
8+
"**/.*",
9+
"**/*.json",
10+
"bower_components",
11+
"node_modules",
12+
"tests",
13+
"Gruntfile.js"
14+
],
15+
"keywords": <%= JSON.stringify(pkg.keywords.concat("jquery")) %>,
16+
"authors": [
17+
"<%= pkg.author.name %> <<%= pkg.author.email %>>"
18+
],
19+
"homepage": "<%= pkg.homepage %>",
20+
"repository": <%= JSON.stringify(pkg.repository) %>,
21+
"dependencies": {
22+
"jquery": "<%= pkg.dependencies.jquery %>"
23+
}
24+
}

0 commit comments

Comments
 (0)