mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 03:35:38 +08:00
238 lines
7.2 KiB
JSON
238 lines
7.2 KiB
JSON
{
|
|
"name": "talk",
|
|
"version": "4.0.0",
|
|
"description": "A better commenting experience from Mozilla, The New York Times, and the Washington Post. https://coralproject.net",
|
|
"main": "app.js",
|
|
"private": true,
|
|
"scripts": {
|
|
"postinstall": "./bin/cli plugins reconcile --skip-remote",
|
|
"generate-introspection": "WEBPACK=TRUE NODE_ENV=test ./scripts/generateIntrospectionResult.js",
|
|
"clean": "rm -rf dist client/coral-framework/graphql/introspection.json",
|
|
"watch": "npm-run-all clean generate-introspection --parallel watch:*",
|
|
"watch:client": "NODE_ENV=development webpack --progress --watch",
|
|
"watch:server": "nodemon --config .nodemon.json",
|
|
"start:development": "NODE_ENV=development ./bin/cli-serve -j -w",
|
|
"start": "NODE_ENV=production ./bin/cli-serve -j -w",
|
|
"prebuild": "npm-run-all clean generate-introspection",
|
|
"build": "NODE_ENV=production webpack -p --bail",
|
|
"lint:yaml": "yamllint locales/*.yml",
|
|
"lint:js": "eslint --ext=.js --ext=.json bin/* .",
|
|
"lint": "npm-run-all lint:*",
|
|
"plugins:reconcile": "./bin/cli plugins reconcile",
|
|
"test": "npm-run-all test:client test:server",
|
|
"test:server": "TEST_MODE=unit NODE_ENV=test mocha -R ${MOCHA_REPORTER:-spec}",
|
|
"test:client": "TEST_MODE=unit NODE_ENV=test jest",
|
|
"test:client:watch": "TEST_MODE=unit NODE_ENV=test jest --watch",
|
|
"e2e": "./scripts/e2e.js",
|
|
"e2e:ci": "./scripts/e2e-ci.sh",
|
|
"heroku-postbuild": "npm-run-all plugins:reconcile build"
|
|
},
|
|
"talk": {
|
|
"migration": {
|
|
"minVersion": 1511801783
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/coralproject/talk.git"
|
|
},
|
|
"keywords": [
|
|
"talk",
|
|
"coral",
|
|
"coralproject",
|
|
"ask"
|
|
],
|
|
"author": "",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/coralproject/talk/issues"
|
|
},
|
|
"homepage": "https://github.com/coralproject/talk#readme",
|
|
"dependencies": {
|
|
"@coralproject/graphql-anywhere-optimized": "^0.1.0",
|
|
"accepts": "^1.3.4",
|
|
"apollo-client": "^1.9.1",
|
|
"apollo-engine": "^0.8.1",
|
|
"apollo-server-express": "^1.2.0",
|
|
"apollo-utilities": "^1.0.3",
|
|
"app-module-path": "^2.2.0",
|
|
"autoprefixer": "^6.5.2",
|
|
"babel-cli": "6.26.0",
|
|
"babel-core": "6.26.0",
|
|
"babel-eslint": "7.2.3",
|
|
"babel-loader": "^7.1.2",
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
|
"babel-plugin-transform-async-to-generator": "6.24.1",
|
|
"babel-plugin-transform-class-properties": "6.24.1",
|
|
"babel-plugin-transform-decorators-legacy": "1.3.4",
|
|
"babel-plugin-transform-object-assign": "^6.8.0",
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
"babel-plugin-transform-react-jsx": "^6.23.0",
|
|
"babel-polyfill": "^6.26.0",
|
|
"babel-preset-es2015": "6.24.1",
|
|
"babel-preset-react": "^6.23.0",
|
|
"bcryptjs": "^2.4.3",
|
|
"bowser": "^1.7.2",
|
|
"brotli-webpack-plugin": "^0.5.0",
|
|
"cli-table": "^0.3.1",
|
|
"clipboard": "^1.7.1",
|
|
"colors": "^1.1.2",
|
|
"commander": "^2.11.0",
|
|
"common-tags": "^1.4.0",
|
|
"compression": "1.7.1",
|
|
"compression-webpack-plugin": "^1.0.0",
|
|
"cookie-parser": "^1.4.3",
|
|
"copy-webpack-plugin": "^4.0.0",
|
|
"cross-spawn": "^5.1.0",
|
|
"css-loader": "^0.28.5",
|
|
"dataloader": "^1.3.0",
|
|
"debug": "3.1.0",
|
|
"dialog-polyfill": "^0.4.9",
|
|
"did-you-mean": "^0.0.1",
|
|
"dotenv": "^4.0.0",
|
|
"ejs": "^2.5.7",
|
|
"env-rewrite": "^1.0.2",
|
|
"eventemitter2": "^4.1.2",
|
|
"exports-loader": "^0.6.4",
|
|
"express": "4.16.0",
|
|
"express-static-gzip": "^0.3.1",
|
|
"file-loader": "^0.11.2",
|
|
"form-data": "^2.3.1",
|
|
"fs-extra": "^4.0.1",
|
|
"gql-merge": "^0.0.4",
|
|
"graphql": "^0.10.1",
|
|
"graphql-ast-tools": "0.2.3",
|
|
"graphql-docs": "0.2.0",
|
|
"graphql-errors": "^2.1.0",
|
|
"graphql-redis-subscriptions": "1.3.0",
|
|
"graphql-subscriptions": "^0.4.3",
|
|
"graphql-tag": "^1.2.3",
|
|
"graphql-tools": "^0.10.1",
|
|
"hammerjs": "^2.0.8",
|
|
"helmet": "3.8.2",
|
|
"history": "^3.0.0",
|
|
"immutability-helper": "^2.2.0",
|
|
"imports-loader": "^0.7.1",
|
|
"inquirer": "^3.2.2",
|
|
"ioredis": "3.1.4",
|
|
"joi": "^10.6.0",
|
|
"json-loader": "^0.5.7",
|
|
"jsonwebtoken": "^7.4.3",
|
|
"jwt-decode": "^2.2.0",
|
|
"keymaster": "^1.6.2",
|
|
"kue": "0.11.6",
|
|
"linkify-it": "^2.0.3",
|
|
"lodash": "^4.16.6",
|
|
"marked": "^0.3.6",
|
|
"material-design-lite": "^1.2.1",
|
|
"metascraper": "1.0.7",
|
|
"minimist": "^1.2.0",
|
|
"moment": "^2.18.1",
|
|
"mongoose": "^4.12.3",
|
|
"morgan": "1.9.0",
|
|
"ms": "^2.0.0",
|
|
"murmurhash-js": "^1.0.0",
|
|
"node-emoji": "^1.8.1",
|
|
"node-fetch": "^1.7.2",
|
|
"nodemailer": "^2.6.4",
|
|
"npm-run-all": "^4.1.2",
|
|
"passport": "^0.4.0",
|
|
"passport-jwt": "^3.0.0",
|
|
"passport-local": "^1.0.0",
|
|
"pluralize": "^7.0.0",
|
|
"postcss-loader": "^1.3.3",
|
|
"postcss-smart-import": "^0.5.1",
|
|
"precss": "1.4.0",
|
|
"prop-types": "^15.5.10",
|
|
"pym.js": "^1.1.1",
|
|
"query-string": "^5.0.0",
|
|
"react": "^15.4.2",
|
|
"react-apollo": "^1.4.12",
|
|
"react-dom": "^15.4.2",
|
|
"react-input-autosize": "^1.1.4",
|
|
"react-mdl": "^1.11.0",
|
|
"react-mdl-selectfield": "^0.2.0",
|
|
"react-paginate": "^5.0.0",
|
|
"react-portal": "^4.1.2",
|
|
"react-recaptcha": "^2.2.6",
|
|
"react-redux": "^4.4.5",
|
|
"react-router": "^3.0.0",
|
|
"react-tagsinput": "^3.17.0",
|
|
"react-test-renderer": "15.5",
|
|
"react-toastify": "^1.5.0",
|
|
"react-transition-group": "^1.1.3",
|
|
"react-virtualized": "9.13.0",
|
|
"recompose": "^0.23.1",
|
|
"redux": "^3.6.0",
|
|
"redux-thunk": "^2.1.0",
|
|
"resolve": "^1.4.0",
|
|
"semver": "^5.4.1",
|
|
"simplemde": "^1.11.2",
|
|
"smoothscroll-polyfill": "^0.3.5",
|
|
"snake-case": "2.1.0",
|
|
"style-loader": "^0.16.0",
|
|
"subscriptions-transport-ws": "^0.7.2",
|
|
"timeago.js": "^2.0.3",
|
|
"timekeeper": "^1.0.0",
|
|
"tlds": "^1.196.0",
|
|
"url-join": "^2.0.2",
|
|
"url-loader": "^0.6.0",
|
|
"url-search-params": "^0.9.0",
|
|
"uuid": "^3.1.0",
|
|
"webpack": "2.4.1",
|
|
"webpack-sources": "^1.0.1",
|
|
"yaml-loader": "^0.4.0",
|
|
"yamljs": "^0.2.10"
|
|
},
|
|
"devDependencies": {
|
|
"@coralproject/eslint-config-talk": "^0.0.4",
|
|
"babel-jest": "^21.2.0",
|
|
"babel-plugin-dynamic-import-node": "^1.1.0",
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
|
|
"browserstack-local": "^1.3.0",
|
|
"chai": "^3.5.0",
|
|
"chai-as-promised": "^6.0.0",
|
|
"chai-datetime": "^1.5.0",
|
|
"chai-http": "^3.0.0",
|
|
"enzyme": "^3.0.0",
|
|
"enzyme-adapter-react-15": "^1.0.0",
|
|
"eslint": "^4.5.0",
|
|
"eslint-plugin-mocha": "^4.11.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"ip": "^1.1.5",
|
|
"jest": "^21.2.1",
|
|
"mocha": "^3.1.2",
|
|
"mocha-junit-reporter": "^1.12.1",
|
|
"nightwatch": "^0.9.16",
|
|
"nodemon": "^1.11.0",
|
|
"pre-git": "^3.16.0",
|
|
"selenium-standalone": "^6.11.0",
|
|
"sinon": "^3.2.1",
|
|
"sinon-chai": "^2.13.0",
|
|
"yaml-lint": "^1.0.0"
|
|
},
|
|
"engines": {
|
|
"node": "^8"
|
|
},
|
|
"config": {
|
|
"pre-git": {
|
|
"pre-commit": [
|
|
"yarn lint",
|
|
"yarn test:client",
|
|
"yarn test:server"
|
|
],
|
|
"pre-push": [
|
|
"yarn lint",
|
|
"yarn test:client",
|
|
"yarn test:server"
|
|
],
|
|
"post-commit": [],
|
|
"post-checkout": [],
|
|
"post-merge": []
|
|
}
|
|
},
|
|
"release": {
|
|
"analyzeCommits": "simple-commit-message"
|
|
}
|
|
}
|