package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "name": "postcss-clean",
  3. "version": "1.2.0",
  4. "description": "PostCSS plugin to minify CSS with clean-css",
  5. "author": {
  6. "name": "Leo Di Donato",
  7. "email": "leodidonato@gmail.com",
  8. "url": "http://git.io/leodido"
  9. },
  10. "engines": {
  11. "node": ">=8.0.0"
  12. },
  13. "license": "MIT",
  14. "repository": "leodido/postcss-clean",
  15. "bugs": {
  16. "url": "https://github.com/leodido/postcss-clean/issues"
  17. },
  18. "homepage": "https://github.com/leodido/postcss-clean",
  19. "main": "index.js",
  20. "module": "index.m.js",
  21. "dependencies": {
  22. "clean-css": "^4.1",
  23. "postcss": "^8.x"
  24. },
  25. "devDependencies": {
  26. "ava": "^0.18",
  27. "babel-eslint": "^6.0",
  28. "buble": "^0.15",
  29. "conventional-changelog-cli": "^2.1",
  30. "coveralls": "^3.1",
  31. "eslint": "^2.8",
  32. "eslint-config-defaults": "^9.0",
  33. "nyc": "^15.1",
  34. "rollup": "^0.41",
  35. "rollup-plugin-buble": "^0.15"
  36. },
  37. "scripts": {
  38. "clean": "rm -f $npm_package_main *.log && rm -rf coverage .nyc_output",
  39. "lint": "eslint $npm_package_jsnext:main test.js rollup.config.js",
  40. "develop": "BUILD_ENV=dev rollup -c rollup.config.js",
  41. "distrib": "rollup -c rollup.config.js",
  42. "pretest": "npm run lint && npm run develop",
  43. "test": "nyc ava --verbose --serial",
  44. "coverage": "nyc report --cache --reporter=text-summary --reporter=lcov",
  45. "report": "nyc report --reporter=html",
  46. "prepublish": "npm run distrib",
  47. "changelog": "conventional-changelog -p eslint -i CHANGELOG.md -s",
  48. "changelog:edit": "$(git var GIT_EDITOR) CHANGELOG.md",
  49. "from:master": "[ $(git symbolic-ref -q HEAD --short) = \"master\" ]",
  50. "preversion": "npm run from:master && npm run distrib",
  51. "version": "npm run changelog && npm run changelog:edit && git add CHANGELOG.md",
  52. "postversion": "git push && git push --tags"
  53. },
  54. "eslintConfig": {
  55. "extends": "eslint-config-defaults",
  56. "parser": "babel-eslint",
  57. "parserOptions": {
  58. "ecmaVersion": 6,
  59. "sourceType": "module"
  60. },
  61. "globals": {
  62. "Promise": true
  63. },
  64. "env": {
  65. "es6": true
  66. }
  67. },
  68. "keywords": [
  69. "postcss",
  70. "css",
  71. "postcss-plugin",
  72. "clean-css",
  73. "minifier",
  74. "minify",
  75. "minification",
  76. "optimisation",
  77. "optimization",
  78. "optimise",
  79. "optimize",
  80. "compress",
  81. "compression"
  82. ]
  83. }