Skip to content
Permalink
Browse files

Chore: Update packages to use @hint/utils-i18n

  • Loading branch information
sarvaje committed Oct 24, 2019
1 parent 2060680 commit 1f4b600a431da4f7d5d6f40aa1696a2e91cc22e0
Showing with 262 additions and 149 deletions.
  1. +2 βˆ’1 packages/connector-local/package.json
  2. +2 βˆ’1 packages/connector-local/tsconfig.json
  3. +2 βˆ’2 packages/create-hint/src/shared-templates/package.hbs
  4. +1 βˆ’1 packages/create-parser/package.json
  5. +1 βˆ’0 packages/extension-browser/package.json
  6. +1 βˆ’1 packages/extension-browser/src/devtools/views/controls/feedback-link.tsx
  7. +1 βˆ’1 packages/extension-browser/src/devtools/views/pages/config/sections/categories.tsx
  8. +1 βˆ’1 packages/extension-browser/src/devtools/views/pages/results/category-summary.tsx
  9. +1 βˆ’1 packages/extension-browser/src/devtools/views/pages/results/category.tsx
  10. +1 βˆ’1 packages/extension-browser/src/shims/get-message.ts
  11. +2 βˆ’1 packages/extension-browser/tsconfig.json
  12. +2 βˆ’2 packages/extension-browser/webpack.config.js
  13. +3 βˆ’2 packages/formatter-codeframe/package.json
  14. +2 βˆ’1 packages/formatter-codeframe/tsconfig.json
  15. +3 βˆ’2 packages/formatter-excel/package.json
  16. +2 βˆ’1 packages/formatter-excel/tsconfig.json
  17. +3 βˆ’2 packages/formatter-html/package.json
  18. +1 βˆ’1 packages/formatter-html/scripts/create-get-message.js
  19. +2 βˆ’1 packages/formatter-html/src/result.ts
  20. +2 βˆ’1 packages/formatter-html/tsconfig.json
  21. +3 βˆ’2 packages/formatter-json/package.json
  22. +2 βˆ’1 packages/formatter-json/tsconfig.json
  23. +3 βˆ’2 packages/formatter-stylish/package.json
  24. +2 βˆ’1 packages/formatter-stylish/tsconfig.json
  25. +3 βˆ’2 packages/hint-amp-validator/package.json
  26. +1 βˆ’0 packages/hint-amp-validator/tsconfig.json
  27. +3 βˆ’2 packages/hint-apple-touch-icons/package.json
  28. +1 βˆ’0 packages/hint-apple-touch-icons/tsconfig.json
  29. +1 βˆ’0 packages/hint-axe/package.json
  30. +1 βˆ’0 packages/hint-axe/tsconfig.json
  31. +4 βˆ’3 packages/hint-babel-config/package.json
  32. +1 βˆ’0 packages/hint-babel-config/tsconfig.json
  33. +4 βˆ’3 packages/hint-button-type/package.json
  34. +1 βˆ’0 packages/hint-button-type/tsconfig.json
  35. +3 βˆ’2 packages/hint-compat-api/package.json
  36. +1 βˆ’0 packages/hint-compat-api/tsconfig.json
  37. +3 βˆ’2 packages/hint-content-type/package.json
  38. +1 βˆ’0 packages/hint-content-type/tsconfig.json
  39. +4 βˆ’3 packages/hint-create-element-svg/package.json
  40. +1 βˆ’0 packages/hint-create-element-svg/tsconfig.json
  41. +3 βˆ’2 packages/hint-css-prefix-order/package.json
  42. +1 βˆ’0 packages/hint-css-prefix-order/tsconfig.json
  43. +4 βˆ’3 packages/hint-disown-opener/package.json
  44. +1 βˆ’0 packages/hint-disown-opener/tsconfig.json
  45. +5 βˆ’2 packages/hint-doctype/package.json
  46. +1 βˆ’0 packages/hint-doctype/tsconfig.json
  47. +4 βˆ’3 packages/hint-highest-available-document-mode/package.json
  48. +1 βˆ’0 packages/hint-highest-available-document-mode/tsconfig.json
  49. +3 βˆ’2 packages/hint-html-checker/package.json
  50. +1 βˆ’0 packages/hint-html-checker/tsconfig.json
  51. +4 βˆ’3 packages/hint-http-cache/package.json
  52. +1 βˆ’0 packages/hint-http-cache/tsconfig.json
  53. +3 βˆ’2 packages/hint-http-compression/package.json
  54. +1 βˆ’0 packages/hint-http-compression/tsconfig.json
  55. +2 βˆ’1 packages/hint-https-only/package.json
  56. +1 βˆ’0 packages/hint-https-only/tsconfig.json
  57. +3 βˆ’2 packages/hint-image-optimization-cloudinary/package.json
  58. +1 βˆ’0 packages/hint-image-optimization-cloudinary/tsconfig.json
  59. +3 βˆ’2 packages/hint-manifest-app-name/package.json
  60. +1 βˆ’0 packages/hint-manifest-app-name/tsconfig.json
  61. +4 βˆ’3 packages/hint-manifest-exists/package.json
  62. +1 βˆ’0 packages/hint-manifest-exists/tsconfig.json
  63. +4 βˆ’3 packages/hint-manifest-file-extension/package.json
  64. +1 βˆ’0 packages/hint-manifest-file-extension/tsconfig.json
  65. +3 βˆ’2 packages/hint-manifest-icons/package.json
  66. +1 βˆ’0 packages/hint-manifest-icons/tsconfig.json
  67. +3 βˆ’2 packages/hint-manifest-is-valid/package.json
  68. +1 βˆ’0 packages/hint-manifest-is-valid/tsconfig.json
  69. +4 βˆ’3 packages/hint-manifest-scoped-urls/package.json
  70. +1 βˆ’0 packages/hint-manifest-scoped-urls/tsconfig.json
  71. +4 βˆ’3 packages/hint-meta-charset-utf-8/package.json
  72. +1 βˆ’0 packages/hint-meta-charset-utf-8/tsconfig.json
  73. +3 βˆ’2 packages/hint-meta-theme-color/package.json
  74. +1 βˆ’0 packages/hint-meta-theme-color/tsconfig.json
  75. +3 βˆ’2 packages/hint-meta-viewport/package.json
  76. +1 βˆ’0 packages/hint-meta-viewport/tsconfig.json
  77. +4 βˆ’3 packages/hint-minified-js/package.json
  78. +1 βˆ’0 packages/hint-minified-js/tsconfig.json
  79. +4 βˆ’3 packages/hint-no-bom/package.json
  80. +1 βˆ’0 packages/hint-no-bom/tsconfig.json
  81. +4 βˆ’3 packages/hint-no-broken-links/package.json
  82. +1 βˆ’0 packages/hint-no-broken-links/tsconfig.json
  83. +4 βˆ’3 packages/hint-no-disallowed-headers/package.json
  84. +1 βˆ’0 packages/hint-no-disallowed-headers/tsconfig.json
  85. +4 βˆ’3 packages/hint-no-friendly-error-pages/package.json
  86. +1 βˆ’0 packages/hint-no-friendly-error-pages/tsconfig.json
  87. +4 βˆ’3 packages/hint-no-html-only-headers/package.json
  88. +1 βˆ’0 packages/hint-no-html-only-headers/tsconfig.json
  89. +4 βˆ’3 packages/hint-no-http-redirects/package.json
  90. +1 βˆ’0 packages/hint-no-http-redirects/tsconfig.json
  91. +4 βˆ’3 packages/hint-no-p3p/package.json
  92. +1 βˆ’0 packages/hint-no-p3p/tsconfig.json
  93. +4 βˆ’3 packages/hint-no-protocol-relative-urls/package.json
  94. +1 βˆ’0 packages/hint-no-protocol-relative-urls/tsconfig.json
  95. +1 βˆ’0 packages/hint-no-vulnerable-javascript-libraries/package.json
  96. +1 βˆ’0 packages/hint-no-vulnerable-javascript-libraries/tsconfig.json
  97. +4 βˆ’3 packages/hint-performance-budget/package.json
  98. +1 βˆ’0 packages/hint-performance-budget/tsconfig.json
  99. +4 βˆ’3 packages/hint-scoped-svg-styles/package.json
  100. +1 βˆ’0 packages/hint-scoped-svg-styles/tsconfig.json
  101. +4 βˆ’3 packages/hint-sri/package.json
  102. +1 βˆ’0 packages/hint-sri/tsconfig.json
  103. +3 βˆ’2 packages/hint-ssllabs/package.json
  104. +1 βˆ’0 packages/hint-ssllabs/tsconfig.json
  105. +4 βˆ’3 packages/hint-strict-transport-security/package.json
  106. +1 βˆ’0 packages/hint-strict-transport-security/tsconfig.json
  107. +5 βˆ’2 packages/hint-stylesheet-limits/package.json
  108. +1 βˆ’0 packages/hint-stylesheet-limits/tsconfig.json
  109. +3 βˆ’2 packages/hint-summary-display/package.json
  110. +1 βˆ’0 packages/hint-summary-display/tsconfig.json
  111. +4 βˆ’3 packages/hint-typescript-config/package.json
  112. +1 βˆ’0 packages/hint-typescript-config/tsconfig.json
  113. +4 βˆ’3 packages/hint-validate-set-cookie-header/package.json
  114. +1 βˆ’0 packages/hint-validate-set-cookie-header/tsconfig.json
  115. +4 βˆ’3 packages/hint-webpack-config/package.json
  116. +1 βˆ’0 packages/hint-webpack-config/tsconfig.json
  117. +4 βˆ’3 packages/hint-x-content-type-options/package.json
  118. +1 βˆ’0 packages/hint-x-content-type-options/tsconfig.json
  119. +2 βˆ’2 packages/utils-i18n/package.json
  120. +1 βˆ’1 scripts/create-i18n.js
@@ -9,6 +9,7 @@
},
"dependencies": {
"@hint/utils": "^6.1.0",
"@hint/utils-i18n": "^1.0.0",
"chokidar": "^3.2.3",
"globby": "^10.0.1",
"jsdom": "^15.2.0"
@@ -72,7 +73,7 @@
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
"lint:dependencies": "node ../../scripts/lint-dependencies.js",
"lint:md": "node ../../scripts/lint-markdown.js",
"test": "npm run lint && npm run build && npm run test-only",
"test": "npm run i18n && npm run lint && npm run build && npm run test-only",
"test-only": "nyc ava",
"test-release": "npm run lint && npm run build-release && ava",
"watch": "npm run build && npm-run-all --parallel -c watch:*",
@@ -15,6 +15,7 @@
"references": [
{ "path": "../hint" },
{ "path": "../parser-html" },
{ "path": "../utils" }
{ "path": "../utils" },
{ "path": "../utils-i18n" }
]
}
@@ -82,9 +82,9 @@
"lint:md": "node ../../scripts/lint-markdown.js",{{else}}
"lint:js": "eslint . --cache --ext js --ext md --ext ts --report-unused-disable-directives",
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",{{/if}}
"test": "npm run lint && npm run build && npm run test-only",
"test": "{{#if official}}npm run i18n && {{/if}}npm run lint && npm run build && npm run test-only",
"test-only": "nyc ava",{{#if official}}
"test-release": "npm run lint && npm run build-release && ava",{{/if}}
"test-release": "{{#if official}}npm run i18n && {{/if}}npm run lint && npm run build-release && ava",{{/if}}
"init": "npm install && npm run build",
"watch": "npm run build && npm-run-all --parallel -c watch:*",
"watch:assets": "npm run build:assets -- -w --no-initial",
@@ -78,7 +78,7 @@
"lint:md": "node ../../scripts/lint-markdown.js",
"test": "npm run lint && npm run build && npm run test-only",
"test-only": "nyc ava",
"test-release": "npm test && npm run build-release",
"test-release": "npm run i18n && npm test && npm run build-release",
"watch": "npm run build && npm-run-all --parallel -c watch:*",
"watch:assets": "npm run build:assets -- -w --no-initial",
"watch:test": "ava --watch",
@@ -43,6 +43,7 @@
"@hint/parser-manifest": "^2.2.12",
"@hint/utils": "^6.1.0",
"@hint/utils-create-server": "^3.3.0",
"@hint/utils-i18n": "^1.0.0",
"@microsoft/applicationinsights-web-basic": "^2.2.0",
"@types/chrome": "^0.0.91",
"@types/har-format": "^1.2.4",
@@ -8,7 +8,7 @@ import ExternalLink from './external-link';
import { evaluate } from '../../utils/inject';
import { getCategories } from '../../utils/categories';
import escapeRegExp = require('lodash/escapeRegExp');
import { getCategoryName } from '@hint/utils/dist/src/i18n';
import { getCategoryName } from '@hint/utils-i18n/dist/src/get-category-name';

const categories = getCategories();

@@ -1,7 +1,7 @@
import * as React from 'react';
import { useCallback, FormEvent } from 'react';

import { getCategoryName } from '@hint/utils/dist/src/i18n/get-category-name';
import { getCategoryName } from '@hint/utils-i18n/dist/src/get-category-name';

import { getMessage } from '../../../../utils/i18n';
import { getCategories } from '../../../../utils/categories';
@@ -1,6 +1,6 @@
import * as React from 'react';

import { getCategoryName } from '@hint/utils/dist/src/i18n/get-category-name';
import { getCategoryName } from '@hint/utils-i18n/dist/src/get-category-name';
import { Severity } from '@hint/utils/dist/src/types/problems';

import { CategoryResults, HintResults } from '../../../../shared/types';
@@ -1,6 +1,6 @@
import * as React from 'react';

import { getCategoryName } from '@hint/utils/dist/src/i18n/get-category-name';
import { getCategoryName } from '@hint/utils-i18n/dist/src/get-category-name';

import { CategoryResults } from '../../../../shared/types';

@@ -2,7 +2,7 @@ import camelCase = require('lodash/camelCase');

import { getMessage as extensionGetMessage } from '../devtools/utils/i18n';

type GetMessage = typeof import('@hint/utils/dist/src/i18n/get-message').getMessage;
type GetMessage = typeof import('@hint/utils-i18n/dist/src/get-message').getMessage;

export const getMessage: GetMessage = (key, path, options?) => {
/*
@@ -46,6 +46,7 @@
{ "path": "../parser-javascript" },
{ "path": "../parser-manifest" },
{ "path": "../utils" },
{ "path": "../utils-create-server" }
{ "path": "../utils-create-server" },
{ "path": "../utils-i18n" }
]
}
@@ -82,8 +82,8 @@ module.exports = (env) => {
],
resolve: {
alias: {
'./i18n/get-message$': path.resolve(__dirname, 'dist/src/shims/get-message.js'),
'@hint/utils/dist/src/i18n/get-message$': path.resolve(__dirname, 'dist/src/shims/get-message.js'),
'./get-message$': path.resolve(__dirname, 'dist/src/shims/get-message.js'),
'@hint/utils-i18n/dist/src/get-message$': path.resolve(__dirname, 'dist/src/shims/get-message.js'),
'@hint/utils/dist/src/network/request-async$': path.resolve(__dirname, 'dist/src/shims/request-async.js'),
'acorn-jsx$': path.resolve(__dirname, 'dist/src/shims/acorn-jsx.js'),
'acorn-jsx-walk$': path.resolve(__dirname, 'dist/src/shims/acorn-jsx-walk.js'),
@@ -11,6 +11,7 @@
"dependencies": {
"@hint/utils": "^6.1.0",
"@hint/utils-debug": "^1.0.0",
"@hint/utils-i18n": "^1.0.0",
"chalk": "^2.4.2",
"lodash": "^4.17.15",
"log-symbols": "^3.0.0",
@@ -73,9 +74,9 @@
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
"lint:dependencies": "node ../../scripts/lint-dependencies.js",
"lint:md": "node ../../scripts/lint-markdown.js",
"test": "npm run lint && npm run build && npm run test-only",
"test": "npm run i18n && npm run lint && npm run build && npm run test-only",
"test-only": "nyc ava",
"test-release": "npm run lint && npm run build-release && ava",
"test-release": "npm run i18n && npm run lint && npm run build-release && ava",
"watch": "npm run build && npm-run-all --parallel -c watch:*",
"watch:assets": "npm run build:assets -- -w --no-initial",
"watch:test": "ava --watch",
@@ -15,6 +15,7 @@
"references": [
{ "path": "../hint" },
{ "path": "../utils" },
{ "path": "../utils-debug" }
{ "path": "../utils-debug" },
{ "path": "../utils-i18n" }
]
}
@@ -11,6 +11,7 @@
"dependencies": {
"@hint/utils": "^6.1.0",
"@hint/utils-debug": "^1.0.0",
"@hint/utils-i18n": "^1.0.0",
"exceljs": "3.0.0",
"fs-extra": "^8.0.1",
"lodash": "^4.17.15"
@@ -73,9 +74,9 @@
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
"lint:dependencies": "node ../../scripts/lint-dependencies.js",
"lint:md": "node ../../scripts/lint-markdown.js",
"test": "npm run lint && npm run build && npm run test-only",
"test": "npm run i18n && npm run lint && npm run build && npm run test-only",
"test-only": "nyc ava",
"test-release": "npm run lint && npm run build-release && ava",
"test-release": "npm run i18n && npm run lint && npm run build-release && ava",
"watch": "npm run build && npm-run-all --parallel -c watch:*",
"watch:assets": "npm run build:assets -- -w --no-initial",
"watch:test": "ava --watch",
@@ -15,6 +15,7 @@
"references": [
{ "path": "../hint" },
{ "path": "../utils" },
{ "path": "../utils-debug" }
{ "path": "../utils-debug" },
{ "path": "../utils-i18n" }
]
}
@@ -11,6 +11,7 @@
"dependencies": {
"@hint/utils": "^6.1.0",
"@hint/utils-debug": "^1.0.0",
"@hint/utils-i18n": "^1.0.0",
"ejs": "^2.7.1",
"fs-extra": "^8.0.1",
"lodash": "^4.17.15",
@@ -77,9 +78,9 @@
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
"lint:dependencies": "node ../../scripts/lint-dependencies.js",
"lint:md": "node ../../scripts/lint-markdown.js",
"test": "npm run lint && npm run build && npm run test-only",
"test": "npm run i18n && npm run lint && npm run build && npm run test-only",
"test-only": "nyc ava",
"test-release": "npm run lint && npm run build-release && ava",
"test-release": "npm run i18n && npm run lint && npm run build-release && ava",
"watch": "npm run build && npm-run-all --parallel -c watch:*",
"watch:assets": "npm run build:assets -- -w --no-initial",
"watch:test": "ava --watch",
@@ -1,7 +1,7 @@
const fs = require('fs');
const path = require('path');

const { format } = require('@hint/utils');
const { format } = require('@hint/utils-i18n');

const filename = path.join(process.cwd(), 'src', 'assets', 'js', 'scan', 'get-message.js');

@@ -4,7 +4,8 @@ import * as moment from 'moment';

import cloneDeep = require('lodash/cloneDeep');

import { Category, getCategoryName, loadJSONFile } from '@hint/utils';
import { Category, loadJSONFile } from '@hint/utils';
import { getCategoryName } from '@hint/utils-i18n';
import { FormatterOptions, Severity, Problem } from 'hint';

const thirdPartyServices = loadJSONFile(path.join(__dirname, 'configs', 'third-party-service-config.json'));
@@ -15,6 +15,7 @@
"references": [
{ "path": "../hint" },
{ "path": "../utils" },
{ "path": "../utils-debug" }
{ "path": "../utils-debug" },
{ "path": "../utils-i18n" }
]
}
@@ -11,6 +11,7 @@
"dependencies": {
"@hint/utils": "^6.1.0",
"@hint/utils-debug": "^1.0.0",
"@hint/utils-i18n": "^1.0.0",
"lodash": "^4.17.15"
},
"devDependencies": {
@@ -69,9 +70,9 @@
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
"lint:dependencies": "node ../../scripts/lint-dependencies.js",
"lint:md": "node ../../scripts/lint-markdown.js",
"test": "npm run lint && npm run build && npm run test-only",
"test": "npm run i18n && npm run lint && npm run build && npm run test-only",
"test-only": "nyc ava",
"test-release": "npm run lint && npm run build-release && ava",
"test-release": "npm run i18n && npm run lint && npm run build-release && ava",
"watch": "npm run build && npm-run-all --parallel -c watch:*",
"watch:assets": "npm run build:assets -- -w --no-initial",
"watch:test": "ava --watch",
@@ -15,6 +15,7 @@
"references": [
{ "path": "../hint" },
{ "path": "../utils" },
{ "path": "../utils-debug" }
{ "path": "../utils-debug" },
{ "path": "../utils-i18n" }
]
}
@@ -11,6 +11,7 @@
"dependencies": {
"@hint/utils": "^6.1.0",
"@hint/utils-debug": "^1.0.0",
"@hint/utils-i18n": "^1.0.0",
"chalk": "^2.4.2",
"lodash": "^4.17.15",
"log-symbols": "^3.0.0",
@@ -74,9 +75,9 @@
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
"lint:dependencies": "node ../../scripts/lint-dependencies.js",
"lint:md": "node ../../scripts/lint-markdown.js",
"test": "npm run lint && npm run build && npm run test-only",
"test": "npm run i18n && npm run lint && npm run build && npm run test-only",
"test-only": "nyc ava",
"test-release": "npm run lint && npm run build-release && ava",
"test-release": "npm run i18n && npm run lint && npm run build-release && ava",
"watch": "npm run build && npm-run-all --parallel -c watch:*",
"watch:assets": "npm run build:assets -- -w --no-initial",
"watch:test": "ava --watch",
@@ -15,6 +15,7 @@
"references": [
{ "path": "../hint" },
{ "path": "../utils" },
{ "path": "../utils-debug" }
{ "path": "../utils-debug" },
{ "path": "../utils-i18n" }
]
}
@@ -10,6 +10,7 @@
"dependencies": {
"@hint/utils": "^6.1.0",
"@hint/utils-debug": "^1.0.0",
"@hint/utils-i18n": "^1.0.0",
"amphtml-validator": "^1.0.29"
},
"description": "hint that that validates AMP HTML pages using the AMP Validator",
@@ -67,9 +68,9 @@
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
"lint:dependencies": "node ../../scripts/lint-dependencies.js",
"lint:md": "node ../../scripts/lint-markdown.js",
"test": "npm run lint && npm run build && npm run test-only",
"test": "npm run i18n && npm run lint && npm run build && npm run test-only",
"test-only": "nyc ava",
"test-release": "npm run lint && npm run build-release && ava",
"test-release": "npm run i18n && npm run lint && npm run build-release && ava",
"watch": "npm run build && npm-run-all --parallel -c watch:*",
"watch:assets": "npm run build:assets -- -w --no-initial",
"watch:test": "ava --watch",
@@ -16,6 +16,7 @@
{ "path": "../hint" },
{ "path": "../utils" },
{ "path": "../utils-debug" },
{ "path": "../utils-i18n" },
{ "path": "../utils-tests-helpers" }
]
}
@@ -9,6 +9,7 @@
"dependencies": {
"@hint/utils": "^6.1.0",
"@hint/utils-debug": "^1.0.0",
"@hint/utils-i18n": "^1.0.0",
"image-size": "^0.8.3"
},
"description": "hint for best practices related to the apple-touch-icons",
@@ -67,9 +68,9 @@
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
"lint:dependencies": "node ../../scripts/lint-dependencies.js",
"lint:md": "node ../../scripts/lint-markdown.js",
"test": "npm run lint && npm run build && npm run test-only",
"test": "npm run i18n && npm run lint && npm run build && npm run test-only",
"test-only": "nyc ava",
"test-release": "npm run lint && npm run build-release && ava",
"test-release": "npm run i18n && npm run lint && npm run build-release && ava",
"watch": "npm run build && npm-run-all --parallel -c watch:*",
"watch:assets": "npm run build:assets -- -w --no-initial",
"watch:test": "ava --watch",
@@ -16,6 +16,7 @@
{ "path": "../hint" },
{ "path": "../utils" },
{ "path": "../utils-debug" },
{ "path": "../utils-i18n" },
{ "path": "../utils-tests-helpers" }
]
}
@@ -9,6 +9,7 @@
},
"dependencies": {
"@hint/utils": "^6.1.0",
"@hint/utils-i18n": "^1.0.0",
"axe-core": "^3.4.0"
},
"description": "hint that that checks using axe for accessibility related best practices",
@@ -15,6 +15,7 @@
"references": [
{ "path": "../hint" },
{ "path": "../utils" },
{ "path": "../utils-i18n" },
{ "path": "../utils-tests-helpers" }
]
}
@@ -9,7 +9,8 @@
},
"dependencies": {
"@hint/utils": "^6.1.0",
"@hint/utils-debug": "^1.0.0"
"@hint/utils-debug": "^1.0.0",
"@hint/utils-i18n": "^1.0.0"
},
"description": "hint that that checks if the Babel configuration is valid.",
"devDependencies": {
@@ -69,9 +70,9 @@
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
"lint:dependencies": "node ../../scripts/lint-dependencies.js",
"lint:md": "node ../../scripts/lint-markdown.js",
"test": "npm run lint && npm run build && npm run test-only",
"test": "npm run i18n && npm run lint && npm run build && npm run test-only",
"test-only": "nyc ava",
"test-release": "npm run lint && npm run build-release && ava",
"test-release": "npm run i18n && npm run lint && npm run build-release && ava",
"watch": "npm run build && npm-run-all --parallel -c watch:*",
"watch:assets": "npm run build:assets -- -w --no-initial",
"watch:test": "ava --watch",
@@ -17,6 +17,7 @@
{ "path": "../parser-babel-config" },
{ "path": "../utils" },
{ "path": "../utils-debug" },
{ "path": "../utils-i18n" },
{ "path": "../utils-tests-helpers" }
]
}

0 comments on commit 1f4b600

Please sign in to comment.
You can’t perform that action at this time.