Skip to content

Instantly share code, notes, and snippets.

@hotohoto
Last active July 26, 2017 02:27
Show Gist options
  • Save hotohoto/6aa0da4fa6b8d7f0e4da7d0ce64e0c16 to your computer and use it in GitHub Desktop.
Save hotohoto/6aa0da4fa6b8d7f0e4da7d0ce64e0c16 to your computer and use it in GitHub Desktop.
Make a simple nodejs project base with babel-preset-latest
yarn init
yarn add babel-cli babel-preset-latest
vi index.js
"scripts": {
  "start": "babel-node --debug --presets latest -- index.js "
}
yarn start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment