package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "name": "postcss-normalize",
  3. "version": "10.0.1",
  4. "description": "Use the parts of normalize.css or sanitize.css you need from your browserslist",
  5. "author": "Jonathan Neal <jonathantneal@hotmail.com>",
  6. "license": "CC0-1.0",
  7. "repository": "csstools/postcss-normalize",
  8. "homepage": "https://github.com/csstools/postcss-normalize#readme",
  9. "bugs": "https://github.com/csstools/postcss-normalize/issues",
  10. "main": "./index.cjs",
  11. "module": "./index.mjs",
  12. "types": "./index.d.ts",
  13. "exports": {
  14. "require": "./index.cjs",
  15. "import": "./index.mjs",
  16. "default": "./index.mjs"
  17. },
  18. "files": [
  19. "index.d.ts",
  20. "index.cjs",
  21. "index.mjs"
  22. ],
  23. "scripts": {
  24. "prepublishOnly": "npm test",
  25. "build": "rollup --config .rollup.js --silent",
  26. "lint": "package-check && eslint --cache .gitignore --quiet",
  27. "test": "npm run lint && npm run build && npm run tape",
  28. "tape": "postcss-tape"
  29. },
  30. "engines": {
  31. "node": ">= 12"
  32. },
  33. "peerDependencies": {
  34. "browserslist": ">= 4",
  35. "postcss": ">= 8"
  36. },
  37. "dependencies": {
  38. "@csstools/normalize.css": "*",
  39. "postcss-browser-comments": "^4",
  40. "sanitize.css": "*"
  41. },
  42. "devDependencies": {
  43. "@babel/core": "^7.15.5",
  44. "@babel/plugin-syntax-import-meta": "^7.10.4",
  45. "@babel/preset-env": "^7.15.6",
  46. "@skypack/package-check": "^0.2.2",
  47. "browserslist": "^4.16.5",
  48. "eslint": "^7.32.0",
  49. "postcss": "^8.2.13",
  50. "postcss-import": "^14.0.2",
  51. "postcss-tape": "^6.0.1",
  52. "pre-commit": "^1.2.2",
  53. "rollup": "^2.56.3",
  54. "rollup-plugin-babel": "^4.4.0"
  55. },
  56. "babel": {
  57. "plugins": [
  58. "@babel/plugin-syntax-import-meta"
  59. ],
  60. "presets": [
  61. [
  62. "@babel/env",
  63. {
  64. "targets": "maintained node versions"
  65. }
  66. ]
  67. ]
  68. },
  69. "eslintConfig": {
  70. "extends": "eslint:recommended",
  71. "ignorePatterns": [
  72. ".tape.js"
  73. ],
  74. "parserOptions": {
  75. "ecmaVersion": 12,
  76. "sourceType": "module",
  77. "ecmaFeatures": {
  78. "modules": true
  79. }
  80. },
  81. "rules": {
  82. "semi": [
  83. "error",
  84. "never"
  85. ]
  86. }
  87. },
  88. "keywords": [
  89. "postcss",
  90. "css",
  91. "postcss-plugin",
  92. "normalizes",
  93. "browsers",
  94. "fixes"
  95. ]
  96. }