package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "postcss-browser-comments",
  3. "version": "4.0.0",
  4. "description": "Keep only the CSS you need based on comments and your browserslist",
  5. "author": "Jonathan Neal <csstools@hotmail.com>",
  6. "license": "CC0-1.0",
  7. "repository": "csstools/postcss-browser-comments",
  8. "homepage": "https://github.com/csstools/postcss-browser-comments#readme",
  9. "bugs": "https://github.com/csstools/postcss-browser-comments/issues",
  10. "main": "index.cjs",
  11. "module": "index.mjs",
  12. "files": [
  13. "index.cjs",
  14. "index.cjs.map",
  15. "index.mjs",
  16. "index.mjs.map"
  17. ],
  18. "scripts": {
  19. "prepublishOnly": "npm test",
  20. "build": "rollup --config .rollup.js --silent",
  21. "lint": "eslint *.js --cache --ignore-path .gitignore --quiet",
  22. "test": "npm run lint && npm run build && npm run tape",
  23. "tape": "postcss-tape"
  24. },
  25. "engines": {
  26. "node": ">=8"
  27. },
  28. "peerDependencies": {
  29. "browserslist": ">=4",
  30. "postcss": ">=8"
  31. },
  32. "devDependencies": {
  33. "@babel/core": "7.13.16",
  34. "@babel/preset-env": "7.13.15",
  35. "browserslist": "4.1.1",
  36. "eslint": "7.25.0",
  37. "postcss": "8.2.13",
  38. "postcss-tape": "6.0.1",
  39. "pre-commit": "1.2.2",
  40. "rollup": "2.46.0",
  41. "rollup-plugin-babel": "4.3.2"
  42. },
  43. "eslintConfig": {
  44. "extends": "eslint:recommended",
  45. "parserOptions": {
  46. "ecmaVersion": 12,
  47. "sourceType": "module",
  48. "ecmaFeatures": {
  49. "modules": true
  50. }
  51. },
  52. "rules": {
  53. "semi": [
  54. "error",
  55. "never"
  56. ]
  57. }
  58. },
  59. "keywords": [
  60. "postcss",
  61. "css",
  62. "postcss-plugin",
  63. "browserslists",
  64. "browserlists",
  65. "browsers",
  66. "lists",
  67. "support",
  68. "caniuse",
  69. "target"
  70. ]
  71. }