Skip to content

Commit

Permalink
Merge pull request #73 from RallyApps/fix_package_json_name
Browse files Browse the repository at this point in the history
Remove spaces from name in package.json on init
  • Loading branch information
krmorse authored Mar 12, 2017
2 parents f3295b5 + fb3cf5b commit 5bd0e2f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/init.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module.exports = (args, callback)->
server: 'https://rally1.rallydev.com'
path: '.'
filePath = args.path
args.packageName = args.name.replace /\s/g, ''
view = args
templatePath = path.resolve(__dirname, '../templates/')

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Kyle Morse <[email protected]>",
"name": "rally-app-builder",
"description": "A node module that assists in the building of Rally Apps",
"version": "1.6.0",
"version": "1.6.1",
"homepage": "https://github.com/rallyapps/rally-app-builder",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion templates/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "{{name}}",
"name": "{{packageName}}",
"version": "0.1.1",
"private": true,
"devDependencies": {
Expand Down

0 comments on commit 5bd0e2f

Please sign in to comment.