From 49a30ce8d48412b0bd354f41026ced3c06e65dae Mon Sep 17 00:00:00 2001 From: Bowden Date: Tue, 27 Feb 2018 16:36:41 -0800 Subject: [PATCH] updated dependency table in README --- .vscode/settings.json | 4 +++- README.md | 23 +++++++++++++++-------- package.json | 1 - 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index deda381..001a43b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,6 +11,8 @@ "tslint.autoFixOnSave": true, "tslint.exclude": "**/node_modules/**/*", "cSpell.words": [ - "definitelytyped" + "csrf", + "definitelytyped", + "promisified" ] } \ No newline at end of file diff --git a/README.md b/README.md index a5fd7df..f69cbbc 100644 --- a/README.md +++ b/README.md @@ -470,38 +470,45 @@ In that file you'll find two sections: | Package | Description | | ------------------------------- | --------------------------------------------------------------------- | -| async | Utility library that provides asynchronous control flow. | +| async | Utility library that provides asynchronous control flow. | | bcrypt-nodejs | Library for hashing and salting user passwords. | +| bluebird | Promise library | | body-parser | Express 4 middleware. | | compression | Express 4 middleware. | | connect-mongo | MongoDB session store for Express. | -| dotenv | Loads environment variables from .env file. | +| dotenv | Loads environment variables from .env file. | | errorhandler | Express 4 middleware. | | express | Node.js web framework. | -| express-flash | Provides flash messages for Express. | +| express-flash | Provides flash messages for Express. | | express-session | Express 4 middleware. | | express-validator | Easy form validation for Express. | | fbgraph | Facebook Graph API library. | +| lodash | General utility library. | | lusca | CSRF middleware. | | mongoose | MongoDB ODM. | -| morgan | Express 4 middleware. | | nodemailer | Node.js library for sending emails. | | passport | Simple and elegant authentication library for node.js | | passport-facebook | Sign-in with Facebook plugin. | | passport-local | Sign-in with Username and Password plugin. | -| pug (jade) | Template engine for Express. | -| request | Simplified HTTP request library. | +| pug (jade) | Template engine for Express. | +| request | Simplified HTTP request library. | +| request-promise | Promisified HTTP request library. Let's us use async/await | +| winston | Logging library | ## `devDependencies` | Package | Description | | ------------------------------- | --------------------------------------------------------------------- | +| @types | Dependencies in this folder are `.d.ts` files used to provide types | +| chai | Testing utility library that makes it easier to write tests | | concurrently | Utility that manages multiple concurrent tasks. Used with npm scripts | | jest | Testing library for JavaScript. | -| node-sass | Allows to compile .scss files to .css | +| node-sass | Allows to compile .scss files to .css | +| nodemon | Utility that automatically restarts node process when it crashes | | supertest | HTTP assertion library. | | ts-test | A preprocessor with sourcemap support to help use TypeScript wit Jest.| -| tslint | Linter (similar to ESLint) for TypeScript files | +| ts-node | Enables directly running TS files. Used to run `copy-static-assets.ts` | +| tslint | Linter (similar to ESLint) for TypeScript files | | typescript | JavaScript compiler/type checker that boosts JavaScript productivity | To install or update these dependencies you can use `npm install` or `npm update`. diff --git a/package.json b/package.json index 51f03f8..54e7cc1 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,6 @@ "lodash": "^4.17.4", "lusca": "^1.5.2", "mongoose": "^4.13.11", - "morgan": "^1.9.0", "nodemailer": "^4.4.1", "passport": "^0.4.0", "passport-facebook": "^2.1.1",