{ "name": "posthtml-beautify", "version": "0.7.0", "description": "A posthtml plugin to beautify you html files", "license": "MIT", "repository": "posthtml/posthtml-beautify", "homepage": "https://github.com/posthtml/posthtml-beautify#readme", "bugs": "posthtml/posthtml-beautify/issues", "author": { "name": "Ivan Demidov", "email": "Scrum@list.ru", "url": "https://twitter.com/Scrum_" }, "main": "lib/index.js", "engines": { "node": ">=10" }, "scripts": { "version": "conventional-changelog -i changelog.md -s -r 0 && git add changelog.md && git commit -m \"build: update changelog\"", "prepare": "npm run build", "coverage": "nyc report --reporter=text-lcov | coveralls", "lint": "eslint {src,test}/*.js *.md --fix", "pretest": "clinton && npm run lint && jsinspect", "docs": "cross-env BABEL_ENV=docs webpack --progress --env.prod -p", "build": "rimraf lib && cross-env BABEL_ENV=production babel src -d lib --ignore docs", "test": "cross-env BABEL_ENV=production nyc ava --timeout=1m --verbose", "serve": "cross-env BABEL_ENV=docs webpack-dashboard -- webpack-dev-server --content-base docs/ --open" }, "files": [ "lib/" ], "keywords": [ "html", "posthtml", "posthtml-plugin", "beautify", "beautifier", "code-quality" ], "dependencies": { "@babel/runtime": "^7.10.2", "deepmerge": "^4.2.2", "js-beautify": "^1.11.0", "posthtml-parser": "^0.4.2", "posthtml-render": "^1.2.2" }, "devDependencies": { "@babel/cli": "^7.10.1", "@babel/core": "^7.10.2", "@babel/plugin-transform-runtime": "^7.10.1", "@babel/polyfill": "^7.10.1", "@babel/preset-env": "^7.10.2", "@babel/register": "^7.10.1", "@commitlint/cli": "^8.3.5", "@commitlint/config-angular": "^8.3.4", "ava": "^3.9.0", "babel-eslint": "^10.1.0", "babel-loader": "^8.1.0", "babel-plugin-add-module-exports": "^1.0.2", "babel-preset-minify": "^0.5.1", "babel-upgrade": "^1.0.1", "clinton": "^0.14.0", "conventional-changelog-cli": "^2.0.34", "coveralls": "^3.1.0", "cross-env": "^7.0.2", "css-loader": "^3.6.0", "eslint": "^7.2.0", "eslint-config-xo": "^0.31.0", "eslint-config-xo-space": "^0.25.0", "eslint-plugin-ava": "^10.3.1", "eslint-plugin-babel": "^5.3.0", "eslint-plugin-html": "^6.0.2", "eslint-plugin-markdown": "^1.0.2", "eslint-plugin-unicorn": "^20.1.0", "highlight.js": "^10.1.1", "html-webpack-plugin": "^4.3.0", "husky": "^4.2.5", "is-promise": "^4.0.0", "jsinspect": "^0.12.7", "lint-staged": "^10.2.10", "nyc": "^15.1.0", "posthtml": "^0.13.0", "posthtml-include": "^1.4.3", "posthtml-modules": "^0.6.0", "rimraf": "^3.0.2", "vue": "^2.6.11", "vue-loader": "^15.9.2", "vue-template-compiler": "^2.6.11", "webpack": "^4.43.0", "webpack-cli": "^3.3.11", "webpack-dashboard": "^3.2.0", "webpack-dev-server": "^3.11.0" }, "husky": { "hooks": { "pre-push": "npm t", "pre-commit": "clinton && lint-staged", "commit-msg": "commitlint --extends=@commitlint/config-angular -e" } }, "lint-staged": { "{src,test}/**/*.js": "eslint", "*.md": "eslint" }, "ava": { "files": [ "test/test-*.js" ], "require": [ "@babel/register" ] }, "babel": { "env": { "docs": { "presets": [ [ "@babel/preset-env", { "targets": { "browsers": [ "ie 11", "last 2 versions" ] } } ] ] }, "production": { "presets": [ [ "@babel/preset-env", { "targets": { "node": "10" } } ] ], "plugins": [ [ "@babel/plugin-transform-runtime" ], "add-module-exports" ] } }, "presets": [] }, "eslintConfig": { "parser": "babel-eslint", "plugins": [ "html", "ava", "unicorn", "babel", "markdown" ], "extends": [ "plugin:unicorn/recommended", "plugin:ava/recommended", "xo", "xo-space" ], "rules": { "unicorn/no-reduce": "off", "unicorn/no-fn-reference-in-iterator": "off", "unicorn/prevent-abbreviations": "off", "capitalized-comments": "off", "no-new": "off", "complexity": [ "warn", 21 ] } }, "clinton": { "ignores": [ "test/**", "docs/**", "lib/**", "*.{html,jpg}" ], "rules": { "pkg-main": "off", "xo": "off", "ava": "off" } } }