Skip to content

Commit

Permalink
webpack and misc files
Browse files Browse the repository at this point in the history
  • Loading branch information
muneef committed Jul 27, 2017
1 parent 05e912d commit 7817b47
Show file tree
Hide file tree
Showing 119 changed files with 7,183 additions and 10,387 deletions.
1 change: 1 addition & 0 deletions .babelrc
@@ -0,0 +1 @@
{ "presets": [ "es2015"] }
2 changes: 2 additions & 0 deletions app.js
Expand Up @@ -79,7 +79,9 @@ app.post('/download', (req, res) => {
androidstarters(config, function(filePath) {

var file = path.join(__dirname, filePath);
res.setHeader('Content-disposition', 'attachment; filename=' + file);
res.download(file, function(err) {
console.log(file);
if (err) {
console.log("Error");
console.log(err);
Expand Down
20 changes: 18 additions & 2 deletions package.json
Expand Up @@ -23,21 +23,36 @@
"cheerio": "^1.0.0-rc.2",
"clockwork": "^0.1.4",
"connect-mongo": "^1.3.2",
"css-loader": "0.28.4",
"dotenv": "^4.0.0",
"errorhandler": "^1.4.3",
"express": "^4.14.0",
"express-easy-zip": "^1.1.4",
"extract-text-webpack-plugin": "3.0.0",
"html-webpack-plugin": "2.29.0",
"lodash.merge": "^4.6.0",
"modularscale-sass": "3.0.3",
"mongoose": "^4.6.6",
"mongoose-data-seed": "^1.0.2",
"morgan": "^1.7.0",
"node-sass-middleware": "^0.11.0",
"nodemailer": "^4.0.1",
"pug": "^2.0.0-beta6",
"rimraf": "^2.6.1",
"validator": "^8.0.0"
"sass-bem-constructor": "1.1.0",
"sass-loader": "6.0.6",
"sticky-js": "1.2.0",
"style-loader": "0.18.2",
"validator": "^8.0.0",
"vue": "2.4.2",
"vue-resource": "1.3.4",
"webpack": "^3.4.1"
},
"devDependencies": {
"babel-core": "^6.25.0",
"babel-loader": "^7.1.1",
"babel-preset-env": "^1.6.0",
"babel-preset-latest": "6.24.1",
"chai": "^4.1.0",
"eslint": "^4.3.0",
"eslint-config-airbnb-base": "^11.1.3",
Expand All @@ -46,7 +61,8 @@
"mocha": "^3.1.2",
"sinon": "^2.0.0",
"sinon-mongoose": "^2.0.2",
"supertest": "^3.0.0"
"supertest": "^3.0.0",
"webpack-bundle-analyzer": "2.8.3"
},
"eslintConfig": {
"extends": "airbnb-base",
Expand Down
115 changes: 0 additions & 115 deletions public/css/lib/bootstrap-social.scss

This file was deleted.

73 changes: 0 additions & 73 deletions public/css/lib/bootstrap/_alerts.scss

This file was deleted.

68 changes: 0 additions & 68 deletions public/css/lib/bootstrap/_badges.scss

This file was deleted.

28 changes: 0 additions & 28 deletions public/css/lib/bootstrap/_breadcrumbs.scss

This file was deleted.

0 comments on commit 7817b47

Please sign in to comment.