版博士V2.0程序
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

69 строки
1.7 KiB

  1. {
  2. "name": "postcss-modules",
  3. "version": "4.0.0",
  4. "description": "PostCSS plugin to use CSS Modules everywhere",
  5. "main": "build/index.js",
  6. "keywords": [
  7. "postcss",
  8. "css",
  9. "postcss-plugin",
  10. "modules",
  11. "css modules",
  12. "components"
  13. ],
  14. "author": "Alexander Madyankin <alexander@madyankin.name>",
  15. "license": "MIT",
  16. "repository": {
  17. "type": "git",
  18. "url": "https://github.com/css-modules/postcss-modules.git"
  19. },
  20. "dependencies": {
  21. "generic-names": "^2.0.1",
  22. "icss-replace-symbols": "^1.1.0",
  23. "lodash.camelcase": "^4.3.0",
  24. "postcss-modules-extract-imports": "^3.0.0",
  25. "postcss-modules-local-by-default": "^4.0.0",
  26. "postcss-modules-scope": "^3.0.0",
  27. "postcss-modules-values": "^4.0.0",
  28. "string-hash": "^1.1.1"
  29. },
  30. "peerDependencies": {
  31. "postcss": "^8.0.0"
  32. },
  33. "devDependencies": {
  34. "autoprefixer": "^10.0.2",
  35. "babel-cli": "^6.26.0",
  36. "babel-core": "^6.26.3",
  37. "babel-eslint": "^10.1.0",
  38. "babel-preset-env": "^1.7.0",
  39. "eslint": "^7.3.1",
  40. "eslint-plugin-import": "^2.21.2",
  41. "eslint-plugin-jest": "^23.17.0",
  42. "husky": "^4.2.5",
  43. "jest": "^26.0.1",
  44. "lint-staged": "^10.2.11",
  45. "postcss": "^8.1.9",
  46. "prettier": "^2.0.5"
  47. },
  48. "scripts": {
  49. "pretest": "$(npm bin)/eslint src test",
  50. "test": "$(npm bin)/jest",
  51. "transpile": "$(npm bin)/babel src -d build",
  52. "prepublish": "npm run transpile",
  53. "postpublish": "rm -rf build && git push --follow-tags",
  54. "precommit": "lint-staged"
  55. },
  56. "lint-staged": {
  57. "*.{json,md}": [
  58. "prettier --write",
  59. "git add"
  60. ],
  61. "*.js": [
  62. "prettier --write",
  63. "eslint --fix",
  64. "git add"
  65. ]
  66. },
  67. "require": "babel-core/register"
  68. }