Skip to content

Commit

Permalink
moving localDeps back to deps b/c it works differently on npm
Browse files Browse the repository at this point in the history
  • Loading branch information
lancejpollard committed Sep 13, 2012
1 parent dce3628 commit eb69d4e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
9 changes: 5 additions & 4 deletions package.json
Expand Up @@ -74,7 +74,10 @@
"ember-runtime-node": ">= 0.9.7",
"ember-states-node": ">= 0.9.7",
"coffee-script": ">= 1.3.3",
"wrench": ">= 1.3.8"
"wrench": ">= 1.3.8",
"useragent": ">= 1.0.5",
"gm": "~1.4.1",
"temp": "~0.4.0"
},
"devDependencies": {
"findit": ">= 0.1.1"
Expand Down Expand Up @@ -104,9 +107,7 @@
"ejs": ">= 0.6.1"
},
"localDependencies": {
"useragent": ">= 1.0.5",
"gm": "~1.4.1",
"temp": "~0.4.0"

},
"scripts": {
"test": "make test",
Expand Down
2 changes: 1 addition & 1 deletion packages/tower-tasks/package.json
@@ -1,6 +1,6 @@
{
"name": "tower-tasks",
"version": "0.4.2-pre",
"version": "@VERSION",
"homepage": "http://viatropos.github.com/tower",
"main": "./tasks/index.js",
"author": "Lance Pollard <lancejpollard@gmail.com>",
Expand Down
3 changes: 2 additions & 1 deletion packages/tower-tasks/tasks/index.coffee
Expand Up @@ -83,7 +83,8 @@ module.exports = (grunt) ->

grunt.registerMultiTask 'copy', 'Copy files to destination folder and replace @VERSION with pkg.version', ->
replaceVersion = (source) ->
source.replace /version": "([^"]+)/g, 'version": "' + grunt.config('pkg.version')
# source.replace /version": "([^"]+)/g, 'version": "' + grunt.config('pkg.version')
source.replace /@VERSION/g, grunt.config('pkg.version')

copyFile = (src, dest) ->
if /(js|css|json)$/.test(src)
Expand Down
2 changes: 1 addition & 1 deletion packages/tower-view/package.json
@@ -1,6 +1,6 @@
{
"name": "tower-view",
"version": "0.4.2-pre",
"version": "@VERSION",
"homepage": "http://viatropos.github.com/tower",
"main": "./server.js",
"author": "Lance Pollard <lancejpollard@gmail.com>",
Expand Down

0 comments on commit eb69d4e

Please sign in to comment.