Skip to content

Commit ab4ae46

Browse files
committed
Fix component and npm support
1 parent c09c0bd commit ab4ae46

File tree

5 files changed

+28
-7
lines changed

5 files changed

+28
-7
lines changed

.gitignore

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

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
jQuery Component
2+
================
3+
4+
Shim repository for jQuery.

component.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
{
2-
"name" : "jquery",
3-
"version" : "1.9.1",
4-
"main" : "./jquery.js",
5-
"dependencies": {
6-
}
2+
"name": "jquery",
3+
"version": "1.9.1",
4+
"description": "jQuery component",
5+
"keywords": [
6+
"jquery",
7+
"component"
8+
],
9+
"scripts": [
10+
"jquery.js"
11+
],
12+
"license": "MIT"
713
}
8-

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
"robloach/component-installer": "*"
2222
},
2323
"extra": {
24-
"js": "jquery.js"
24+
"component": {
25+
"scripts": [
26+
"jquery.js"
27+
]
28+
}
2529
}
2630
}

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "components-jquery",
3+
"version": "1.9.1",
4+
"description": "jQuery component",
5+
"keywords": ["jquery"],
6+
"main": "./jquery.js"
7+
}

0 commit comments

Comments
 (0)