add basic babel setup
This commit is contained in:
parent
b316ac26c8
commit
11cdf44480
11
package.json
11
package.json
|
@ -7,8 +7,15 @@
|
|||
"ioredis": "^4.1.0",
|
||||
"koa": "^2.5.3"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"scripts": {},
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.26.0",
|
||||
"babel-preset-env": "^1.7.0",
|
||||
"babel-preset-stage-2": "^6.24.1",
|
||||
"nodemon": "^1.18.4"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "nodemon --exec babel-node --presets env,stage-2 src/index.js"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
console.log('Hello Node.js project.')
|
Loading…
Reference in New Issue