Skip to content
This repository was archived by the owner on Jan 16, 2020. It is now read-only.

Commit a595f4a

Browse files
committed
Added Grunt and AUTHORS.txt.
1 parent d36cc95 commit a595f4a

File tree

6 files changed

+81
-2
lines changed

6 files changed

+81
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.jshintrc

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@
1313
"undef": true,
1414
"unused": true,
1515

16-
"browser": true,
17-
"jquery": true
16+
"node": true
1817
}

AUTHORS.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Authors ordered by first contribution.
2+
3+
Kris Borchers <[email protected]>
4+
Scott González <[email protected]>

Gruntfile.js

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
module.exports = function( grunt ) {
2+
3+
"use strict";
4+
5+
grunt.loadNpmTasks( "grunt-contrib-jshint" );
6+
grunt.loadNpmTasks( "grunt-git-authors" );
7+
8+
grunt.initConfig({
9+
jshint: {
10+
src: {
11+
options: {
12+
jshintrc: "src/.jshintrc"
13+
},
14+
files: {
15+
src: "src/*.js"
16+
}
17+
},
18+
grunt: {
19+
options: {
20+
jshintrc: ".jshintrc"
21+
},
22+
files: {
23+
src: [ "Gruntfile.js" ]
24+
}
25+
}
26+
}
27+
});
28+
29+
grunt.registerTask( "default", [ "lint" ] );
30+
grunt.registerTask( "lint", [ "jshint" ] );
31+
32+
};

package.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "jquery-pointer-events",
3+
"title": "jQuery Pointer Events",
4+
"version": "0.0.0",
5+
"description": "Pointer Events for jQuery",
6+
"repository": {
7+
"type": "git",
8+
"url": "git://github.com/jquery/jquery-pointer-events.git"
9+
},
10+
"author": {
11+
"name": "jQuery Foundation and other contributors",
12+
"url": "https://github.com/jquery/jquery-pointer-events/blob/master/AUTHORS.txt"
13+
},
14+
"licenses": [
15+
{
16+
"type": "MIT",
17+
"url": "https://github.com/jquery/jquery-pointer-events/blob/master/LICENSE-MIT.txt"
18+
}
19+
],
20+
"devDependencies": {
21+
"grunt": "0.4.1",
22+
"grunt-git-authors": "1.2.0",
23+
"grunt-contrib-jshint": "0.4.3"
24+
}
25+
}

src/.jshintrc

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"boss": true,
3+
"curly": true,
4+
"eqeqeq": true,
5+
"eqnull": true,
6+
"expr": true,
7+
"immed": true,
8+
"noarg": true,
9+
"onevar": true,
10+
"quotmark": "double",
11+
"smarttabs": true,
12+
"trailing": true,
13+
"undef": true,
14+
"unused": true,
15+
16+
"browser": true,
17+
"jquery": true
18+
}

0 commit comments

Comments
 (0)