Skip to content

Commit b1a5032

Browse files
committed
Build: Modernize the build stack
This eliminated about 80 vulnerabilities from older build tools.
1 parent 21672e3 commit b1a5032

File tree

7 files changed

+1097
-78
lines changed

7 files changed

+1097
-78
lines changed

.eslintrc.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
// Support: IE11 without transpilation
3+
"parserOptions": {
4+
"ecmaVersion": 5
5+
},
6+
// Support: Non-browser envs like jsdom
7+
"env": {},
8+
"extends": "jquery",
9+
"globals": {
10+
"window": "readonly",
11+
"define": "readonly",
12+
"module": "readonly",
13+
"jQuery": "readonly"
14+
},
15+
"rules": {
16+
}
17+
};

.jshintrc

Lines changed: 0 additions & 19 deletions
This file was deleted.

Gruntfile.js

Lines changed: 0 additions & 47 deletions
This file was deleted.

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,12 @@ In your browser-side javascript:
7676
var $ = require('jquery-browserify');
7777
require('jquery-mousewheel')($);
7878
```
79+
80+
## Building the code in the repo
81+
82+
```sh
83+
$ git clone [email protected]:jquery/jquery-mousewheel.git
84+
$ cd jquery-mousewheel/
85+
$ npm install
86+
$ npm run build
87+
```

bower.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@
77
"*.txt",
88
".*",
99
"!LICENSE.txt",
10-
"Gruntfile.js",
1110
"test"
1211
],
1312
"dependencies": {
14-
"jquery": ">=1.2.2"
13+
"jquery": ">=1.7.2"
1514
}
1615
}

0 commit comments

Comments
 (0)