{ "name": "@herb-tools/formatter", "version": "0.11.2", "description": "Auto-formatter for HTML+ERB templates with intelligent indentation, line wrapping, and ERB-aware pretty-printing.", "license": "MIT", "homepage": "https://herb-tools.dev", "bugs": "https://github.com/marcoroth/herb/issues/new?title=Package%20%60@herb-tools/formatter%60:%20", "repository": { "type": "git", "url": "git+https://github.com/marcoroth/herb.git", "directory": "javascript/packages/formatter" }, "main": "./dist/index.cjs", "module": "./dist/index.esm.js", "require": "./dist/index.cjs", "types": "./dist/types/index.d.ts", "bin": { "herb-format": "bin/herb-format" }, "scripts": { "build": "yarn clean && tsc --emitDeclarationOnly && rolldown -c", "dev": "rolldown -c -w", "clean": "rimraf dist", "test": "vitest run", "test:watch": "vitest --watch", "typecheck": "tsc -p tsconfig.test.json", "prepublishOnly": "yarn clean && yarn build && yarn test" }, "exports": { "./package.json": "./package.json", ".": { "types": "./dist/types/index.d.ts", "import": "./dist/index.esm.js", "require": "./dist/index.cjs", "default": "./dist/index.esm.js" } }, "dependencies": { "@herb-tools/config": "0.11.2", "@herb-tools/core": "0.11.2", "@herb-tools/highlighter": "0.11.2", "@herb-tools/node-wasm": "0.11.2", "@herb-tools/printer": "0.11.2", "@herb-tools/rewriter": "0.11.2", "@ruby/prism": "2.1.0", "tinyglobby": "^0.2.15" }, "files": [ "package.json", "README.md", "dist/", "src/", "bin/" ] }