sounisi5011/metalsmith-html-validator

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "metalsmith-html-validator",
  "version": "1.1.1",
  "description": "Metalsmith plugin for HTML validation, using the Nu Html Checker (v.Nu)",
  "keywords": [
    "HTML",
    "Nu HTML Checker",
    "audit",
    "check",
    "checker",
    "html",
    "html-validator",
    "html5",
    "htmllint",
    "linter",
    "metalsmith",
    "metalsmith-plugin",
    "plugin",
    "standards",
    "test",
    "v.Nu",
    "validate",
    "validation",
    "validator",
    "vnu",
    "w3c"
  ],
  "homepage": "https://github.com/sounisi5011/metalsmith-html-validator#readme",
  "bugs": {
    "url": "https://github.com/sounisi5011/metalsmith-html-validator/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sounisi5011/metalsmith-html-validator.git"
  },
  "license": "MIT",
  "author": "sounisi5011",
  "main": "dist/index",
  "types": "dist/index.d.ts",
  "directories": {
    "test": "test"
  },
  "scripts": {
    "build": "tsc",
    "build:readme": "node ./script/readme-generator.js --template ./readme-template.mustache",
    "clean": "del './dist/' './test/fixtures/*/{build,package-lock.json}'",
    "fmt-pkg": "run-s fmt-pkg:prettier fmt-pkg:sort",
    "fmt-pkg:prettier": "prettier-package-json --write ./package.json",
    "fmt-pkg:sort": "sort-package-json ./package.json",
    "fmt-ts": "run-s 'lint:eslint -- --fix'",
    "lint": "run-p lint:*",
    "lint:eslint": "eslint --ext .ts ./",
    "lint:tsc-src": "tsc --noEmit",
    "lint:tsc-test": "tsc -p ./test/ --noEmit",
    "release": "run-s release:validation release:build release:publish",
    "release:build": "run-s clean build",
    "release:publish": "run-s release:publish:git release:publish:npm",
    "release:publish:git": "package-version-git-tag --push --verbose",
    "release:publish:npm": "npm publish --access=public",
    "release:validation": "npm-run-all release:validation:publishable -p 'release:validation:!(publishable)' test",
    "release:validation:git-branch": "git-branch-is master",
    "release:validation:git-work-dir": "is-git-status-clean",
    "release:validation:publishable": "can-npm-publish --verbose",
    "test": "run-s test:readme test:peer-deps lint test:ava test:check-type-defs-pkgs",
    "test:ava": "ava",
    "test:check-type-defs-pkgs": "node script/check-type-defs-pkgs.js ./dist/ build",
    "test:peer-deps": "check-peer-deps",
    "test:readme": "run-s 'build:readme -- --test'"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "!(README.md)": [
      "run-s build:readme --",
      "git add ./README.md"
    ],
    "!(package).json|*.{js,yaml,yml}": [
      "prettier --write",
      "git add"
    ],
    "*.ts": [
      "eslint --fix",
      "git add"
    ],
    "README.md": [
      "run-s test:readme --"
    ],
    "package.json": [
      "prettier-package-json --write",
      "sort-package-json",
      "git add"
    ],
    "src/schemas/vnu-jar.{json,ts}": [
      "json2ts ./src/schemas/vnu-jar.json ./src/schemas/vnu-jar.ts",
      "prettier --write ./src/schemas/vnu-jar.ts",
      "git add ./src/schemas/vnu-jar.ts"
    ]
  },
  "dependencies": {
    "@types/metalsmith": "2.3.0",
    "@types/rimraf": "2.0.3",
    "@types/tmp": "0.1.0",
    "chalk": "3.0.0",
    "cross-spawn": "7.0.1",
    "debug": "4.1.1",
    "deep-freeze-strict": "1.1.1",
    "file-uri-to-path": "2.0.0",
    "multimatch": "4.0.0",
    "rimraf": "3.0.0",
    "shell-escape": "0.2.0",
    "signal-exit": "3.0.2",
    "tmp": "0.1.0",
    "vnu-jar": "19.9.4"
  },
  "devDependencies": {
    "@sounisi5011/check-peer-deps": "github:sounisi5011/check-peer-deps",
    "@types/cross-spawn": "6.0.1",
    "@types/debug": "4.1.5",
    "@types/deep-freeze-strict": "1.1.0",
    "@types/has-ansi": "3.0.0",
    "@types/lodash.clonedeep": "4.5.6",
    "@types/shell-escape": "0.2.0",
    "@types/signal-exit": "3.0.0",
    "@types/vnu-jar": "17.11.0",
    "@typescript-eslint/eslint-plugin": "2.7.0",
    "@typescript-eslint/parser": "2.7.0",
    "ajv": "6.10.2",
    "ava": "2.4.0",
    "can-npm-publish": "1.3.2",
    "del-cli": "3.0.0",
    "eslint": "6.6.0",
    "eslint-config-prettier": "6.5.0",
    "eslint-config-standard": "14.1.0",
    "eslint-plugin-import": "2.18.2",
    "eslint-plugin-node": "10.0.0",
    "eslint-plugin-prettier": "3.1.1",
    "eslint-plugin-promise": "4.2.1",
    "eslint-plugin-simple-import-sort": "4.0.0",
    "eslint-plugin-standard": "4.0.1",
    "git-branch-is": "3.0.0",
    "has-ansi": "4.0.0",
    "husky": "3.0.9",
    "is-git-status-clean": "1.0.0",
    "json-schema-to-typescript": "7.1.0",
    "lint-staged": "9.4.2",
    "lodash.clonedeep": "4.5.0",
    "metalsmith": "2.3.0",
    "mustache": "3.1.0",
    "npm-run-all": "4.1.5",
    "package-version-git-tag": "2.0.2",
    "prettier": "1.19.1",
    "prettier-package-json": "2.1.0",
    "sort-package-json": "1.23.1",
    "ts-node": "8.5.0",
    "typescript": "3.7.2"
  },
  "peerDependencies": {
    "metalsmith": ">=2.3.0"
  },
  "engines": {
    "node": ">=8.3.0"
  },
  "ava": {
    "files": [
      "./test/**/*.ts"
    ],
    "helpers": [
      "**/{fixtures,helpers}/**/*"
    ],
    "compileEnhancements": false,
    "require": [
      "ts-node/register/transpile-only"
    ],
    "extensions": [
      "ts"
    ]
  }
}