Skip to content
This repository has been archived by the owner on Nov 25, 2019. It is now read-only.

Commit

Permalink
Update defaults
Browse files Browse the repository at this point in the history
Update default values and add gitignore.
  • Loading branch information
ericmann committed Apr 22, 2013
1 parent 8e27eb8 commit 26eddcd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
defaults.json
14 changes: 8 additions & 6 deletions template.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ exports.warnOn = '*';
exports.template = function( grunt, init, done ) {
init.process( {}, [
// Prompt for these values.
init.prompt('name'),
init.prompt('description'),
init.prompt('homepage'),
init.prompt('author_name'),
init.prompt('author_email'),
init.prompt('author_url')
init.prompt( 'name', 'WP Plugin' ),
init.prompt( 'description', 'The best WordPress extension ever made!' ),
init.prompt( 'homepage', 'http://wordpress.org/extend/plugins' ),
init.prompt( 'author_name' ),
init.prompt( 'author_email' ),
init.prompt( 'author_url' )
], function( err, props ) {
props.keywords = [];
props.devDependencies = {
Expand All @@ -38,6 +38,8 @@ exports.template = function( grunt, init, done ) {
'grunt-contrib-jshint': '~0.1.1',
'grunt-contrib-nodeunit': '~0.1.2',
'grunt-contrib-watch': '~0.2.0',
"grunt-contrib-sass" : "~0.2.2",
"grunt-contrib-less" : "~0.5.0",
};

// Files to copy and process
Expand Down

0 comments on commit 26eddcd

Please sign in to comment.