add babel build step
This commit is contained in:
parent
2a65270400
commit
283a74f657
|
@ -1,3 +1,3 @@
|
|||
node_modules/
|
||||
|
||||
out/*
|
||||
package-lock.json
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
"nodemon": "^1.18.4"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "nodemon --exec babel-node --presets env,stage-2 src/index.js"
|
||||
"start": "nodemon --exec babel-node --presets env,stage-2 src/index.js",
|
||||
"build": "node_modules/.bin/babel src/index.js -o out/counter.js"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
|
Loading…
Reference in New Issue