play-co / devkit

HTML 5 game platform for browser and mobile
http://docs.gameclosure.com
622 stars 126 forks source link

cannot add to dependencies using git #271

Open yofreke opened 8 years ago

yofreke commented 8 years ago
"dependencies": {
  "devkit": "git+ssh://git@github.com:gameclosure/devkit.git#cda5161d3e62ba42434c5a4cd342dea7ede6803d"
}

Will fail because npm prepublish is not run (devkit serve then fails because the static files are not built). https://github.com/gameclosure/devkit/blob/1cb572d7ed31cdfccabeb5c4d48c9b68a1cde6c7/package.json#L40

Since all of the gulp dependencies are devDependencies, you can not easily fix as an end user. Please make it so that devkit can be used as a dependency over git.