Files
open-wc/package.json
Pascal Schilp 3232d0db5d feat: add eslint-plugin-lit-a11y (#1781)
* feat: add eslint-plugin-lit-a11y

* feat: implement getImplicitRole

* feat: add getExplicitRole

* feat: add isHiddenFromScreenReader

* feat: implement anchor-has-content

* feat: add no-redundant-role

* feat: add scope rule

* feat: implement autocomplete-valid

* feat: implement iframe-title

* feat: implement heading-has-content

* chore: disable ts check

* feat: implement no-distracting-elements

* chore: add ts-nocheck

* feat: add attributesComparator and isInteractiveElement

* feat: implement isPresentationRole

* feat: implement aria-activedescendant-has-tabindex

* chore: add templates

* feat: implement click-events-have-key-events

* chore: fix linting (lol)

* feat: implement accessible-emoji

* feat: implement mouse-events-have-key-events

* feat: implement anchor-is-valid

* refactor: props to attrs

* feat: implement aria-attr-types

* refactor: refactor templateExpressionToHtml

* chore: update yarn.lock

* refactor/eslint-plugin-lit-a11y/types (#1871)

* refactor(eslint-plugin-lit-a11y): add, fix types

adds 'suggestion' type to all rules
adds 'Accessibility' category to all rules
defines 'Visitor' type
defines 'is*TaggedTemplate' helpers
defines 'isAria*' helpers
updates rule template
removes instances of for...in
adds oxford comma
removes use of global isNaN
collapses nested if statements
removes eslint-disable comments in most cases
update yarn lock

* fix(eslint-plugin-lit-a11y): improve errors

makes error messages more descriptive

* docs(eslint-plugin-lit-a11y): update docs

* fix(eslint-plugin-lit-a11y): type error

skips checking if `static get properties` element is a spread

* fix(create): ignore type error from @types/eslint

* style(eslint-plugin-lit-a11y): make code "pretty"

* chore: resolve @types/estree version

* chore: prepare for release

* chore: prettier

Co-authored-by: Benny Powers <bennypowers@users.noreply.github.com>
2020-10-14 14:27:15 +02:00

99 lines
3.5 KiB
JSON

{
"name": "@open-wc/root",
"private": true,
"license": "MIT",
"scripts": {
"build": "lerna run build",
"build:types": "tsc -p tsconfig.build.types.json",
"codelabs:build": "node ./packages/codelabs/build-codelabs.js",
"docs:build": "rimraf _site && node cli-build.js",
"docs:serve-build": "node packages/es-dev-server/dist/cli.js -o docs/",
"docs:start": "node cli-start.js",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "eslint --ext .js,.html . --fix",
"format:prettier": "prettier \"**/*.{js,md}\" \"**/package.json\" --write",
"lint": "run-p lint:*",
"lint:eslint": "eslint --ext .js,.html .",
"lint:prettier": "prettier \"**/*.{js,md}\" \"**/package.json\" --check",
"lint:types": "tsc",
"lint:versions": "node ./scripts/lint-versions.js",
"postinstall": "npm run build && patch-package",
"publish": "lerna publish --message 'chore: release new versions'",
"site:build": "npm run docs:build && lerna run site:build",
"site:start": "npm run docs:start",
"start": "npm run docs:start",
"test": "yarn test:browser && yarn test:node",
"test:browser": "node ./karma.js start --coverage",
"test:browser:prune-snapshots": "node ./karma.js start --prune-snapshots",
"test:browser:update-snapshots": "node ./karma.js start --update-snapshots",
"test:browser:watch": "node ./karma.js start --auto-watch=true --single-run=false",
"test:bs": "node ./karma.js start karma.bs.conf.js --coverage",
"test:node": "lerna run test:node --stream",
"test:node-windows": "lerna run --scope \"@open-wc/rollup-plugin-html\" --scope \"@open-wc/rollup-plugin-polyfills-loader\" --scope \"polyfills-loader\" test:node",
"test:update-snapshots": "lerna run test:update-snapshots",
"update-dependency": "node scripts/update-dependency.js"
},
"dependencies": {
"patch-package": "^6.2.2"
},
"devDependencies": {
"@11ty/eleventy": "^0.11.0",
"@11ty/eleventy-plugin-syntaxhighlight": "^3.0.1",
"@commitlint/cli": "7.2.1",
"@commitlint/config-conventional": "7.1.2",
"@commitlint/config-lerna-scopes": "7.2.1",
"@github/clipboard-copy-element": "^1.1.1",
"@open-wc/testing-karma": "file:./packages/testing-karma",
"@open-wc/testing-karma-bs": "file:./packages/testing-karma-bs",
"@types/aria-query": "^4.2.0",
"@types/chai": "^4.2.11",
"@types/chai-fs": "^2.0.2",
"@types/eslint": "^7.2.4",
"@types/estree": "^0.0.45",
"@types/parse5-htmlparser2-tree-adapter": "^5.0.1",
"babel-eslint": "^10.0.3",
"chai": "^4.2.0",
"core-js": "2.6.10",
"eslint": "^7.6.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-html": "^6.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-no-only-tests": "^2.4.0",
"eslint-plugin-wc": "^1.2.0",
"fs-extra": "^8.1.0",
"husky": "3.0.0",
"lerna": "3.4.3",
"lint-staged": "^10.0.0",
"lit-element": "^2.2.1",
"mocha": "^6.2.2",
"mock-require": "^3.0.3",
"npm-run-all": "4.1.3",
"prettier": "^2.0.0",
"prettier-plugin-package": "^1.0.0",
"puppeteer": "^2.1.1",
"rimraf": "^3.0.2",
"rollup": "^2.7.2",
"rollup-plugin-copy": "^3.3.0",
"sinon": "^7.4.1",
"typescript": "~4.0.3",
"webpack-merge": "^4.1.5"
},
"resolutions": {
"@types/estree": "0.0.45"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.md": [
"prettier --write",
"git add"
]
},
"workspaces": [
"packages/*"
]
}