diff --git a/.gitignore b/.gitignore index 57a9aee..f093ab6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ node_modules/ - +out/* package-lock.json diff --git a/package.json b/package.json index 0254fc4..e4b45b5 100644 --- a/package.json +++ b/package.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": "",