package.json 1.54 KB
Newer Older
1 2 3
{
  "name": "org.civicrm.shoreditch",
  "description": "A CiviCRM theme based on Bootstrap",
4 5 6 7 8 9 10 11
  "license": "AGPL-3.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/civicrm/org.civicrm.shoreditch"
  },
  "bugs": {
    "url": "https://github.com/civicrm/org.civicrm.shoreditch/issues"
  },
12
  "scripts": {
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
    "precommit": "lint-staged"
  },
  "lint-staged": {
    "*.js": [
      "semistandard --fix",
      "git add"
    ],
    "*.scss": [
      "stylelint --fix",
      "git add"
    ]
  },
  "semistandard": {
    "globals": [
      "CRM",
      "jQuery"
    ]
  },
  "stylelint": {
    "extends": "stylelint-config-sass-guidelines",
    "plugins": [
      "stylelint-order",
      "stylelint-scss"
    ],
    "rules": {
      "selector-class-pattern": null,
      "max-nesting-depth": 3,
      "no-extra-semicolons": true,
      "no-duplicate-selectors": true,
      "scss/dollar-variable-colon-space-after": "at-least-one-space"
    }
44 45 46
  },
  "devDependencies": {
    "civicrm-scssroot": "git://github.com/totten/civicrm-scssroot.git#v0.1.1",
47 48 49 50 51
    "gulp": "^4.0.0",
    "gulp-postcss": "^7.0.1",
    "gulp-sass": "^4.0.1",
    "gulp-sass-glob": "^1.0.9",
    "gulp-strip-css-comments": "^2.0.0",
52
    "gulp-transform-selectors": "0.0.2",
53 54 55 56 57 58 59 60 61
    "husky": "^0.14.3",
    "lint-staged": "^6.1.1",
    "postcss-discard-duplicates": "^2.1.0",
    "postcss-prefix-selector": "^1.6.0",
    "semistandard": "^12.0.1",
    "stylelint": "^8.4.0",
    "stylelint-config-sass-guidelines": "^4.2.0",
    "stylelint-order": "^0.8.1",
    "stylelint-scss": "^2.5.0"
62 63
  }
}