luhmann/hired

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "Hired",
  "description": "A simple time-tracking-app, showcasing some technologies and design approaches",
  "repository": {
    "type": "git",
    "url": "https://github.com/luhmann/harvest.git"
  },
  "version": "0.1.0",
  "private": true,
  "devDependencies": {
    "@types/accounting": "^0.3.31",
    "@types/classnames": "^0.0.32",
    "@types/enzyme": "^2.7.7",
    "@types/fetch-mock": "^5.8.2",
    "@types/jest": "^16.0.4",
    "@types/lodash": "^4.14.50",
    "@types/moment-duration-format": "^1.3.1",
    "@types/node": "^7.0.0",
    "@types/numeral": "^0.0.19",
    "@types/react": "^15.0.0",
    "@types/react-addons-css-transition-group": "^15.0.1",
    "@types/react-dom": "^0.14.20",
    "@types/uuid": "^2.0.29",
    "app-root-path": "^2.0.1",
    "autoprefixer": "6.7.2",
    "case-sensitive-paths-webpack-plugin": "1.1.4",
    "chalk": "1.1.3",
    "cli-highlight": "1.1.4",
    "connect-history-api-fallback": "1.3.0",
    "cross-spawn": "4.0.2",
    "css-loader": "0.26.1",
    "detect-port": "1.1.0",
    "dotenv": "2.0.0",
    "enzyme": "^2.8.0",
    "enzyme-to-json": "^1.5.0",
    "extract-text-webpack-plugin": "1.0.1",
    "fetch-mock": "^5.9.4",
    "file-loader": "0.10.0",
    "fs-extra": "0.30.0",
    "html-webpack-plugin": "2.24.0",
    "http-proxy-middleware": "0.17.3",
    "husky": "^0.13.3",
    "jest": "^19.0.2",
    "json-loader": "0.5.4",
    "mobx-react-devtools": "^4.2.11",
    "object-assign": "4.1.1",
    "postcss-loader": "1.2.2",
    "promise": "7.1.1",
    "react-addons-test-utils": "^15.4.2",
    "react-dev-utils": "^0.5.2",
    "router5": "^4.4.1",
    "style-loader": "0.13.1",
    "stylelint-processor-styled-components": "^0.0.4",
    "ts-loader": "^1.3.1",
    "tslint": "^4.0.2",
    "tslint-loader": "^3.3.0",
    "tslint-react": "^2.0.0",
    "typescript": "^2.1.4",
    "url-loader": "0.5.7",
    "webpack": "1.14.0",
    "webpack-dev-server": "1.16.2",
    "webpack-manifest-plugin": "1.1.0",
    "whatwg-fetch": "2.0.2"
  },
  "dependencies": {
    "accounting": "^0.4.1",
    "body-parser": "^1.15.2",
    "cookie-parser": "^1.4.3",
    "cors": "^2.8.1",
    "debug": "^2.6.0",
    "express": "^4.14.0",
    "firebase": "^3.6.5",
    "firebase-admin": "^4.0.4",
    "lodash": "^4.17.4",
    "mobx": "^3.0.0",
    "mobx-react": "^4.1.0",
    "mobx-utils": "^2.0.1",
    "moment": "^2.17.1",
    "moment-duration-format": "^1.3.0",
    "morgan": "^1.7.0",
    "object.values": "^1.0.4",
    "react": "^15.4.2",
    "react-addons-css-transition-group": "^15.4.2",
    "react-dom": "^15.4.2",
    "react-router5": "^4.0.1",
    "serve-favicon": "^2.3.2",
    "styled-components": "^1.3.1",
    "svg-inline-react": "2.0.0",
    "uuid": "^3.0.1"
  },
  "scripts": {
    "build": "node scripts/build.js",
    "lint": "yarn run lint:ts",
    "lint:ts": "tslint --config tslint.json 'src/**/*.ts' --exclude 'src/**/*.d.ts'",
    "setup": "yarn && yarn run test:once",
    "start": "node scripts/start.js",
    "test": "yarn run test:once -- --watch",
    "test:once": "node scripts/test.js --env=jsdom",
    "test:coverage": "yarn run test:once -- --coverage",
    "test:acceptance": "yarn run test -- --testPathPattern=test/acceptance",
    "prepush": "yarn run lint && yarn run test:once"
  },
  "jest": {
    "collectCoverageFrom": [
      "src/**/*.{ts,tsx}",
      "!**/node_modules/**",
      "!**/customTypings.d.ts"
    ],
    "setupFiles": [
      "<rootDir>/config/polyfills.js"
    ],
    "snapshotSerializers": [
      "enzyme-to-json/serializer"
    ],
    "testPathIgnorePatterns": [
      "<rootDir>[/\\\\](build|docs|node_modules|scripts)[/\\\\]"
    ],
    "testEnvironment": "node",
    "testURL": "http://localhost",
    "transform": {
      "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
      "^.+\\.tsx?$": "<rootDir>/config/jest/typescriptTransform.js",
      "^(?!.*\\.(css|json)$)": "<rootDir>/config/jest/fileTransform.js"
    },
    "transformIgnorePatterns": [
      "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
    ],
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js"
    ],
    "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$"
  }
}