package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "css-declaration-sorter",
  3. "version": "6.4.1",
  4. "description": "Sorts CSS declarations fast and automatically in a certain order.",
  5. "type": "module",
  6. "main": "./dist/main.cjs",
  7. "exports": {
  8. "import": "./src/main.mjs",
  9. "require": "./dist/main.cjs"
  10. },
  11. "types": "./src/main.d.ts",
  12. "files": [
  13. "src/main.mjs",
  14. "src/main.d.ts",
  15. "src/shorthand-data.mjs",
  16. "src/bubble-sort.mjs",
  17. "orders",
  18. "dist"
  19. ],
  20. "scripts": {
  21. "build": "rollup -c",
  22. "preversion": "npm test",
  23. "test": "uvu src .+\\.test\\.mjs",
  24. "test:ci": "npm test && npm run lint -- --max-warnings 0",
  25. "lint": "eslint src/*.mjs",
  26. "scrape": "node --experimental-import-meta-resolve src/property-scraper.mjs",
  27. "prepack": "npm run build"
  28. },
  29. "devDependencies": {
  30. "@mdn/browser-compat-data": "^5.2.23",
  31. "@rollup/plugin-dynamic-import-vars": "^2.0.2",
  32. "@rollup/plugin-replace": "^5.0.2",
  33. "eslint": "^8.35.0",
  34. "postcss": "^8.4.18",
  35. "rollup": "^3.15.0",
  36. "uvu": "^0.5.6"
  37. },
  38. "peerDependencies": {
  39. "postcss": "^8.0.9"
  40. },
  41. "engines": {
  42. "node": "^10 || ^12 || >=14"
  43. },
  44. "repository": {
  45. "type": "git",
  46. "url": "https://github.com/Siilwyn/css-declaration-sorter.git"
  47. },
  48. "author": "Selwyn <talk@selwyn.cc> (https://selwyn.cc/)",
  49. "license": "ISC",
  50. "keywords": [
  51. "postcss",
  52. "postcss-plugin",
  53. "css",
  54. "declaration",
  55. "sorter",
  56. "property",
  57. "order"
  58. ]
  59. }