govau/performance-dashboard

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "performance-dashboard",
  "version": "1.0.0-beta",
  "description": "DTO Dashboard (beta)",
  "private": true,
  "repository": {
    "type": "git",
    "url": "https://github.com/govau/performance-dashboard"
  },
  "author": "",
  "license": "MIT",
  "homepage": "https://dashboard.gov.au",
  "dependencies": {
    "@gov.au/datavizkit": "^1.1.1",
    "autoprefixer": "^6.4.1",
    "autotrack": "^1.0.0",
    "ava": "^0.15.2",
    "babel-core": "^6.26.3",
    "babel-eslint": "^10.0.1",
    "babel-jest": "^19.0.0",
    "babel-loader": "^7.1.5",
    "babel-plugin-transform-class-properties": "^6.11.5",
    "babel-plugin-transform-es2015-classes": "^6.8.0",
    "babel-plugin-transform-es2015-destructuring": "^6.9.0",
    "babel-plugin-transform-object-rest-spread": "^6.8.0",
    "babel-plugin-transform-proto-to-assign": "^6.8.0",
    "babel-polyfill": "^6.26.0",
    "babel-preset-es2015": "^6.16.0",
    "babel-preset-react": "^6.16.0",
    "babel-preset-stage-0": "^6.11.0",
    "babel-preset-stage-2": "^6.11.0",
    "babel-register": "^6.18.0",
    "babelify": "^7.3.0",
    "bell-on-bundler-error-plugin": "^1.0.8",
    "bootstrap": "4.0.0-alpha.5",
    "bourbon": "https://github.com/thoughtbot/bourbon#v5.0.0.beta.6",
    "bourbon-neat": "https://github.com/thoughtbot/neat#v1.8.0",
    "browserify": "^13.1.0",
    "chalk": "2.4.2",
    "classnames": "^2.2.6",
    "connect-history-api-fallback": "1.3.0",
    "cross-spawn": "4.0.2",
    "css-loader": "^0.28.11",
    "d3": "^3.5.17",
    "d3-selection": "^1.0.2",
    "date-fns": "^1.27.2",
    "deepmerge": "^1.3.0",
    "del-cli": "^0.2.0",
    "detect-port": "1.0.1",
    "domready": "^1.0.8",
    "dotenv": "^2.0.0",
    "enzyme": "^2.7.0",
    "eslint": "^4.19.1",
    "eslint-loader": "^2.1.2",
    "eslint-plugin-flowtype": "^2.29.2",
    "eslint-plugin-import": "^2.2.0",
    "eslint-plugin-jsx-a11y": "^5.0.3",
    "eslint-plugin-react": "^7.0.1",
    "eslintify": "^2.1.0",
    "exorcist": "^0.4.0",
    "expect": "^1.20.2",
    "exports-loader": "^0.7.0",
    "fetch-mock": "^5.5.0",
    "file-loader": "^3.0.1",
    "filesize": "3.3.0",
    "fs-extra": "0.30.0",
    "ghooks": "^2.0.0",
    "gov-au-ui-kit": "https://github.com/AusDTO/gov-au-ui-kit#1.8.0",
    "gzip-size": "3.0.0",
    "image-webpack-loader": "^3.0.0",
    "imports-loader": "^0.8.0",
    "is-utf8": "^0.2.1",
    "isomorphic-fetch": "^2.2.1",
    "jasmine": "^2.4.1",
    "jasmine-core": "^2.4.1",
    "jest": "^16.0.1",
    "jquery": "1.9.1 - 3",
    "js-yaml": "^3.8.3",
    "jsdom": "^9.6.0",
    "jump.js": "^1.0.2",
    "karma": "^3.0.0",
    "karma-browserify": "^5.1.0",
    "karma-chrome-launcher": "^2.0.0",
    "karma-jasmine": "^1.0.2",
    "karma-phantomjs-launcher": "^1.0.1",
    "lodash": "^4.17.11",
    "mini-css-extract-plugin": "^0.5.0",
    "moment": "^2.15.1",
    "moment-range": "^2.2.0",
    "nock": "^10.0.6",
    "node-bourbon": "^4.2.8",
    "node-neat": "^1.7.2",
    "node-sass": "^4.10.0",
    "path-exists": "2.1.0",
    "popper.js": "^1.14.3",
    "postcss-loader": "^3.0.0",
    "promise": "^7.1.1",
    "react": "^15.6.2",
    "react-addons-test-utils": "^15.4.1",
    "react-dom": "^15.6.2",
    "react-jsonschema-form": "^0.43.0",
    "react-redux": "^4.4.5",
    "react-router": "^2.7.0",
    "react-router-redux": "^4.0.5",
    "react-test-renderer": "^15.4.1",
    "reduce-reducers": "^0.1.2",
    "redux": "^3.5.2",
    "redux-actions-assertions": "^1.2.1",
    "redux-logger": "^2.6.1",
    "redux-mock-store": "^1.2.1",
    "redux-thunk": "^2.1.0",
    "resolve-url": "^0.2.1",
    "resolve-url-loader": "^3.0.1",
    "sass-lint": "^1.12.1",
    "sass-loader": "^7.1.0",
    "sasslint-webpack-plugin": "^1.0.4",
    "sinon": "^1.17.7",
    "stream-browserify": "^2.0.1",
    "style-loader": "^0.23.1",
    "tap-spec": "^5.0.0",
    "textures": "^1.0.3",
    "tiny-emitter": "^2.0.0",
    "url-loader": "^0.5.7",
    "uuid": "^2.0.3",
    "validator": "^5.7.0",
    "vinyl-buffer": "^1.0.0",
    "vinyl-source-stream": "^1.1.0",
    "vinyl-transform": "^1.0.0",
    "watchify": "^3.7.0",
    "webpack-dev-server": "^3.2.1",
    "whatwg-fetch": "^1.0.0"
  },
  "scripts": {
    "postmerge": "yarn install",
    "postinstall": "yarn list --depth=0 | grep @gov.au",
    "commit": "git-cz",
    "commitmsg": "validate-commit-msg",
    "prebuild": "del public/images/**/* && del public/javascripts/**/* && del public/stylesheets/**/*",
    "build:stats": "webpack --profile --json > webpackstats.json",
    "build": "NODE_ENV=production webpack",
    "start": "node client/scripts/start.js",
    "pretty": "prettier --write 'client/**/*.js'",
    "test-legacy": "npm run test-browser && npm run test-browser:legacy && npm run test:react",
    "test": "npm run test-browser && npm run test:react",
    "lint": "eslint client/src/**/*.js",
    "test:react": "NODE_ENV=test jest --env=jsdom",
    "test:react:watch": "npm run test:react -- --watch --verbose",
    "test:react:coverage": "npm run test:react -- --coverage --runInBand",
    "test-browser": "NODE_ENV=test ava 'client/test/**/*.test.js' --require=babel-register",
    "test-browser:tap": "NODE_ENV=test npm run test-browser -- --tap | tap-spec",
    "test-browser:watch": "NODE_ENV=test DEBUG=ava:watcher ava 'client/test/**/*.test.js' --require=babel-register --watch --verbose",
    "test-browser:legacy": "NODE_ENV=test karma start"
  },
  "engines": {
    "node": ">=8.9.3"
  },
  "jest": {
    "scriptPreprocessor": "<rootDir>/client/config/jest/preprocessor.js",
    "setupFiles": [
      "<rootDir>/client/config/polyfills.js"
    ],
    "testPathDirs": [
      "<rootDir>/client/src/"
    ],
    "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(js|jsx)$",
    "testPathIgnorePatterns": [
      "<rootDir>/client/src/editor/scripts/__tests__/fixtures"
    ],
    "testURL": "http://localhost",
    "coverageDirectory": "client/coverage",
    "collectCoverageFrom": [
      "client/src/**/*.js",
      "!**/node_modules/**",
      "!**/*/index.js"
    ],
    "moduleFileExtensions": [
      "js"
    ],
    "coveragePathIgnorePatterns": [
      "client/src/editor/scripts/_fixtures",
      "client/src/test",
      "client/src/dashboard",
      "client/src/login",
      "client/src/app_shell",
      "client/src/_common",
      "client/src/_shared"
    ],
    "moduleNameMapper": {
      "^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/client/config/jest/FileStub.js",
      "^.+\\.css$": "<rootDir>/client/config/jest/CSSStub.js"
    },
    "globals": {
      "__DEV__": true
    }
  },
  "devDependencies": {
    "babel-plugin-module-resolver": "^2.7.0",
    "case-sensitive-paths-webpack-plugin": "^1.1.4",
    "codecov": "^3.2.0",
    "commitizen": "^3.0.7",
    "cz-conventional-changelog": "^1.2.0",
    "git-revision-webpack-plugin": "^2.5.1",
    "husky": "^0.12.0",
    "prettier": "1.16.4",
    "react-dev-utils": "^0.4.2",
    "rollbar-sourcemap-webpack-plugin": "^2.5.0",
    "strip-json-comments": "^2.0.1",
    "validate-commit-msg": "^2.8.2",
    "webpack": "^4.29.6",
    "webpack-bundle-analyzer": "^2.3.0",
    "webpack-cli": "^3.2.3"
  },
  "config": {
    "commitizen": {
      "path": "cz-conventional-changelog"
    },
    "validate-commit-msg": {
      "helpMessage": "\nPlease fix your commit message (and consider using http://npm.im/commitizen)\n",
      "warnOnFail": false
    }
  }
}