UNPKG

htmlhint

Version:

The Static Code Analysis Tool for your HTML

87 lines (86 loc) 2.48 kB
{ "name": "htmlhint", "version": "1.9.2", "description": "The Static Code Analysis Tool for your HTML", "keywords": [ "html", "hint", "analysis", "lint", "javascript" ], "homepage": "https://htmlhint.com", "bugs": { "url": "https://github.com/htmlhint/HTMLHint/issues" }, "repository": { "type": "git", "url": "git+https://github.com/htmlhint/HTMLHint.git" }, "funding": { "type": "Open Collective", "url": "https://opencollective.com/htmlhint" }, "license": "MIT", "main": "dist/htmlhint.js", "module": "dist/core/core.js", "bin": { "htmlhint": "bin/htmlhint" }, "files": [ "bin", "dist" ], "scripts": { "build": "npm run clean && tsc && npm run build:rollup", "build:min": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production", "build:rollup": "npm run build:min && npm run build:unmin", "build:unmin": "rollup -c --bundleConfigAsCjs", "clean": "rimraf dist", "full": "npm i && npm run build && npm run test && npm run lint", "htmlhint:html": "node bin/htmlhint --format html", "htmlhint:sarif": "node bin/htmlhint --format sarif", "lint": "eslint . --max-warnings 0 && prettier -c .", "lint:fix": "eslint . --fix && npm run prettier", "lint:markdown": "npx markdownlint-cli **/*.md", "prettier": "prettier --write \"**/*.{css,html,js,json,jsonc,md,mdx,mjs,scss,ts,yaml,yml}\"", "spellcheck": "npx cspell \"**/*.{html,json,md,mdx,yml}\" --no-progress", "test": "jest", "test:coverage": "jest --coverage" }, "dependencies": { "async": "3.2.6", "chalk": "4.1.2", "commander": "11.1.0", "glob": "^13.0.6", "is-glob": "^4.0.3", "node-sarif-builder": "3.2.0", "strip-json-comments": "3.1.1", "xml": "1.0.1" }, "devDependencies": { "@rollup/plugin-commonjs": "28.0.6", "@rollup/plugin-node-resolve": "16.0.3", "@rollup/plugin-terser": "^0.4.4", "@types/async": "^3.2.25", "@types/is-glob": "4.0.4", "@types/xml": "^1.0.11", "@typescript-eslint/eslint-plugin": "8.44.0", "@typescript-eslint/parser": "8.44.0", "eslint": "^9.39.3", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.5", "jest": "^30.2.0", "parse-glob": "3.0.4", "prettier": "3.8.1", "rimraf": "^5.0.0", "rollup": "4.53.3", "typescript": "5.4.5" }, "engines": { "node": ">=18" }, "volta": { "node": "18.20.8" } }