You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 lines
779 B

{
"name": "es6-nodejs",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "npm run prod",
"server": "babel-node ./src/bin/www",
"server:prod": "node ./dist/bin/www",
"dev": "NODE_ENV=development npm-run-all server",
"clean": "rimraf dist",
"build": "babel ./src --out-dir dist",
"prod": "NODE_ENV=production npm-run-all clean build server:prod",
"watch": "nodemon"
},
"dependencies": {
"cookie-parser": "^1.4.5",
"debug": "^4.1.1",
"express": "^4.17.1",
"morgan": "^1.10.0",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2"
},
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/node": "^7.10.1",
"@babel/preset-env": "^7.10.2",
"nodemon": "^2.0.4"
}
}