package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. {
  2. "name": "postcss-loader",
  3. "version": "8.1.1",
  4. "description": "PostCSS loader for webpack",
  5. "license": "MIT",
  6. "repository": "webpack-contrib/postcss-loader",
  7. "author": "Andrey Sitnik <andrey@sitnik.ru>",
  8. "homepage": "https://github.com/webpack-contrib/postcss-loader",
  9. "bugs": "https://github.com/webpack-contrib/postcss-loader/issues",
  10. "funding": {
  11. "type": "opencollective",
  12. "url": "https://opencollective.com/webpack"
  13. },
  14. "main": "dist/cjs.js",
  15. "engines": {
  16. "node": ">= 18.12.0"
  17. },
  18. "scripts": {
  19. "start": "npm run build -- -w",
  20. "clean": "del-cli dist",
  21. "prebuild": "npm run clean",
  22. "build": "cross-env NODE_ENV=production babel src -d dist --copy-files",
  23. "commitlint": "commitlint --from=master",
  24. "security": "npm audit --production",
  25. "lint:prettier": "prettier --cache --list-different .",
  26. "lint:js": "eslint --cache .",
  27. "lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
  28. "lint": "npm-run-all -l -p \"lint:**\"",
  29. "fix:js": "npm run lint:js -- --fix",
  30. "fix:prettier": "npm run lint:prettier -- --write",
  31. "fix": "npm-run-all -l fix:js fix:prettier",
  32. "test:only": "cross-env NODE_ENV=test jest",
  33. "test:watch": "npm run test:only -- --watch",
  34. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  35. "pretest": "npm run lint",
  36. "test": "npm run test:coverage",
  37. "prepare": "husky install && npm run build",
  38. "release": "standard-version"
  39. },
  40. "files": [
  41. "dist"
  42. ],
  43. "peerDependencies": {
  44. "@rspack/core": "0.x || 1.x",
  45. "postcss": "^7.0.0 || ^8.0.1",
  46. "webpack": "^5.0.0"
  47. },
  48. "peerDependenciesMeta": {
  49. "@rspack/core": {
  50. "optional": true
  51. },
  52. "webpack": {
  53. "optional": true
  54. }
  55. },
  56. "dependencies": {
  57. "cosmiconfig": "^9.0.0",
  58. "jiti": "^1.20.0",
  59. "semver": "^7.5.4"
  60. },
  61. "devDependencies": {
  62. "@babel/cli": "^7.23.9",
  63. "@babel/core": "^7.23.9",
  64. "@babel/preset-env": "^7.23.9",
  65. "@commitlint/cli": "^18.6.1",
  66. "@commitlint/config-conventional": "^18.6.2",
  67. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  68. "babel-jest": "^29.7.0",
  69. "cross-env": "^7.0.3",
  70. "cspell": "^8.4.1",
  71. "cssnano": "^6.0.3",
  72. "del": "^7.1.0",
  73. "del-cli": "^5.1.0",
  74. "eslint": "^8.56.0",
  75. "eslint-config-prettier": "^9.1.0",
  76. "eslint-plugin-import": "^2.29.1",
  77. "husky": "^8.0.3",
  78. "jest": "^29.7.0",
  79. "less": "^4.2.0",
  80. "less-loader": "^12.2.0",
  81. "lint-staged": "^15.2.2",
  82. "memfs": "^4.7.6",
  83. "midas": "^2.0.3",
  84. "npm-run-all": "^4.1.5",
  85. "postcss": "^8.4.35",
  86. "postcss-dark-theme-class": "^1.2.1",
  87. "postcss-import": "^16.0.1",
  88. "postcss-js": "^4.0.1",
  89. "postcss-load-config": "^5.0.3",
  90. "postcss-nested": "^6.0.1",
  91. "postcss-short": "^5.0.0",
  92. "prettier": "^3.2.5",
  93. "sass": "^1.71.0",
  94. "sass-loader": "^14.1.1",
  95. "standard-version": "^9.3.2",
  96. "strip-ansi": "^7.1.0",
  97. "sugarss": "^4.0.1",
  98. "ts-jest": "^29.1.2",
  99. "ts-node": "^10.9.1",
  100. "webpack": "^5.90.3"
  101. },
  102. "keywords": [
  103. "css",
  104. "postcss",
  105. "postcss-runner",
  106. "webpack",
  107. "webpack-loader"
  108. ]
  109. }