forked from coralproject/talk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
48 changed files
with
1,291 additions
and
1,300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,55 @@ | ||
{ | ||
"name": "@coralproject/talk", | ||
"version": "1.0.0", | ||
"description": "A better commenting experience from Mozilla, The Washington Post, and The New York Times.", | ||
"scripts": { | ||
"start": "node dist/index.js", | ||
"build": "tsc", | ||
"watch": "nodemon --config .nodemonrc.json src/index.ts", | ||
"lint": "prettier --write src/**/*.ts" | ||
}, | ||
"author": "", | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
"apollo-server-express": "^1.3.6", | ||
"bunyan": "^1.8.12", | ||
"convict": "^4.3.0", | ||
"dataloader": "^1.4.0", | ||
"dotenv": "^6.0.0", | ||
"dotize": "^0.2.0", | ||
"express": "^4.16.3", | ||
"express-static-gzip": "^0.3.2", | ||
"graphql": "^0.13.2", | ||
"graphql-config": "^2.0.1", | ||
"graphql-redis-subscriptions": "^1.5.0", | ||
"graphql-tools": "^3.0.2", | ||
"ioredis": "^3.2.2", | ||
"joi": "^13.4.0", | ||
"lodash": "^4.17.10", | ||
"luxon": "^1.2.1", | ||
"mongodb": "^3.0.10", | ||
"performance-now": "^2.1.0", | ||
"subscriptions-transport-ws": "^0.9.11", | ||
"uuid": "^3.2.1" | ||
}, | ||
"devDependencies": { | ||
"@types/bunyan": "^1.8.4", | ||
"@types/convict": "^4.2.0", | ||
"@types/dotenv": "^4.0.3", | ||
"@types/express": "^4.16.0", | ||
"@types/graphql": "^0.13.1", | ||
"@types/ioredis": "^3.2.8", | ||
"@types/joi": "^13.0.8", | ||
"@types/lodash": "^4.14.109", | ||
"@types/luxon": "^0.5.3", | ||
"@types/mongodb": "^3.0.19", | ||
"@types/uuid": "^3.4.3", | ||
"@types/ws": "^5.1.2", | ||
"graphql-playground-middleware-express": "^1.7.0", | ||
"nodemon": "^1.17.5", | ||
"prettier": "^1.13.4", | ||
"ts-node": "^6.1.1", | ||
"tsconfig-paths": "^3.4.0", | ||
"typescript": "^2.9.1" | ||
} | ||
} | ||
"name": "@coralproject/talk", | ||
"version": "1.0.0", | ||
"description": "A better commenting experience from Mozilla, The Washington Post, and The New York Times.", | ||
"scripts": { | ||
"start": "node dist/index.js", | ||
"build": "tsc", | ||
"watch": "nodemon --config .nodemonrc.json src/index.ts", | ||
"lint": "prettier --write \"src/**/*.ts\"" | ||
}, | ||
"author": "", | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
"apollo-server-express": "^1.3.6", | ||
"bunyan": "^1.8.12", | ||
"convict": "^4.3.0", | ||
"dataloader": "^1.4.0", | ||
"dotenv": "^6.0.0", | ||
"dotize": "^0.2.0", | ||
"express": "^4.16.3", | ||
"express-static-gzip": "^0.3.2", | ||
"graphql": "^0.13.2", | ||
"graphql-config": "^2.0.1", | ||
"graphql-redis-subscriptions": "^1.5.0", | ||
"graphql-tools": "^3.0.2", | ||
"ioredis": "^3.2.2", | ||
"joi": "^13.4.0", | ||
"lodash": "^4.17.10", | ||
"luxon": "^1.2.1", | ||
"mongodb": "^3.0.10", | ||
"performance-now": "^2.1.0", | ||
"subscriptions-transport-ws": "^0.9.11", | ||
"uuid": "^3.2.1" | ||
}, | ||
"devDependencies": { | ||
"@types/bunyan": "^1.8.4", | ||
"@types/convict": "^4.2.0", | ||
"@types/dotenv": "^4.0.3", | ||
"@types/express": "^4.16.0", | ||
"@types/graphql": "^0.13.1", | ||
"@types/ioredis": "^3.2.8", | ||
"@types/joi": "^13.0.8", | ||
"@types/lodash": "^4.14.109", | ||
"@types/luxon": "^0.5.3", | ||
"@types/mongodb": "^3.0.19", | ||
"@types/uuid": "^3.4.3", | ||
"@types/ws": "^5.1.2", | ||
"graphql-playground-middleware-express": "^1.7.0", | ||
"nodemon": "^1.17.5", | ||
"prettier": "^1.13.4", | ||
"ts-node": "^6.1.1", | ||
"tsconfig-paths": "^3.4.0", | ||
"typescript": "^2.9.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
import Server, { ServerOptions } from './server'; | ||
import Server, { ServerOptions } from "./server"; | ||
|
||
/** | ||
* Create a Talk Server. | ||
* | ||
* @param options ServerOptions that will be used to configure Talk. | ||
*/ | ||
export default async function createTalk( | ||
options: ServerOptions = {} | ||
options: ServerOptions = {} | ||
): Promise<Server> { | ||
// Create the server with the provided options. | ||
return new Server(options); | ||
// Create the server with the provided options. | ||
return new Server(options); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { MiddlewareOptions } from 'graphql-playground-html'; | ||
import playground from 'graphql-playground-middleware-express'; | ||
import { MiddlewareOptions } from "graphql-playground-html"; | ||
import playground from "graphql-playground-middleware-express"; | ||
|
||
export default (options: MiddlewareOptions) => playground(options); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import serveStatic from 'express-static-gzip'; | ||
import path from 'path'; | ||
import serveStatic from "express-static-gzip"; | ||
import path from "path"; | ||
|
||
export default serveStatic(path.join(__dirname, '..', '..', 'dist'), {}); | ||
export default serveStatic(path.join(__dirname, "..", "..", "dist"), {}); |
Oops, something went wrong.