Skip to content

Instantly share code, notes, and snippets.

@kemalyen
Created April 19, 2018 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kemalyen/161cd0bf5ebfff107af890cb84d4b431 to your computer and use it in GitHub Desktop.
Save kemalyen/161cd0bf5ebfff107af890cb84d4b431 to your computer and use it in GitHub Desktop.
Node.js Apps Using ES6
{
"name": "es6-express",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "rimraf dist/ && babel ./ --out-dir dist/ --ignore ./node_modules,./.babelrc,./package.json,./npm-debug.log --copy-files",
"start": "npm run build && node dist/index.js"
},
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.15.2",
"morgan": "^1.8.1",
"rimraf": "^2.6.1"
},
"devDependencies": {
"babel-cli": "^6.24.0",
"babel-preset-es2015": "^6.24.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment