package.json 1.95 KB
Newer Older
Jure's avatar
Jure committed
1
{
Jure's avatar
Jure committed
2
  "name": "pubsweet-monorepo",
3
  "version": "0.0.0",
4 5 6
  "private": true,
  "license": "MIT",
  "devDependencies": {
7 8
    "@commitlint/cli": "^6.0.5",
    "@commitlint/config-conventional": "^6.0.4",
Tamlyn Rhodes's avatar
Tamlyn Rhodes committed
9
    "babel-eslint": "^8.0.3",
10
    "babel-preset-es2015": "^6.24.1",
11 12
    "commitizen": "^2.9.6",
    "cz-conventional-changelog": "^2.1.0",
Jure's avatar
Jure committed
13 14
    "eslint": "^4.13.1",
    "eslint-config-pubsweet": "^0.0.6",
15
    "eslint-plugin-import": "^2.8.0",
Tamlyn Rhodes's avatar
Tamlyn Rhodes committed
16
    "eslint-plugin-jest": "^21.4.2",
17 18 19 20 21 22 23 24
    "eslint-plugin-jsx-a11y": "^6.0.2",
    "eslint-plugin-node": "^5.2.1",
    "eslint-plugin-prettier": "^2.3.1",
    "eslint-plugin-promise": "^3.6.0",
    "eslint-plugin-react": "^7.4.0",
    "eslint-plugin-standard": "^3.0.1",
    "husky": "^0.14.3",
    "lerna": "^2.5.1",
Jure's avatar
Jure committed
25
    "lint-staged": "^6.0.0",
26 27
    "prettier": "^1.8.2",
    "stylelint": "^8.2.0",
28 29
    "stylelint-config-prettier": "^2.0.0",
    "stylelint-config-pubsweet": "^0.0.3"
30 31 32
  },
  "scripts": {
    "clean": "lerna clean",
33
    "test": "jest",
34
    "lint": "npm run lint:js && npm run lint:style",
35 36
    "lint:js": "eslint 'packages/**/*.{js,jsx}'",
    "lint:style": "stylelint 'packages/**/*.{css,scss}'",
37 38 39
    "precommit": "lint-staged",
    "cz": "git-cz",
    "commitmsg": "commitlint -e $GIT_PARAMS"
40
  },
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
  "jest": {
    "collectCoverage": true,
    "collectCoverageFrom": [
      "packages/cli/src/*.js",
      "packages/cli/cli/*.js",
      "client/src/**/*.{js,jsx}",
      "components/**/*.{js,jsx}",
      "db-manager/src/**/*.js",
      "logger/src/**/*.js",
      "server/src/**/*.js",
      "sse/lib/**/*.js",
      "theme-plugin/*.js",
      "ui/src/**/*.{js,jsx}",
      "!**/*.test.{js,jsx}",
      "!**/node_modules/**"
    ],
    "projects": ["packages/*"]
  },
59 60 61 62 63 64 65 66 67 68
  "workspaces": ["packages/*", "packages/components/packages/*"],
  "repository": {
    "type": "git",
    "url": "https://gitlab.coko.foundation/pubsweet/pubsweet"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  }
Jure's avatar
Jure committed
69
}