{ "name": "@coralproject/talk", "version": "5.0.0", "author": "The Coral Project", "homepage": "https://coralproject.net/", "sideEffects": [ "*.css" ], "repository": { "type": "git", "url": "git://github.com/coralproject/talk.git" }, "engines": { "node": ">=10.0.0", "npm": ">=6.7.0" }, "bugs": "https://github.com/coralproject/talk/issues", "contributors": "https://github.com/coralproject/talk/graphs/contributors", "description": "A better commenting experience from Mozilla, The Washington Post, and The New York Times.", "scripts": { "build": "npm-run-all generate --parallel build:*", "build:client": "ts-node ./scripts/build.ts", "build:server": "gulp server", "generate": "npm-run-all --parallel generate:*", "generate:css-types": "tcm src/core/client/", "generate:relay-stream": "ts-node ./scripts/compileRelay --src ./src/core/client/stream --schema tenant", "generate:relay-auth": "ts-node ./scripts/compileRelay --src ./src/core/client/auth --schema tenant", "generate:relay-install": "ts-node ./scripts/compileRelay --src ./src/core/client/install --schema tenant", "generate:relay-admin": "ts-node ./scripts/compileRelay --src ./src/core/client/admin --schema tenant", "generate:schema": "node ./scripts/generateSchemaTypes.js", "docz": "docz", "start": "NODE_ENV=production node dist/index.js", "start:development": "NODE_ENV=development CONCURRENCY=${CONCURRENCY:-2} TS_NODE_PROJECT=./src/tsconfig.json node -r ts-node/register -r tsconfig-paths/register ./src/index.ts", "start:webpackDevServer": "ts-node ./scripts/start.ts", "lint": "npm-run-all --parallel lint:* tscheck:*", "lint:server": "tslint --project ./src/tsconfig.json", "lint:client": "tslint --project ./src/core/client/tsconfig.json", "lint:scripts": "tslint --project ./tsconfig.json", "lint:graphql": "graphql-schema-linter src/core/server/graph/tenant/schema/schema.graphql", "lint-fix": "npm run lint:server -- --fix && npm run lint:client -- --fix && npm run lint:scripts -- --fix", "test": "node scripts/test.js --env=jsdom", "tscheck": "npm-run-all --parallel tscheck:*", "tscheck:server": "tsc --project ./src/tsconfig.json --noEmit", "tscheck:client": "tsc --project ./src/core/client/tsconfig.json --noEmit", "tscheck:scripts": "tsc --project ./tsconfig.json --noEmit", "watch": "NODE_ENV=development ts-node ./scripts/watcher/bin/watcher.ts --config ./config/watcher.ts" }, "license": "Apache-2.0", "dependencies": { "@coralproject/bunyan-prettystream": "^0.1.4", "akismet-api": "^4.2.0", "apollo-server-express": "^2.1.0", "bcryptjs": "^2.4.3", "bull": "^3.4.4", "bunyan": "^1.8.12", "cheerio": "^1.0.0-rc.2", "consolidate": "0.14.0", "content-security-policy-builder": "^2.0.0", "convict": "^4.3.1", "cors": "^2.8.4", "dataloader": "^1.4.0", "dompurify": "^1.0.8", "dotenv": "^6.0.0", "dotenv-expand": "^4.2.0", "express": "^4.16.3", "express-static-gzip": "^0.3.2", "farce": "^0.2.6", "fluent": "^0.10.0", "found": "^0.3.14", "found-relay": "^0.3.1", "fs-extra": "^6.0.1", "graphql": "^0.13.2", "graphql-config": "^2.0.1", "graphql-extensions": "^0.2.1", "graphql-fields": "^1.1.0", "graphql-playground-html": "^1.6.0", "graphql-tools": "^3.0.5", "html-minifier": "^3.5.21", "html-to-text": "^4.0.0", "ioredis": "^3.2.2", "joi": "^13.4.0", "jsdom": "^11.12.0", "jsonwebtoken": "^8.3.0", "jwks-rsa": "^1.3.0", "linkify-it": "^2.1.0", "linkifyjs": "^2.1.7", "lodash": "^4.17.10", "luxon": "^1.3.1", "metascraper-author": "^3.11.8", "metascraper-date": "^3.11.4", "metascraper-description": "^3.11.8", "metascraper-image": "^3.11.8", "metascraper-title": "^3.11.8", "mongodb": "^3.1.1", "ms": "^2.1.1", "node-fetch": "^2.2.0", "nodemailer": "^4.6.7", "nunjucks": "^3.1.3", "passport": "^0.4.0", "passport-facebook": "^2.1.1", "passport-google-oauth2": "^0.1.6", "passport-local": "^1.0.0", "passport-oauth2": "^1.4.0", "passport-strategy": "^1.0.0", "performance-now": "^2.1.0", "permit": "^0.2.4", "querystringify": "^2.1.0", "react-relay-network-modern": "^2.4.0", "source-map-support": "^0.5.10", "stack-utils": "^1.0.2", "striptags": "^3.1.1", "throng": "^4.0.0", "tlds": "^1.203.1", "uuid": "^3.3.2", "verror": "^1.10.0" }, "devDependencies": { "@babel/core": "^7.2.0", "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-modules-commonjs": "^7.2.0", "@babel/polyfill": "^7.0.0", "@babel/preset-env": "^7.2.0", "@babel/preset-react": "^7.0.0", "@coralproject/rte": "^0.10.13", "@intervolga/optimize-cssnano-plugin": "^1.0.6", "@types/bcryptjs": "^2.4.1", "@types/bull": "^3.3.16", "@types/bunyan": "^1.8.4", "@types/case-sensitive-paths-webpack-plugin": "^2.1.2", "@types/cheerio": "^0.22.8", "@types/chokidar": "^1.7.5", "@types/classnames": "^2.2.4", "@types/commander": "^2.12.2", "@types/compression-webpack-plugin": "^0.4.2", "@types/consolidate": "0.0.34", "@types/convict": "^4.2.0", "@types/cors": "^2.8.4", "@types/cross-spawn": "^6.0.0", "@types/dotenv": "^4.0.3", "@types/enzyme": "^3.1.15", "@types/enzyme-adapter-react-16": "^1.0.3", "@types/eventemitter2": "^4.1.0", "@types/express": "^4.16.0", "@types/fs-extra": "^5.0.4", "@types/graphql": "^0.13.3", "@types/html-minifier": "^3.5.2", "@types/html-to-text": "^1.4.31", "@types/html-webpack-plugin": "^3.2.0", "@types/ioredis": "^3.2.12", "@types/jest": "^23.1.5", "@types/joi": "^13.0.8", "@types/jsdom": "^11.12.0", "@types/jsonwebtoken": "^7.2.7", "@types/linkify-it": "^2.0.4", "@types/linkifyjs": "^2.1.0", "@types/lodash": "^4.14.118", "@types/luxon": "^0.5.3", "@types/marked": "^0.6.0", "@types/mini-css-extract-plugin": "^0.2.0", "@types/mongodb": "^3.1.14", "@types/ms": "^0.7.30", "@types/node": "^10.5.2", "@types/node-fetch": "^2.1.2", "@types/nodemailer": "^4.6.2", "@types/nunjucks": "^3.0.0", "@types/passport": "^0.4.6", "@types/passport-facebook": "^2.1.8", "@types/passport-local": "^1.0.33", "@types/passport-oauth2": "^1.4.5", "@types/passport-strategy": "^0.2.33", "@types/prop-types": "^15.5.8", "@types/react": "^16.7.20", "@types/react-copy-to-clipboard": "^4.2.5", "@types/react-dom": "^16.0.11", "@types/react-relay": "^1.3.9", "@types/react-responsive": "^3.0.1", "@types/react-test-renderer": "^16.0.3", "@types/react-transition-group": "^2.0.14", "@types/recompose": "^0.26.5", "@types/relay-runtime": "^1.3.6", "@types/sane": "^2.0.0", "@types/simplemde": "^1.11.7", "@types/sinon": "^5.0.1", "@types/source-map-support": "^0.4.1", "@types/stack-utils": "^1.0.1", "@types/throng": "^4.0.2", "@types/tlds": "^1.199.0", "@types/uuid": "^3.4.3", "@types/verror": "^1.10.3", "@types/vinyl": "^2.0.2", "@types/webpack": "^4.4.7", "@types/webpack-assets-manifest": "^3.0.0", "@types/webpack-bundle-analyzer": "^2.13.0", "@types/webpack-dev-server": "^2.9.5", "@types/ws": "^5.1.2", "autoprefixer": "^8.6.5", "babel-core": "^7.0.0-bridge.0", "babel-jest": "^23.6.0", "babel-loader": "^8.0.4", "babel-plugin-dynamic-import-node": "^2.2.0", "babel-plugin-lodash": "^3.3.4", "babel-plugin-module-resolver": "^3.1.1", "babel-plugin-relay": "^1.7.0", "babel-plugin-use-lodash-es": "^0.2.0", "babel-preset-react-optimize": "^1.0.1", "bowser": "^1.9.4", "case-sensitive-paths-webpack-plugin": "^2.1.2", "chalk": "^2.4.1", "chokidar": "^2.0.4", "classnames": "^2.2.5", "commander": "^2.16.0", "comment-json": "^1.1.3", "compression-webpack-plugin": "^1.1.11", "copy-webpack-plugin": "^4.5.1", "cross-spawn": "^6.0.5", "css-loader": "^1.0.1", "del": "^3.0.0", "docz": "^0.5.8", "enzyme": "^3.8.0", "enzyme-adapter-react-16": "^1.7.1", "enzyme-to-json": "^3.3.5", "eventemitter2": "^5.0.1", "final-form": "^4.8.1", "flat": "^4.1.0", "fluent-intl-polyfill": "^0.1.0", "fluent-langneg": "^0.1.0", "fluent-react": "^0.8.3", "graphql-schema-linter": "^0.2.0", "graphql-schema-typescript": "^1.2.1", "gulp": "^4.0.0", "gulp-babel": "^8.0.0", "gulp-cli": "^2.0.1", "gulp-sourcemaps": "^2.6.4", "gulp-typescript": "^5.0.0-alpha.3", "html-webpack-plugin": "^4.0.0-beta.5", "husky": "^1.1.0", "intersection-observer": "^0.5.1", "jest": "^23.4.1", "jest-junit": "^5.1.0", "jest-localstorage-mock": "^2.2.0", "jest-mock-console": "^0.4.0", "lint-staged": "^7.3.0", "loader-utils": "^1.1.0", "lodash-es": "^4.17.11", "marked": "^0.6.0", "material-design-icons": "^3.0.1", "mini-css-extract-plugin": "^0.5.0", "npm-run-all": "^4.1.3", "postcss-advanced-variables": "^3.0.0", "postcss-css-variables": "^0.11.0", "postcss-flexbugs-fixes": "^4.1.0", "postcss-font-magician": "^2.2.1", "postcss-import": "^11.1.0", "postcss-loader": "^3.0.0", "postcss-mixins": "^6.2.1", "postcss-nested": "^4.1.1", "postcss-prepend-imports": "^1.0.1", "postcss-preset-env": "^6.5.0", "prettier": "^1.13.7", "prop-types": "^15.6.2", "pstree.remy": "^1.1.0", "pym.js": "^1.3.2", "raw-loader": "^0.5.1", "react": "^16.8.0", "react-copy-to-clipboard": "^5.0.1", "react-dev-utils": "6.0.0-next.3e165448", "react-dom": "^16.8.0", "react-final-form": "^3.6.4", "react-popper": "^1.3.2", "react-relay": "^1.7.0-rc.1", "react-responsive": "^5.0.0", "react-test-renderer": "^16.8.0", "react-timeago": "^4.1.9", "react-transition-group": "^2.5.0", "react-with-state-props": "^2.0.4", "recompose": "^0.27.1", "relay-compiler": "^1.7.0-rc.1", "relay-compiler-language-typescript": "^1.1.0", "relay-local-schema": "^0.7.0", "relay-runtime": "^1.7.0-rc.1", "sane": "^4.0.2", "simplemde": "^1.11.2", "simulant": "^0.2.2", "sinon": "^6.1.5", "style-loader": "^0.23.1", "terser-webpack-plugin": "^1.1.0", "timekeeper": "^2.1.2", "ts-jest": "^23.0.0", "ts-loader": "^4.4.2", "ts-node": "^6.2.0", "tsconfig-paths": "^3.4.2", "tsconfig-paths-webpack-plugin": "^3.1.4", "tslint": "^5.11.0", "tslint-config-prettier": "^1.17.0", "tslint-loader": "^3.6.0", "tslint-plugin-prettier": "^2.0.1", "tslint-react": "^3.6.0", "typed-css-modules": "^0.3.4", "typeface-manuale": "0.0.54", "typeface-source-sans-pro": "0.0.54", "typescript": "3.1.6", "typescript-snapshots-plugin": "^1.2.0", "wait-for-expect": "^1.1.0", "webpack": "^4.27.1", "webpack-assets-manifest": "^3.1.1", "webpack-bundle-analyzer": "^3.0.3", "webpack-cli": "^3.1.2", "webpack-dev-server": "^3.1.14", "webpack-hot-client": "^4.1.1", "whatwg-fetch": "^2.0.4" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{j,t}s{,x}": [ "tslint" ], "src/core/server/graph/tenant/schema/schema.graphql": [ "graphql-schema-linter" ] }, "bundlesize": [ { "path": "./dist/static/assets/js/embed.js", "maxSize": "15 kB" } ], "graphql-schema-linter": { "rules": [ "types-are-capitalized" ] } }