oysterprotocol/webinterface

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "oyster",
  "version": "0.2.1",
  "private": true,
  "dependencies": {
    "@types/file-saver": "^1.3.0",
    "@types/jest": "^23.3.0",
    "@types/lodash": "^4.14.112",
    "@types/node": "^10.5.2",
    "@types/react": "^16.4.6",
    "@types/react-redux": "^6.0.4",
    "@types/styled-components": "^3.0.1",
    "analytics.js": "^2.9.1",
    "autoprefixer": "7.1.6",
    "awesome-typescript-loader": "^5.2.0",
    "axios": "^0.17.1",
    "babel-eslint": "7.2.3",
    "babel-jest": "20.0.3",
    "babel-loader": "^7.1.5",
    "babel-minify-webpack-plugin": "^0.3.1",
    "babel-plugin-styled-components": "^1.7.1",
    "babel-preset-react-app": "^3.1.1",
    "babel-runtime": "6.26.0",
    "base64-arraybuffer": "^0.1.5",
    "bootstrap": "^4.1.2",
    "case-sensitive-paths-webpack-plugin": "2.1.1",
    "chalk": "1.1.3",
    "css-loader": "0.28.7",
    "dotenv": "4.0.0",
    "dotenv-expand": "4.2.0",
    "eslint": "^5.1.0",
    "eslint-config-react-app": "^2.1.0",
    "eslint-loader": "^2.0.0",
    "eslint-plugin-flowtype": "2.39.1",
    "eslint-plugin-import": "2.8.0",
    "eslint-plugin-jsx-a11y": "5.1.1",
    "eslint-plugin-react": "7.4.0",
    "extract-text-webpack-plugin": "3.0.2",
    "file-loader": "^1.1.11",
    "file-saver": "^1.3.8",
    "fs-extra": "3.0.1",
    "history": "^4.7.2",
    "html-webpack-plugin": "^3.2.0",
    "interpolate-html-plugin": "^3.0.0",
    "iota.lib.js": "^0.4.6",
    "jest": "20.0.4",
    "lodash": "^4.17.10",
    "lodash-webpack-plugin": "^0.11.5",
    "mini-css-extract-plugin": "^0.4.1",
    "node-forge": "^0.7.5",
    "object-assign": "4.1.1",
    "oyster-streamable": "^2.2.1",
    "postcss-flexbugs-fixes": "3.2.0",
    "postcss-loader": "2.0.8",
    "preact": "^8.2.9",
    "promise": "8.0.1",
    "query-string": "^6.1.0",
    "raf": "3.4.0",
    "raven-for-redux": "^1.3.1",
    "raven-js": "^3.26.3",
    "rc-progress": "^2.2.5",
    "react": "^16.3.2",
    "react-copy-to-clipboard": "^5.0.1",
    "react-dev-utils": "^5.0.1",
    "react-dom": "^16.3.2",
    "react-md-spinner": "^0.2.5",
    "react-redux": "^5.0.7",
    "react-router": "^4.2.0",
    "react-router-redux": "next",
    "react-select": "^1.2.1",
    "redux": "^3.7.2",
    "redux-logger": "^3.0.6",
    "redux-mock-store": "^1.5.3",
    "redux-observable": "^0.17.0",
    "redux-persist": "^5.9.1",
    "request": "^2.85.0",
    "reselect": "^3.0.1",
    "resolve": "1.6.0",
    "rxjs": "^5.5.10",
    "script-ext-html-webpack-plugin": "^2.0.1",
    "style-loader": "0.19.0",
    "styled-components": "^3.4.9",
    "sw-precache-webpack-plugin": "0.11.4",
    "ts-loader": "^4.4.2",
    "typescript": "^2.9.2",
    "url-loader": "0.6.2",
    "uuid": "^3.2.1",
    "webpack": "^4.16.0",
    "webpack-bundle-analyzer": "^2.13.1",
    "webpack-cli": "^3.0.8",
    "webpack-dev-server": "^3.1.4",
    "webpack-manifest-plugin": "2.0.3",
    "webpack-merge": "^4.1.3",
    "whatwg-fetch": "2.0.3"
  },
  "devDependencies": {
    "babel-cli": "^6.26.0",
    "babel-core": "^6.26.3",
    "babel-jest": "20.0.3",
    "babel-polyfill": "^6.26.0",
    "babel-preset-es2015": "^6.24.1",
    "babel-preset-react-native": "^4.0.0",
    "babel-preset-stage-2": "^6.24.1",
    "cross-env": "^5.2.0",
    "cypress": "^3.1.0",
    "enzyme": "^3.3.0",
    "enzyme-adapter-react-16": "^1.1.1",
    "enzyme-to-json": "^3.3.3",
    "husky": "^0.14.3",
    "identity-obj-proxy": "^3.0.0",
    "jest-enzyme": "^4.2.0",
    "nock": "^9.2.5",
    "regenerator-runtime": "^0.11.1",
    "ts-jest": "^23.0.1"
  },
  "scripts": {
    "start": "cross-env NODE_ENV=development PORT=3001 webpack-dev-server --config='config/webpack.config.js' --mode development",
    "start:prod": "NODE_ENV=production npm start --port=3001",
    "build": "cross-env NODE_ENV=production webpack --config='config/webpack.config.js' --mode production",
    "test": "jest",
    "test:install": "cypress install",
    "test:watch": "cross-env NODE_PATH=src jest --watch --colors",
    "test:coverage": "cross-env NODE_PATH=src jest --coverage",
    "test:e2e": "cypress open",
    "test:record": "cypress run --record --key 6bc86c08-143a-4115-addc-07582df79025"
  },
  "jest": {
    "collectCoverageFrom": [
      "src/**/*.{js,jsx,mjs}"
    ],
    "setupFiles": [
      "<rootDir>/config/polyfills.js"
    ],
    "testMatch": [
      "<rootDir>/src/**/__tests__/**/*.{js,jsx,mjs}",
      "<rootDir>/src/**/?(*.)(spec|test).{js,jsx,mjs}"
    ],
    "globals": {
      "window": true
    },
    "testEnvironment": "jsdom",
    "testURL": "http://localhost",
    "transform": {
      "^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
      "^.+\\.tsx?$": "ts-jest",
      "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
      "^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
    },
    "transformIgnorePatterns": [
      "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
    ],
    "moduleNameMapper": {
      "^react-native$": "react-native-web"
    },
    "moduleFileExtensions": [
      "web.js",
      "js",
      "json",
      "web.jsx",
      "jsx",
      "node",
      "mjs",
      "ts",
      "tsx"
    ]
  },
  "eslintConfig": {
    "extends": "react-app"
  }
}