Skip to content

Commit 1d5ab7d

Browse files
committed
feat(app): server ships with babel
1 parent 0438921 commit 1d5ab7d

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

Diff for: app/templates/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ This project was generated with the [Angular Full-Stack Generator](https://githu
1111
- [Bower](bower.io) (`npm install --global bower`)<% if(filters.sass) { %>
1212
- [Ruby](https://www.ruby-lang.org) and then `gem install sass`<% } if(filters.grunt) { %>
1313
- [Grunt](http://gruntjs.com/) (`npm install --global grunt-cli`)<% } if(filters.gulp) { %>
14-
- [Gulp](http://gulpjs.com/) (`npm install --global gulp`)<% } if(filters.babel) { %>
15-
- [Babel](https://babeljs.io) (`npm install --global babel`)<% } if(filters.mongoose) { %>
14+
- [Gulp](http://gulpjs.com/) (`npm install --global gulp`)<% } if(filters.mongoose) { %>
1615
- [MongoDB](https://www.mongodb.org/) - Keep a running daemon with `mongod`<% } if(filters.sequelize) { %>
1716
- [SQLite](https://www.sqlite.org/quickstart.html)<% } %>
1817

Diff for: app/templates/_package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"errorhandler": "~1.0.0",
1313
"compression": "~1.0.1",
1414
"composable-middleware": "^0.3.0",
15-
"lodash": "~2.4.1",<% if(filters.babel) { %>
16-
"babel-core": "^5.6.4",<% } %><% if (filters.jade) { %>
15+
"lodash": "~2.4.1",
16+
"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",

Diff for: app/templates/server/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
'use strict';<% if (filters.babel) { %>
1+
'use strict';
22

33
// Register the Babel require hook
4-
require('babel-core/register');<% } %>
4+
require('babel-core/register');
55

66
// Export the application
77
exports = module.exports = require('./app');

0 commit comments

Comments
 (0)