package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "name": "stylelint-order",
  3. "version": "6.0.3",
  4. "description": "A collection of order related linting rules for Stylelint.",
  5. "keywords": [
  6. "stylelint-plugin",
  7. "stylelint",
  8. "css",
  9. "lint",
  10. "order"
  11. ],
  12. "author": "Aleks Hudochenkov <aleks@hudochenkov.com>",
  13. "license": "MIT",
  14. "repository": "hudochenkov/stylelint-order",
  15. "files": [
  16. "rules",
  17. "utils",
  18. "!**/tests",
  19. "index.js",
  20. "!.DS_Store"
  21. ],
  22. "main": "index.js",
  23. "dependencies": {
  24. "postcss": "^8.4.21",
  25. "postcss-sorting": "^8.0.2"
  26. },
  27. "peerDependencies": {
  28. "stylelint": "^14.0.0 || ^15.0.0"
  29. },
  30. "devDependencies": {
  31. "eslint": "^8.33.0",
  32. "eslint-config-hudochenkov": "^9.0.0",
  33. "eslint-config-prettier": "^8.6.0",
  34. "husky": "^8.0.3",
  35. "jest": "^29.4.2",
  36. "jest-preset-stylelint": "^6.0.0",
  37. "jest-watch-typeahead": "^2.2.2",
  38. "lint-staged": "^13.1.1",
  39. "postcss-html": "^1.5.0",
  40. "postcss-less": "^6.0.0",
  41. "postcss-styled-syntax": "^0.4.0",
  42. "prettier": "~2.8.4",
  43. "prettier-config-hudochenkov": "^0.3.0",
  44. "stylelint": "^15.2.0"
  45. },
  46. "scripts": {
  47. "lint": "eslint . --max-warnings=0 && prettier '**/*.js' --check",
  48. "test": "jest",
  49. "watch": "jest --watch",
  50. "coverage": "jest --coverage",
  51. "fix": "eslint . --fix --max-warnings=0 && prettier '**/*.js' --write",
  52. "prepare": "husky install"
  53. },
  54. "lint-staged": {
  55. "*.js": [
  56. "eslint --fix --max-warnings=0",
  57. "prettier --write"
  58. ]
  59. },
  60. "jest": {
  61. "preset": "jest-preset-stylelint",
  62. "setupFiles": [
  63. "./jest-setup.js"
  64. ],
  65. "watchPlugins": [
  66. "jest-watch-typeahead/filename",
  67. "jest-watch-typeahead/testname"
  68. ],
  69. "testEnvironment": "node",
  70. "testRegex": ".*\\.test\\.js$|rules/.*/tests/.*\\.js$"
  71. },
  72. "prettier": "prettier-config-hudochenkov"
  73. }