package.json 5.33 KB
Newer Older
David Sveningsson's avatar
rules  
David Sveningsson committed
1
{
2
  "name": "html-validate",
David Sveningsson's avatar
David Sveningsson committed
3
  "version": "1.9.0",
David Sveningsson's avatar
rules  
David Sveningsson committed
4
  "description": "html linter",
David Sveningsson's avatar
David Sveningsson committed
5 6 7
  "keywords": [
    "html",
    "lint",
8 9
    "validator",
    "html-validate"
David Sveningsson's avatar
David Sveningsson committed
10
  ],
11 12
  "author": "David Sveningsson <ext@sidvind.com>",
  "license": "MIT",
13
  "homepage": "https://html-validate.org",
14 15
  "repository": {
    "type": "git",
David Sveningsson's avatar
David Sveningsson committed
16
    "url": "https://gitlab.com/html-validate/html-validate.git"
17 18
  },
  "bugs": {
David Sveningsson's avatar
David Sveningsson committed
19
    "url": "https://gitlab.com/html-validate/html-validate/issues/new"
20
  },
21
  "main": "build/shim.js",
22
  "engines": {
23
    "node": ">= 8.5"
24
  },
David Sveningsson's avatar
rules  
David Sveningsson committed
25
  "bin": {
26
    "html-validate": "bin/html-validate.js"
David Sveningsson's avatar
rules  
David Sveningsson committed
27 28
  },
  "scripts": {
29
    "build": "tsc",
30
    "build:docs": "grunt docs",
31
    "clean": "rm -rf build public",
32 33
    "eslint": "eslint *.js '{docs,elements,src}/**/*.{js,ts}'",
    "eslint:fix": "eslint --fix *.js '{docs,elements,src}/**/*.{js,ts}'",
34
    "htmlvalidate": "./bin/html-validate.js",
35
    "lint": "npm run eslint && npm run tslint",
36 37
    "prettier:check": "prettier '**/*.{ts,js,json,md,scss}' --list-different",
    "prettier:write": "prettier '**/*.{ts,js,json,md,scss}' --write",
38
    "semantic-release": "semantic-release",
39
    "start": "grunt connect",
40
    "test": "jest --ci",
41
    "tslint": "tslint -t verbose *.ts src/**/*.ts",
42
    "tslint:fix": "tslint -t verbose --fix *.ts src/**/*.ts"
David Sveningsson's avatar
rules  
David Sveningsson committed
43
  },
44 45
  "husky": {
    "hooks": {
46 47
      "pre-commit": "lint-staged",
      "pre-push": "./scripts/pre-push"
48 49 50 51 52 53 54 55
    }
  },
  "lint-staged": {
    "*.{ts,js,json,md,scss}": [
      "prettier --write",
      "git add"
    ]
  },
56 57 58 59 60 61 62 63 64 65 66 67
  "renovate": {
    "extends": [
      "config:js-lib"
    ],
    "automerge": true,
    "automergeType": "branch",
    "prCreation": "not-pending",
    "unpublishSafe": true,
    "major": {
      "automerge": false
    }
  },
68 69 70 71 72 73
  "release": {
    "plugins": [
      "@semantic-release/commit-analyzer",
      "@semantic-release/release-notes-generator",
      "@semantic-release/npm",
      "@semantic-release/gitlab",
David Sveningsson's avatar
David Sveningsson committed
74 75 76
      [
        "@semantic-release/changelog",
        {
77
          "changelogTitle": "# html-validate changelog"
David Sveningsson's avatar
David Sveningsson committed
78 79
        }
      ],
80 81 82
      [
        "@semantic-release/exec",
        {
83
          "prepareCmd": "npm run prettier:write"
84 85
        }
      ],
David Sveningsson's avatar
David Sveningsson committed
86 87 88 89 90 91
      [
        "@semantic-release/git",
        {
          "message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
        }
      ]
92 93
    ]
  },
94
  "dependencies": {
95
    "@babel/code-frame": "^7.0.0",
96
    "acorn-walk": "^7.0.0",
97
    "ajv": "^6.10.0",
David Sveningsson's avatar
David Sveningsson committed
98
    "better-ajv-errors": "^0.6.2",
99
    "chalk": "^2.4.2",
100
    "deepmerge": "^4.0.0",
101
    "eslint": "^6.0.0",
102
    "espree": "^6.0.0",
David Sveningsson's avatar
David Sveningsson committed
103
    "glob": "^7.1.3",
104
    "json-merge-patch": "^0.2.3",
105 106
    "minimist": "^1.2.0"
  },
David Sveningsson's avatar
rules  
David Sveningsson committed
107
  "devDependencies": {
108 109
    "@babel/core": "7.6.0",
    "@babel/preset-env": "7.6.0",
110
    "@semantic-release/changelog": "3.0.4",
111
    "@semantic-release/exec": "3.3.6",
112 113
    "@semantic-release/git": "7.0.16",
    "@semantic-release/gitlab": "3.1.7",
114
    "@semantic-release/npm": "5.1.15",
115
    "@semantic-release/release-notes-generator": "7.3.0",
116
    "@types/babel__code-frame": "7.0.1",
117
    "@types/estree": "0.0.39",
118
    "@types/glob": "7.1.1",
119
    "@types/jest": "24.0.18",
120
    "@types/json-merge-patch": "0.0.4",
121
    "@types/minimist": "1.2.0",
122
    "@types/node": "11.13.20",
123 124
    "@typescript-eslint/eslint-plugin": "2.3.0",
    "@typescript-eslint/parser": "2.3.0",
125
    "autoprefixer": "9.6.1",
126 127 128 129 130
    "babelify": "10.0.0",
    "bootstrap-sass": "3.4.1",
    "canonical-path": "1.0.0",
    "cssnano": "4.1.10",
    "dgeni": "0.4.12",
131
    "dgeni-packages": "0.28.1",
132
    "eslint-config-prettier": "6.3.0",
133
    "eslint-config-sidvind": "1.3.2",
134 135
    "eslint-plugin-array-func": "3.1.3",
    "eslint-plugin-import": "2.18.2",
136
    "eslint-plugin-jest": "22.17.0",
137
    "eslint-plugin-node": "10.0.0",
138
    "eslint-plugin-prettier": "3.1.0",
139 140
    "eslint-plugin-security": "1.4.0",
    "eslint-plugin-sonarjs": "0.4.0",
141 142 143 144
    "font-awesome": "4.7.0",
    "grunt": "1.0.4",
    "grunt-browserify": "5.3.0",
    "grunt-cli": "1.3.2",
145
    "grunt-contrib-connect": "2.1.0",
146 147
    "grunt-contrib-copy": "1.0.0",
    "grunt-postcss": "0.9.0",
148
    "grunt-sass": "3.1.0",
149
    "highlight.js": "9.15.10",
150
    "husky": "3.0.5",
151 152
    "jest": "24.9.0",
    "jest-diff": "24.9.0",
153
    "jest-junit": "8.0.0",
154
    "jquery": "3.4.1",
155
    "lint-staged": "9.2.5",
156
    "load-grunt-tasks": "5.1.0",
157
    "minimatch": "3.0.4",
158
    "prettier": "1.18.2",
159
    "sass": "1.22.12",
160
    "semantic-release": "15.13.24",
161
    "serve-static": "1.14.1",
162
    "strip-ansi": "5.2.0",
163
    "ts-jest": "24.1.0",
164
    "tslint": "5.20.0",
165
    "tslint-config-prettier": "1.18.0",
166
    "typescript": "3.6.3"
167
  },
168 169 170 171 172
  "jest": {
    "collectCoverage": true,
    "collectCoverageFrom": [
      "src/**/*.ts",
      "!src/**/*.spec.ts",
173
      "!src/**/index.ts",
174
      "!src/shim.ts",
175
      "!src/cli/html-validate.ts"
176
    ],
177
    "coverageReporters": [
178
      "text",
179 180
      "text-summary",
      "html"
181
    ],
182 183 184 185 186 187 188 189 190 191
    "reporters": [
      "default",
      [
        "jest-junit",
        {
          "outputDirectory": "temp",
          "outputName": "./jest.xml"
        }
      ]
    ],
192
    "roots": [
193 194 195
      "<rootDir>/docs",
      "<rootDir>/elements",
      "<rootDir>/src"
196
    ],
David Sveningsson's avatar
David Sveningsson committed
197
    "snapshotSerializers": [
David Sveningsson's avatar
David Sveningsson committed
198
      "pretty-format/build/plugins/ConvertAnsi"
David Sveningsson's avatar
David Sveningsson committed
199
    ],
200 201 202
    "transform": {
      "^.+\\.tsx?$": "ts-jest"
    },
203
    "testRegex": "(/__tests__/.+|(\\.|/)(test|spec))\\.tsx?$",
204 205 206
    "moduleFileExtensions": [
      "ts",
      "js"
207
    ]
David Sveningsson's avatar
rules  
David Sveningsson committed
208 209
  }
}