{"_id":"@6a5p1/prettier-plugin-twig","name":"@6a5p1/prettier-plugin-twig","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.4":{"name":"@6a5p1/prettier-plugin-twig","version":"0.1.4","description":"Twig Prettier Plugin ","main":"dist/index.js","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","watch:test":"NODE_OPTIONS=--experimental-vm-modules jest --watch","build":"tsc --pretty","watch":"npm run build -- --watch","release":"npm run build && npm publish --access public","prepare":"husky install"},"keywords":["twig","prettier"],"license":"MIT","devDependencies":{"@commitlint/cli":"^17.7.1","@commitlint/config-conventional":"^17.7.0","@commitlint/prompt-cli":"^17.7.1","@types/jest":"^29.5.4","@types/lodash":"^4.14.197","@types/node":"^20.5.4","@types/prettier":"^2.7.3","@typescript-eslint/eslint-plugin":"^6.4.1","@typescript-eslint/parser":"^6.4.1","commitizen":"^4.3.0","cz-conventional-changelog":"^3.3.0","eslint":"^8.47.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","eslint-plugin-simple-import-sort":"^10.0.0","husky":"^8.0.3","jest":"^29.6.3","ts-jest":"^29.1.1","ts-node":"^10.9.1","typescript":"^5.1.6"},"dependencies":{"he":"^1.2.0","lodash":"^4.17.21","melody-code-frame":"^1.7.5","melody-extension-core":"^1.7.5","melody-types":"^1.7.5","prettier":"^3.0.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"_id":"@6a5p1/prettier-plugin-twig@0.1.4","gitHead":"84540cc120d69ec81df7280fb77aae9ac59a7c21","_nodeVersion":"21.1.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-ROhEfW2rZu0sAEOKF6MCSYbvrXmbH2DqvLWCHqZhR1x8Y7T5T8Qc9YTR4HKL8IZ4jp4mdLUzlJVrgtkGrRf+uQ==","shasum":"f83dab020b3af9ff3dc0d0a2650f3e3c81566afa","tarball":"https://registry.npmjs.org/@6a5p1/prettier-plugin-twig/-/prettier-plugin-twig-0.1.4.tgz","fileCount":71,"unpackedSize":200732,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGB+9C8svuWFSzES84jprf0OAsb7UtepAq4IM252DFtAIhAOBeqLcx/DtrUinKhuw9CmjDIdVxn0LJHqH6Ti3a8DuT"}]},"_npmUser":{"name":"6a5p1","email":"alexgasparel@gmail.com"},"directories":{},"maintainers":[{"name":"6a5p1","email":"alexgasparel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettier-plugin-twig_0.1.4_1699608225993_0.009840886363174706"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-10T09:23:45.906Z","0.1.4":"2023-11-10T09:23:46.137Z","modified":"2023-11-10T09:23:46.420Z"},"maintainers":[{"name":"6a5p1","email":"alexgasparel@gmail.com"}],"description":"Twig Prettier Plugin ","keywords":["twig","prettier"],"license":"MIT","readme":"## Prettier for Melody\n\n![Prettier Banner](https://raw.githubusercontent.com/prettier/prettier-logo/master/images/prettier-banner-light.png)\n\n---\n\nThis Plugin enables Prettier to format `.twig` files, as well as `.html.twig`.\n\n## Install\n\n```bash\nnpm i -D @nsetyo/prettier-plugin-twig\n```\n\n## Use\n\nAdd plugin in prettier config (e.g: .prettierrc)\n\n```json\n{\n    \"plugins\": [\"@nsetyo/prettier-plugin-twig\"]\n}\n```\n\n```bash\nprettier --write \"**/*.html.twig\"\n```\n\n### Credit\n\nMost of the code in this plugin is taken from https://github.com/trivago/prettier-plugin-twig-melody,\nwhich seems not maintained anymore. This _fork_ try to fix the issue there and add support for new Twig feature\n","readmeFilename":"README.md"}