Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Commit

Permalink
Stupid basic jshint check in npm test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian MacLeod committed Nov 12, 2014
1 parent 9d9657c commit 16559b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gh/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
var yeoman = require('yeoman-generator');
var path = require('path');
var yosay = require('yosay');
var ncp = require('ncp')
var ncp = require('ncp');
var spawn = require('child_process').spawn;
var rimraf = require('rimraf');

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"url": "git://github.com/yeoman/generator-polymer.git"
},
"scripts": {
"test": "mocha --reporter spec"
"test": "jshint {app,el,gh,seed}/*.js && mocha --reporter spec"
},
"dependencies": {
"chalk": "^0.5.1",
Expand All @@ -34,6 +34,7 @@
"yo": ">=1.0.0"
},
"devDependencies": {
"jshint": "*",
"mocha": "*"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion seed/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = yeoman.generators.Base.extend({

this.prompt(prompts, function (props) {
this.ghUser = props.ghUser;
this.elementName = props.elementName
this.elementName = props.elementName;

done();
}.bind(this));
Expand Down

0 comments on commit 16559b9

Please sign in to comment.