mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
commit
520fdf2f6a
2 changed files with 3 additions and 3 deletions
2
make.js
2
make.js
|
@ -1134,7 +1134,7 @@ target.lint = function() {
|
|||
var jshintPath = path.normalize('./node_modules/.bin/jshint');
|
||||
if (!test('-f', jshintPath)) {
|
||||
echo('jshint is not installed -- installing...');
|
||||
exec('npm install jshint');
|
||||
exec('npm install jshint@1.1'); // TODO read version from package.json
|
||||
}
|
||||
|
||||
exit(exec('"' + jshintPath + '" --reporter test/reporter.js ' +
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"name": "pdf.js",
|
||||
"version": "0.7.169",
|
||||
"version": "0.8.0",
|
||||
"dependencies": {
|
||||
"jshint": "git://github.com/jshint/jshint.git#42ace75a"
|
||||
"jshint": "1.1.x"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node make lint"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue