summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2019-03-26 08:13:21 +0000
committerKushal Pandya <kushalspandya@gmail.com>2019-03-26 08:13:21 +0000
commit5b05d2b987e1c261d161667eb9a8710a527cba31 (patch)
tree121c37780037d446fb087309b83fb1dfc804b5cb /package.json
parentb4de23a687d16c96f1adaa456e4aeaac64d9cb23 (diff)
downloadgitlab-ce-5b05d2b987e1c261d161667eb9a8710a527cba31.tar.gz
First iteration of GitLab own Stylelints
DRYed the code Changed new rules to warnings Manual prettified and added stylelint rules
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/package.json b/package.json
index 1154d57cad2..b40436d057e 100644
--- a/package.json
+++ b/package.json
@@ -17,6 +17,8 @@
"prettier-all": "node ./scripts/frontend/prettier.js check-all",
"prettier-all-save": "node ./scripts/frontend/prettier.js save-all",
"stylelint": "node node_modules/stylelint/bin/stylelint.js app/assets/stylesheets/**/*.* --custom-formatter node_modules/stylelint-error-string-formatter",
+ "stylelint-file": "node node_modules/stylelint/bin/stylelint.js",
+ "stylelint-create-utility-map": "node scripts/frontend/stylelint/stylelint-utility-map.js",
"test": "yarn jest && yarn karma",
"webpack": "webpack --config config/webpack.config.js",
"webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js"
@@ -169,13 +171,15 @@
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^4.0.0-beta.0",
+ "md5": "^2.2.1",
+ "node-sass": "^4.11.0",
"nodemon": "^1.18.9",
"pixelmatch": "^4.0.2",
"postcss": "^7.0.14",
"prettier": "1.16.4",
"stylelint": "^9.10.1",
"stylelint-config-recommended": "^2.1.0",
- "stylelint-scss": "^3.5.3",
+ "stylelint-scss": "^3.5.4",
"vue-jest": "^4.0.0-beta.2",
"webpack-dev-server": "^3.1.14",
"yarn-deduplicate": "^1.1.1"