File tree 4 files changed +13
-3
lines changed
4 files changed +13
-3
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "presets" : [ " es2015" ]
3
+ }
Original file line number Diff line number Diff line change @@ -17,3 +17,7 @@ npm-debug.log
17
17
node_modules
18
18
server_old
19
19
public
20
+
21
+ # OS generated stuff
22
+ .DS_Store
23
+ .DS_Store ?
Original file line number Diff line number Diff line change 1
- require ( "babel/register" ) ;
2
1
require ( './server' ) ;
Original file line number Diff line number Diff line change 4
4
"description" : " Starter project for an ES6 RESTful Express API" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
- "start" : " node index.js" ,
7
+ "start" : " babel- node index.js" ,
8
8
"test" : " echo \" Error: no test specified\" && exit 1"
9
9
},
10
10
"repository" : {
14
14
"author" :
" Jason Miller <[email protected] >" ,
15
15
"license" : " Proprietary" ,
16
16
"dependencies" : {
17
- "babel" : " ^5.8.21" ,
18
17
"body-parser" : " ^1.13.3" ,
19
18
"compression" : " ^1.5.2" ,
20
19
"cors" : " ^2.7.1" ,
21
20
"express" : " ^4.13.3" ,
22
21
"resource-router-middleware" : " ^0.5.1"
22
+ },
23
+ "devDependencies" : {
24
+ "babel-cli" : " ^6.9.0" ,
25
+ "babel-core" : " ^6.9.0" ,
26
+ "babel-preset-es2015" : " ^6.9.0"
23
27
}
24
28
}
You can’t perform that action at this time.
0 commit comments