170 lines
4.7 KiB
JSON
170 lines
4.7 KiB
JSON
{
|
|
"type": "module",
|
|
"name": "prettier-plugin-tailwindcss",
|
|
"version": "0.8.1",
|
|
"description": "A Prettier plugin for sorting Tailwind CSS classes.",
|
|
"license": "MIT",
|
|
"main": "dist/index.mjs",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.mts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"import": "./dist/index.mjs",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./sorter": {
|
|
"types": "./dist/sorter.d.mts",
|
|
"import": "./dist/sorter.mjs",
|
|
"default": "./dist/sorter.mjs"
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tailwindlabs/prettier-plugin-tailwindcss"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/tailwindlabs/prettier-plugin-tailwindcss/issues"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/types": "^7.28.2",
|
|
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
|
|
"@marko/compiler": "^5.39.49",
|
|
"@prettier/plugin-hermes": "^0.1.2",
|
|
"@prettier/plugin-oxc": "^0.1.2",
|
|
"@prettier/plugin-pug": "^3.4.2",
|
|
"@shopify/prettier-plugin-liquid": "^1.10.0",
|
|
"@trivago/prettier-plugin-sort-imports": "^6.0.0",
|
|
"@types/node": "^24.3.0",
|
|
"@zackad/prettier-plugin-twig": "^0.16.0",
|
|
"clear-module": "^4.1.2",
|
|
"dedent": "^1.6.0",
|
|
"enhanced-resolve": "^5.18.3",
|
|
"escalade": "^3.2.0",
|
|
"fast-glob": "^3.3.3",
|
|
"import-sort-style-module": "^6.0.0",
|
|
"jiti": "^2.6.0",
|
|
"knip": "^5.83.0",
|
|
"license-checker": "^25.0.1",
|
|
"line-column": "^1.0.2",
|
|
"marko": "^5.37.46",
|
|
"oxlint": "^1.43.0",
|
|
"oxlint-tsgolint": "^0.11.4",
|
|
"postcss": "^8.5.6",
|
|
"postcss-import": "^16.1.1",
|
|
"prettier": "^3.7.3",
|
|
"prettier-plugin-astro": "^0.14.1",
|
|
"prettier-plugin-css-order": "^2.1.2",
|
|
"prettier-plugin-jsdoc": "^1.3.3",
|
|
"prettier-plugin-marko": "^3.3.2",
|
|
"prettier-plugin-multiline-arrays": "^4.0.3",
|
|
"prettier-plugin-organize-attributes": "^1.0.0",
|
|
"prettier-plugin-organize-imports": "^4.2.0",
|
|
"prettier-plugin-sort-imports": "^1.8.8",
|
|
"prettier-plugin-svelte": "^4.0.1",
|
|
"pug-lexer": "^5.0.1",
|
|
"svelte": "^5.38.2",
|
|
"tailwindcss-v3": "npm:tailwindcss@^3.4.18",
|
|
"tailwindcss-v4": "npm:tailwindcss@^4.1.14",
|
|
"tsdown": "^0.20.1",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"peerDependencies": {
|
|
"@ianvs/prettier-plugin-sort-imports": "*",
|
|
"@prettier/plugin-hermes": "*",
|
|
"@prettier/plugin-oxc": "*",
|
|
"@prettier/plugin-pug": "*",
|
|
"@shopify/prettier-plugin-liquid": "*",
|
|
"@trivago/prettier-plugin-sort-imports": "*",
|
|
"@zackad/prettier-plugin-twig": "*",
|
|
"prettier": "^3.0",
|
|
"prettier-plugin-astro": "*",
|
|
"prettier-plugin-css-order": "*",
|
|
"prettier-plugin-jsdoc": "*",
|
|
"prettier-plugin-marko": "*",
|
|
"prettier-plugin-multiline-arrays": "*",
|
|
"prettier-plugin-organize-attributes": "*",
|
|
"prettier-plugin-organize-imports": "*",
|
|
"prettier-plugin-sort-imports": "*",
|
|
"prettier-plugin-svelte": "*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@ianvs/prettier-plugin-sort-imports": {
|
|
"optional": true
|
|
},
|
|
"@prettier/plugin-hermes": {
|
|
"optional": true
|
|
},
|
|
"@prettier/plugin-oxc": {
|
|
"optional": true
|
|
},
|
|
"@prettier/plugin-pug": {
|
|
"optional": true
|
|
},
|
|
"@shopify/prettier-plugin-liquid": {
|
|
"optional": true
|
|
},
|
|
"@trivago/prettier-plugin-sort-imports": {
|
|
"optional": true
|
|
},
|
|
"@zackad/prettier-plugin-twig": {
|
|
"optional": true
|
|
},
|
|
"prettier-plugin-astro": {
|
|
"optional": true
|
|
},
|
|
"prettier-plugin-css-order": {
|
|
"optional": true
|
|
},
|
|
"prettier-plugin-jsdoc": {
|
|
"optional": true
|
|
},
|
|
"prettier-plugin-marko": {
|
|
"optional": true
|
|
},
|
|
"prettier-plugin-multiline-arrays": {
|
|
"optional": true
|
|
},
|
|
"prettier-plugin-organize-attributes": {
|
|
"optional": true
|
|
},
|
|
"prettier-plugin-organize-imports": {
|
|
"optional": true
|
|
},
|
|
"prettier-plugin-sort-imports": {
|
|
"optional": true
|
|
},
|
|
"prettier-plugin-svelte": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=20.19"
|
|
},
|
|
"importSort": {
|
|
".js, .jsx, .ts, .tsx": {
|
|
"style": "module"
|
|
}
|
|
},
|
|
"jest": {
|
|
"testTimeout": 15000
|
|
},
|
|
"overrides": {
|
|
"@ianvs/prettier-plugin-sort-imports": {
|
|
"@prettier/plugin-oxc": "^0.1.2"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"dev": "tsdown --watch",
|
|
"pretest": "node scripts/install-fixture-deps.js",
|
|
"test": "vitest",
|
|
"format": "prettier \"src/**/*.ts\" \"scripts/**/*.js\" \"tests/*.ts\" --write --print-width 100 --single-quote --no-semi",
|
|
"lint": "knip && oxlint --type-aware src tests/*.ts",
|
|
"release-channel": "node ./scripts/release-channel.js",
|
|
"release-notes": "node ./scripts/release-notes.js"
|
|
}
|
|
} |