Skip to content

Instantly share code, notes, and snippets.

@ricogoh
Created April 25, 2017 02:56
Show Gist options
  • Save ricogoh/0acef1b8b30ab96932469a17ea660a8f to your computer and use it in GitHub Desktop.
Save ricogoh/0acef1b8b30ab96932469a17ea660a8f to your computer and use it in GitHub Desktop.
{
"name": "babel-nodejs-setup",
"version": "1.0.0",
"description": "Babel nodejs setup",
"main": "dist/index.js",
"scripts": {
"start": "node bin/dev",
"clean": "rm -rf dist",
"build": "npm run clean && mkdir dist && babel server -s -d dist",
"production": "npm run build && node bin/production"
},
"keywords": [],
"author": "Rico Goh",
"license": "MIT",
"devDependencies": {
"babel-cli": "6.24.1",
"babel-preset-es2015": "6.24.1",
"babel-preset-stage-2": "6.24.1",
"babel-register": "6.24.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment