package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "name": "postcss-normalize-charset",
  3. "version": "5.1.0",
  4. "description": "Add necessary or remove extra charset with PostCSS",
  5. "keywords": [
  6. "postcss",
  7. "css",
  8. "postcss-plugin",
  9. "charset"
  10. ],
  11. "author": "Bogdan Chadkin <trysound@yandex.ru>",
  12. "files": [
  13. "src",
  14. "LICENSE",
  15. "types"
  16. ],
  17. "license": "MIT",
  18. "repository": "cssnano/cssnano",
  19. "bugs": {
  20. "url": "https://github.com/cssnano/cssnano/issues"
  21. },
  22. "homepage": "https://github.com/cssnano/cssnano",
  23. "main": "src/index.js",
  24. "types": "types/index.d.ts",
  25. "engines": {
  26. "node": "^10 || ^12 || >=14.0"
  27. },
  28. "devDependencies": {
  29. "postcss": "^8.2.15"
  30. },
  31. "peerDependencies": {
  32. "postcss": "^8.2.15"
  33. },
  34. "readme": "# postcss-normalize-charset\n\nAdd necessary or remove extra charset with PostCSS\n\n```css\na{\n content: \"©\";\n}\n```\n\n```css\n@charset \"utf-8\";\na{\n content: \"©\";\n}\n```\n\n## API\n\n### normalizeCharset([options])\n\n#### options\n\n##### add\n\nType: `boolean` \nDefault: `true`\n\nPass `false` to stop the module from adding a `@charset` declaration if it was\nmissing from the file (and the file contained non-ascii characters).\n\n## Usage\n\nSee the [PostCSS documentation](https://github.com/postcss/postcss#usage) for\nexamples for your environment.\n\n## Contributors\n\nSee [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).\n\n## License\n\nMIT © [Bogdan Chadkin](mailto:trysound@yandex.ru)\n"
  35. }