mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 12:29:05 +08:00
221 lines
6.8 KiB
JSON
221 lines
6.8 KiB
JSON
{
|
|
"name": "talk",
|
|
"version": "3.6.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",
|
|
"start": "./bin/cli serve -j -w",
|
|
"dev-start": "nodemon -w . -w bin/cli -w bin/cli-serve --config .nodemon.json --exec \"yarn generate-introspection && ./bin/cli -c .env serve -j -w\"",
|
|
"prebuild": "yarn generate-introspection",
|
|
"build": "WEBPACK=TRUE NODE_ENV=production webpack -p --config webpack.config.js --bail",
|
|
"prebuild-watch": "yarn generate-introspection",
|
|
"build-watch": "WEBPACK=TRUE NODE_ENV=development webpack --progress --config webpack.config.js --watch",
|
|
"lint": "yamllint locales/*.yml && eslint --ext=.js --ext=.json bin/* .",
|
|
"lint-fix": "yarn lint --fix",
|
|
"jest-watch": "TEST_MODE=unit NODE_ENV=test jest --watch",
|
|
"test": "TEST_MODE=unit NODE_ENV=test jest && TEST_MODE=unit NODE_ENV=test mocha -R ${MOCHA_REPORTER:-spec}",
|
|
"test-cover": "TEST_MODE=unit NODE_ENV=test istanbul cover _mocha --report text --check-coverage -- -R spec",
|
|
"heroku-postbuild": "./bin/cli plugins reconcile && yarn build",
|
|
"generate-introspection": "WEBPACK=TRUE NODE_ENV=test ./scripts/generateIntrospectionResult.js",
|
|
"snyk-protect": "snyk protect",
|
|
"prepublish": "npm run snyk-protect"
|
|
},
|
|
"talk": {
|
|
"migration": {
|
|
"minVersion": 1496771633
|
|
}
|
|
},
|
|
"config": {
|
|
"pre-git": {
|
|
"commit-msg": [],
|
|
"pre-commit": [
|
|
"yarn lint",
|
|
"yarn test"
|
|
],
|
|
"pre-push": [
|
|
"yarn test"
|
|
],
|
|
"post-commit": [],
|
|
"post-merge": []
|
|
}
|
|
},
|
|
"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": {
|
|
"accepts": "^1.3.4",
|
|
"apollo-client": "^1.9.1",
|
|
"app-module-path": "^2.2.0",
|
|
"autoprefixer": "^6.5.2",
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.0",
|
|
"babel-eslint": "^7.2.1",
|
|
"babel-loader": "^7.1.2",
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
|
"babel-plugin-transform-async-to-generator": "^6.16.0",
|
|
"babel-plugin-transform-class-properties": "^6.23.0",
|
|
"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.0",
|
|
"babel-preset-react": "^6.23.0",
|
|
"bcryptjs": "^2.4.3",
|
|
"body-parser": "^1.17.2",
|
|
"bowser": "^1.7.2",
|
|
"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.0",
|
|
"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.0.1",
|
|
"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.15.4",
|
|
"file-loader": "^0.11.2",
|
|
"form-data": "^2.3.1",
|
|
"fs-extra": "^4.0.1",
|
|
"gql-merge": "^0.0.4",
|
|
"graphql": "^0.9.1",
|
|
"graphql-anywhere": "^3.1.0",
|
|
"graphql-docs": "^0.2.0",
|
|
"graphql-errors": "^2.1.0",
|
|
"graphql-redis-subscriptions": "^1.3.0",
|
|
"graphql-server-express": "^0.6.0",
|
|
"graphql-subscriptions": "^0.4.3",
|
|
"graphql-tag": "^1.2.3",
|
|
"graphql-tools": "^0.10.1",
|
|
"hammerjs": "^2.0.8",
|
|
"helmet": "^3.8.1",
|
|
"history": "^3.0.0",
|
|
"immutability-helper": "^2.2.0",
|
|
"imports-loader": "^0.7.1",
|
|
"inquirer": "^3.2.2",
|
|
"ioredis": "^3.1.4",
|
|
"istanbul": "^1.1.0-alpha.1",
|
|
"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",
|
|
"license-webpack-plugin": "^1.0.0",
|
|
"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.11.7",
|
|
"morgan": "^1.8.2",
|
|
"ms": "^2.0.0",
|
|
"murmurhash-js": "^1.0.0",
|
|
"node-emoji": "^1.8.1",
|
|
"node-fetch": "^1.7.2",
|
|
"nodemailer": "^2.6.4",
|
|
"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.7.2",
|
|
"react-mdl-selectfield": "^0.2.0",
|
|
"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",
|
|
"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.3.1",
|
|
"webpack-sources": "^1.0.1",
|
|
"yaml-loader": "^0.4.0",
|
|
"yamljs": "^0.2.10",
|
|
"snyk": "^1.42.5"
|
|
},
|
|
"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",
|
|
"chai": "^3.5.0",
|
|
"chai-as-promised": "^6.0.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",
|
|
"jest": "^21.2.1",
|
|
"mocha": "^3.1.2",
|
|
"mocha-junit-reporter": "^1.12.1",
|
|
"nodemon": "^1.11.0",
|
|
"pre-git": "^3.15.3",
|
|
"sinon": "^3.2.1",
|
|
"sinon-chai": "^2.13.0",
|
|
"yaml-lint": "^1.0.0"
|
|
},
|
|
"engines": {
|
|
"node": "^8"
|
|
},
|
|
"release": {
|
|
"analyzeCommits": "simple-commit-message"
|
|
},
|
|
"snyk": true
|
|
}
|