Babel, request, async packages

pull/6/head
sundowndev 2018-08-30 14:23:32 +02:00
parent ef4165d746
commit 394acf0091
3 changed files with 1652 additions and 5 deletions

3
.babelrc Normal file
View File

@ -0,0 +1,3 @@
{
"presets": ["es2015"]
}

1641
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,9 @@
"description": "## Exercice",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"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"
},
"repository": {
"type": "git",
@ -18,10 +20,15 @@
},
"homepage": "https://github.com/Sundowndev/interview-v2#readme",
"dependencies": {
"async": "^2.6.1",
"body-parser": "^1.18.3",
"express": "^4.16.3"
"express": "^4.16.3",
"request": "^2.88.0"
},
"devDependencies": {
"nodemon": "^1.18.3"
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"nodemon": "^1.18.3",
"rimraf": "^2.6.2"
}
}