48 lines
1.4 KiB
JSON
48 lines
1.4 KiB
JSON
{
|
|
"name": "node-express-babel-boilerplate",
|
|
"version": "1.0.0",
|
|
"description": "Boilerplate of node.js express app with babel and es6 source code.",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"eslint": "eslint --fix src/",
|
|
"watch": "babel -w src/ -d dist/",
|
|
"build": "babel --copy-files src/ -d dist/",
|
|
"prod": "cross-env NODE_ENV=production node dist/index.js",
|
|
"start": "cross-env NODE_ENV=development env-cmd .env babel --plugins transform-node-env-inline -w src/ -d dist/ | nodemon --watch dist",
|
|
"postinstall": "npm run build"
|
|
},
|
|
"author": "",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"body-parser": "~1.13.2",
|
|
"cheerio": "^1.0.0-rc.2",
|
|
"compression": "^1.7.3",
|
|
"cookie-parser": "~1.3.5",
|
|
"cross-env": "^5.2.0",
|
|
"debug": "2.6.9",
|
|
"dotenv": "^6.0.0",
|
|
"env-cmd": "^8.0.2",
|
|
"express": "~4.13.1",
|
|
"express-fileupload": "^1.0.0",
|
|
"helmet": "^3.13.0",
|
|
"jade": "~1.11.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"lodash": "^4.17.13",
|
|
"moment": "^2.22.2",
|
|
"morgan": "1.9.1",
|
|
"request": "^2.88.0",
|
|
"serve-favicon": "~2.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel": "^6.5.2",
|
|
"babel-cli": "^6.16.0",
|
|
"babel-plugin-transform-node-env-inline": "^0.4.3",
|
|
"babel-preset-env": "^1.7.0",
|
|
"babel-preset-es2015": "^6.16.0",
|
|
"babel-preset-stage-0": "^6.16.0",
|
|
"babel-preset-stage-2": "^6.24.1",
|
|
"eslint": "^5.7.0",
|
|
"nodemon": "^1.11.0"
|
|
}
|
|
}
|