Skip to content

Commit 2233ee9

Browse files
committed
chore(gen): simplify package.json templating
1 parent 93c295c commit 2233ee9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: app/templates/_package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,18 @@
77
"morgan": "~1.0.0",
88
"body-parser": "~1.5.0",
99
"method-override": "~1.0.0",
10-
"serve-favicon": "~2.0.1",
1110
"cookie-parser": "~1.0.1",
1211
"express-session": "~1.0.2",
1312
"errorhandler": "~1.0.0",
1413
"compression": "~1.0.1",
14+
"composable-middleware": "^0.3.0",
1515
"lodash": "~2.4.1",<% if(filters.babel) { %>
1616
"babel-core": "^5.6.4",<% } %><% if (filters.jade) { %>
1717
"jade": "~1.2.0",<% } %><% if (filters.html) { %>
1818
"ejs": "~0.8.4",<% } %><% if (filters.mongoose) { %>
1919
"mongoose": "~4.0.3",
20-
"mongoose-bird": "~0.0.1",<% } %><% if (filters.sequelize) { %>
20+
"mongoose-bird": "~0.0.1",
21+
"connect-mongo": "^0.8.1",<% } %><% if (filters.sequelize) { %>
2122
"sequelize": "^2.0.0-rc2",
2223
"sqlite3": "~3.0.2",<% } %><% if (filters.auth) { %>
2324
"jsonwebtoken": "^5.0.0",
@@ -26,12 +27,11 @@
2627
"passport-local": "~0.1.6",<% } %><% if (filters.facebookAuth) { %>
2728
"passport-facebook": "latest",<% } %><% if (filters.twitterAuth) { %>
2829
"passport-twitter": "latest",<% } %><% if (filters.googleAuth) { %>
29-
"passport-google-oauth": "latest",<% } %>
30-
"composable-middleware": "^0.3.0"<% if (filters.mongoose) { %>,
31-
"connect-mongo": "^0.8.1"<% } %><% if (filters.socketio) { %>,
30+
"passport-google-oauth": "latest",<% } %><% if (filters.socketio) { %>
3231
"socket.io": "^1.0.6",
3332
"socket.io-client": "^1.0.6",
34-
"socketio-jwt": "^3.0.0"<% } %>
33+
"socketio-jwt": "^3.0.0",<% } %>
34+
"serve-favicon": "~2.0.1"
3535
},
3636
"devDependencies": {
3737
"grunt": "~0.4.4",

0 commit comments

Comments
 (0)