| { | |
| "name": "Spectrum", | |
| "version": "3.1.15", | |
| "license": "BSD-3-Clause", | |
| "devDependencies": { | |
| "@babel/preset-flow": "^7.0.0", | |
| "babel-cli": "^6.24.1", | |
| "babel-eslint": "^8.2.6", | |
| "babel-jest": "^22.4.4", | |
| "babel-plugin-import-inspector": "^2.0.0", | |
| "babel-plugin-inline-import-graphql-ast": "^2.0.4", | |
| "babel-plugin-react-remove-properties": "^0.3.0", | |
| "babel-plugin-styled-components": "^1.8.0", | |
| "babel-plugin-syntax-async-generators": "^6.13.0", | |
| "babel-plugin-syntax-dynamic-import": "^6.18.0", | |
| "babel-plugin-transform-async-generator-functions": "^6.24.1", | |
| "babel-plugin-transform-class-properties": "^6.24.1", | |
| "babel-plugin-transform-flow-strip-types": "^6.22.0", | |
| "babel-plugin-transform-object-rest-spread": "^6.23.0", | |
| "babel-preset-env": "^1.7.0", | |
| "backpack-core": "^0.4.1", | |
| "bundle-buddy-webpack-plugin": "^0.3.0", | |
| "cheerio": "^1.0.0-rc.2", | |
| "circular-dependency-plugin": "4.x", | |
| "cpy-cli": "^2.0.0", | |
| "cross-env": "^5.2.0", | |
| "cypress-plugin-retries": "^1.2.0", | |
| "eslint": "^4.1.1", | |
| "eslint-config-react-app": "^2.1.0", | |
| "eslint-plugin-flowtype": "^2.50.3", | |
| "eslint-plugin-import": "^2.14.0", | |
| "eslint-plugin-jest": "^21.25.1", | |
| "eslint-plugin-jsx-a11y": "^5.1.1", | |
| "eslint-plugin-promise": "^3.8.0", | |
| "eslint-plugin-react": "^7.12.4", | |
| "flow-bin": "0.66", | |
| "forever": "^0.15.3", | |
| "is-html": "^1.1.0", | |
| "lint-staged": "^3.3.0", | |
| "micromatch": "^3.0.4", | |
| "prettier": "^1.14.3", | |
| "raw-loader": "^0.5.1", | |
| "react-app-rewire-hot-loader": "^1.0.3", | |
| "react-hot-loader": "^4.12.13", | |
| "react-scripts": "^1.1.5", | |
| "rimraf": "^2.6.1", | |
| "sw-precache-webpack-plugin": "^0.11.4", | |
| "uuid": "^3.0.1", | |
| "wait-on": "^2.1.0", | |
| "webpack-bundle-analyzer": "^3.3.2", | |
| "write-file-webpack-plugin": "^4.5.1" | |
| }, | |
| "dependencies": { | |
| "@cypress/browserify-preprocessor": "^1.1.2", | |
| "@sendgrid/mail": "^6.3.1", | |
| "@tippy.js/react": "^2.1.1", | |
| "apollo-cache-inmemory": "^1.6.3", | |
| "apollo-client": "^2.6.4", | |
| "apollo-link": "^1.2.13", | |
| "apollo-link-http": "^1.5.16", | |
| "apollo-link-retry": "^2.2.15", | |
| "apollo-link-schema": "^1.2.4", | |
| "apollo-link-ws": "^1.0.19", | |
| "apollo-server-cache-redis": "^1.1.4", | |
| "apollo-server-express": "^2.9.12", | |
| "apollo-server-plugin-response-cache": "^0.3.8", | |
| "apollo-upload-client": "^11.0.0", | |
| "apollo-upload-server": "^7.1.0", | |
| "apollo-utilities": "^1.3.2", | |
| "aws-sdk": "2.336.0", | |
| "axios": "^0.19.0", | |
| "b2a": "^1.0.10", | |
| "bad-words": "^1.6.4", | |
| "body-parser": "^1.18.3", | |
| "casual": "^1.5.19", | |
| "common-tags": "^1.8.0", | |
| "cookie-parser": "^1.4.3", | |
| "cookie-session": "^2.0.0-beta.3", | |
| "cors": "^2.8.3", | |
| "cryptr": "^3.0.0", | |
| "css.escape": "^1.5.1", | |
| "cypress": "^3.6.1", | |
| "datadog-metrics": "^0.8.1", | |
| "dataloader": "^1.4.0", | |
| "debounce": "^1.2.0", | |
| "debug": "^4.1.0", | |
| "decode-uri-component": "^0.2.0", | |
| "draft-js": "npm:draft-js-fork-mxstbr", | |
| "draft-js-code-editor-plugin": "0.2.1", | |
| "draft-js-drag-n-drop-plugin": "^2.0.3", | |
| "draft-js-embed-plugin": "^1.2.0", | |
| "draft-js-export-markdown": "^1.4.0", | |
| "draft-js-focus-plugin": "^2.2.0", | |
| "draft-js-image-plugin": "^2.0.6", | |
| "draft-js-import-markdown": "^1.3.1", | |
| "draft-js-linkify-plugin": "^2.0.2", | |
| "draft-js-markdown-plugin": "^3.0.5", | |
| "draft-js-plugins-editor": "^2.1.1", | |
| "draft-js-prism-plugin": "0.1.3", | |
| "draftjs-to-markdown": "^0.5.1", | |
| "emoji-regex": "^6.1.1", | |
| "escape-html": "^1.0.3", | |
| "eslint-plugin-node": "^6.0.1", | |
| "eslint-plugin-standard": "^3.1.0", | |
| "express": "^4.16.4", | |
| "express-enforces-ssl": "^1.1.0", | |
| "express-hot-shots": "^1.0.2", | |
| "express-session": "^1.15.2", | |
| "faker": "^4.1.0", | |
| "find-with-regex": "^1.0.2", | |
| "flow-typed": "^2.6.2", | |
| "graphql": "0.13.x", | |
| "graphql-cost-analysis": "^1.0.2", | |
| "graphql-date": "^1.0.3", | |
| "graphql-depth-limit": "^1.1.0", | |
| "graphql-log": "0.1.3", | |
| "graphql-tag": "^2.10.0", | |
| "graphql-tools": "^4.0.3", | |
| "helmet": "^3.14.0", | |
| "highlight.js": "^9.13.1", | |
| "history": "^4.6.1", | |
| "hoist-non-react-statics": "^2.3.1", | |
| "host-validation": "^1.1.0", | |
| "hot-shots": "^5.9.2", | |
| "hpp": "^0.2.2", | |
| "hsts": "^2.1.0", | |
| "http-proxy-middleware": "^1.0.4", | |
| "idx": "^2.4.0", | |
| "imgix-core-js": "^1.0.6", | |
| "ioredis": "3.2.2", | |
| "isomorphic-fetch": "^2.2.1", | |
| "jest": "22.4.3", | |
| "json-stringify-pretty-compact": "^1.2.0", | |
| "jsonwebtoken": "^8.3.0", | |
| "keygrip": "^1.0.3", | |
| "linkify-it": "^2.2.0", | |
| "lodash": "^4.17.15", | |
| "lodash.intersection": "^4.4.0", | |
| "moment": "^2.22.2", | |
| "ms": "^2.1.1", | |
| "node-env-file": "^0.1.8", | |
| "now-env": "^3.1.0", | |
| "offline-plugin": "^5.0.5", | |
| "passport": "^0.4.0", | |
| "passport-facebook": "^2.1.1", | |
| "passport-github2": "^0.1.10", | |
| "passport-google-oauth2": "^0.1.6", | |
| "passport-twitter": "^1.0.4", | |
| "pre-commit": "^1.2.2", | |
| "prism-react-renderer": "^0.1.7", | |
| "prismjs": "^1.15.0", | |
| "query-string": "5.1.1", | |
| "raf": "^3.4.0", | |
| "raven": "^2.6.4", | |
| "react": "^16.8.4", | |
| "react-apollo": "^2.5.1", | |
| "react-app-rewire-styled-components": "^3.0.0", | |
| "react-app-rewired": "1.6.2", | |
| "react-async-hook": "^1.0.0", | |
| "react-clipboard.js": "^2.0.1", | |
| "react-dom": "npm:@hot-loader/react-dom", | |
| "react-dropzone": "^8.0.3", | |
| "react-flip-move": "^3.0.2", | |
| "react-helmet-async": "^0.2.0", | |
| "react-image": "^1.5.1", | |
| "react-infinite-scroller": "^1.2.4", | |
| "react-infinite-scroller-fork-mxstbr": "^1.2.7", | |
| "react-infinite-scroller-with-scroll-element": "2.0.2", | |
| "react-loadable": "^5.5.0", | |
| "react-mentions": "^4.0.1", | |
| "react-modal": "^3.7.1", | |
| "react-popper": "^1.3.3", | |
| "react-redux": "^5.0.2", | |
| "react-router": "4.x", | |
| "react-router-dom": "4.x", | |
| "react-textarea-autosize": "^6.1.0", | |
| "react-transition-group": "^2.5.0", | |
| "react-trend": "^1.2.4", | |
| "react-visibility-sensor": "^5.0.1", | |
| "recompose": "^0.27.1", | |
| "redis-tag-cache": "^1.2.1", | |
| "redraft": "0.10.2", | |
| "redux": "^3.6.0", | |
| "redux-thunk": "^2.3.0", | |
| "request": "^2.88.0", | |
| "request-ip": "^2.1.3", | |
| "rethinkdb-changefeed-reconnect": "^0.3.2", | |
| "rethinkdb-inspector": "^0.3.3", | |
| "rethinkdb-migrate": "^1.4.0", | |
| "rethinkhaberdashery": "^2.3.32", | |
| "sanitize-filename": "^1.6.3", | |
| "serialize-javascript": "^1.5.0", | |
| "session-rethinkdb": "^2.0.0", | |
| "sha1": "^1.1.1", | |
| "slate": "^0.20.1", | |
| "slate-markdown": "0.1.1", | |
| "slugg": "^1.1.0", | |
| "snarkdown": "^1.2.2", | |
| "stopword": "^0.1.13", | |
| "string-replace-to-array": "^1.0.3", | |
| "string-similarity": "^2.0.0", | |
| "striptags": "2.x", | |
| "styled-components": "^4.1.3", | |
| "subscriptions-transport-ws": "^0.9.15", | |
| "textversionjs": "^1.1.3", | |
| "then-queue": "^1.3.0", | |
| "toobusy-js": "^0.5.1", | |
| "validator": "^9.0.0", | |
| "web-push": "^3.3.3" | |
| }, | |
| "resolutions": { | |
| "immutable": "3.7.4", | |
| "draft-js": "npm:draft-js-fork-mxstbr", | |
| "jest-environment-node": "22.4.3", | |
| "jest": "22.4.3", | |
| "fbjs": "0.8.16", | |
| "event-stream": "3.3.4" | |
| }, | |
| "scripts": { | |
| "start": "NODE_ENV=production node main.js", | |
| "start:api": "cross-env NODE_ENV=production node build-api/main.js", | |
| "dev:web": "cross-env NODE_PATH=./ react-app-rewired start", | |
| "dev:api": "cross-env FILE_STORAGE=local cross-env NODE_PATH=./ cross-env NODE_ENV=development cross-env DEBUG=build*,api*,shared:rethinkdb:db-query-cache,-api:resolvers cross-env DIR=api backpack", | |
| "dev:api:s3": "cross-env FILE_STORAGE=s3 cross-env NODE_PATH=./ cross-env NODE_ENV=development cross-env DEBUG=build*,api*,shared:rethinkdb:db-query-cache,-api:resolvers cross-env DIR=api backpack", | |
| "dev:hyperion": "cross-env NODE_PATH=./ cross-env NODE_ENV=development cross-env DEBUG=build*,hyperion*,-hyperion:resolvers cross-env DIR=hyperion backpack", | |
| "prebuild:api": "rimraf build-api", | |
| "build:api": "cross-env NODE_PATH=./ cross-env DIR=api backpack build", | |
| "postbuild:api": "cp api/package.json build-api/package.json && cp now.json build-api/now.json && cpy cacert build-api", | |
| "prebuild:hyperion": "rimraf build && yarn run build:web && rimraf build-hyperion", | |
| "build:hyperion": "cross-env NODE_PATH=./ cross-env DIR=hyperion backpack build", | |
| "postbuild:hyperion": "cp -r build build-hyperion && cp now.json build-hyperion && cp yarn.lock build-hyperion && cp package.json build-hyperion && cp cacert build-hyperion", | |
| "build:web": "cross-env NODE_PATH=./ react-app-rewired build", | |
| "jest": "cross-env NODE_PATH=./ jest", | |
| "test": "npm run jest -- --runInBand --watch", | |
| "test:ci": "npm run jest -- --forceExit --outputFile test-results.json --json --maxWorkers=2", | |
| "test:e2e": "CYPRESS_RETRIES=2 cypress run", | |
| "prestart:api:test": "node -e \"require('./shared/testing/setup.js')().then(() => process.exit())\"", | |
| "start:api:test": "TEST_DB=true FORCE_DEV=true DEBUG=api*,shared* forever build-api/main.js", | |
| "cypress:open": "cypress open", | |
| "cypress:install": "cypress install", | |
| "lint": "eslint .", | |
| "flow": "flow", | |
| "db:migrate": "npm run rethinkdb:migrate -- up", | |
| "db:drop": "npm run rethinkdb:migrate -- down", | |
| "db:seed": "cross-env NODE_PATH=./ node api/migrations/seed/index.js", | |
| "db:reset": "yarn run db:drop && yarn run db:migrate && yarn run db:seed", | |
| "rethinkdb:migrate": "rethinkdb-migrate -f ./api/migrations/config.js", | |
| "eject": "react-scripts eject", | |
| "lint:staged": "lint-staged", | |
| "webpack-defaults": "webpack-defaults", | |
| "deploy": "node scripts/deploy", | |
| "heroku": "node scripts/heroku-deploy" | |
| }, | |
| "lint-staged": { | |
| "*.js": [ | |
| "prettier --write", | |
| "eslint --fix", | |
| "git add" | |
| ] | |
| }, | |
| "pre-commit": "lint:staged" | |
| } | |