add babel build step
This commit is contained in:
parent
2a65270400
commit
283a74f657
|
@ -1,3 +1,3 @@
|
||||||
node_modules/
|
node_modules/
|
||||||
|
out/*
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
|
|
@ -16,7 +16,8 @@
|
||||||
"nodemon": "^1.18.4"
|
"nodemon": "^1.18.4"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"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": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|
Loading…
Reference in New Issue