| { |
| "name": "aria-practices", |
| "version": "0.0.0", |
| "description": "This repository maintains the WAI-ARIA Authoring Practices Guide. This is developed by the [ARIA Working Group](http://www.w3.org/WAI/ARIA/). The staff contact is [Michael Cooper](http://www.w3.org/People/cooper/). Please do not provide commit access to this repository without coordination.", |
| "main": "index.js", |
| "private": true, |
| "directories": { |
| "example": "examples" |
| }, |
| "scripts": { |
| "fix": "eslint . --fix && stylelint --fix \"**/*.css\" && prettier --write .", |
| "htmlhint": "htmlhint \"**/*.html\" \"**/*.template\" --ignore \"common/**/*.html\" --format unix", |
| "lint": "npm run lint:es && npm run lint:css && npm run lint:html && npm run lint:spelling", |
| "lint:css": "stylelint \"**/*.css\" && prettier --check \"**/*.css\"", |
| "lint:es": "eslint . && prettier --check \"**/*.{js,mjs,cjs}\"", |
| "lint:js": "npm run lint:es", |
| "lint:html": "npm run htmlhint && npm run vnu-jar", |
| "lint:spelling": "cspell \"**/*.*\"", |
| "link-checker": "node ./scripts/link-checker.js", |
| "coverage-report": "node scripts/coverage-report.js", |
| "reference-tables": "node scripts/reference-tables.js", |
| "regression": "ava --timeout=1m", |
| "regression-report": "node test/util/report", |
| "test": "npm run lint && npm run regression", |
| "vnu-jar": "java -jar node_modules/vnu-jar/build/dist/vnu.jar --filterfile .vnurc --no-langdetect --skip-non-html content/", |
| "create-gh-project": "node ./scripts/create-gh-project.js", |
| "prepare": "husky" |
| }, |
| "repository": { |
| "type": "git", |
| "url": "git+https://github.com/w3c/aria-practices.git" |
| }, |
| "author": "", |
| "license": "MIT", |
| "bugs": { |
| "url": "https://github.com/w3c/aria-practices/issues" |
| }, |
| "homepage": "https://github.com/w3c/aria-practices#readme", |
| "devDependencies": { |
| "@babel/core": "^7.25.2", |
| "@babel/eslint-parser": "^7.25.1", |
| "ava": "^6.1.3", |
| "cheerio": "^1.0.0-rc.12", |
| "cross-spawn": "^7.0.3", |
| "cspell": "^8.13.0", |
| "eslint": "^9.8.0", |
| "eslint-config-prettier": "^9.1.0", |
| "eslint-plugin-ava": "^15.0.0", |
| "eslint-plugin-html": "^8.1.1", |
| "eslint-plugin-jsdoc": "^48.10.2", |
| "geckodriver": "^4.4.1", |
| "glob": "^8.1.0", |
| "globals": "^15.1.0", |
| "htmlhint": "^1.1.4", |
| "htmlparser2": "^9.1.0", |
| "husky": "^9.0.11", |
| "lint-staged": "^15.2.7", |
| "node-fetch": "^2.6.7", |
| "prettier": "^3.3.3", |
| "selenium-webdriver": "^4.22.0", |
| "stylelint": "^15.1.0", |
| "stylelint-config-standard": "^30.0.1", |
| "vnu-jar": "^21.2.5" |
| }, |
| "lint-staged": { |
| "*": "prettier --ignore-unknown --write", |
| "*.css": "stylelint --fix", |
| "*.js": [ |
| "eslint --fix" |
| ], |
| "content/patterns/**/examples/*.html": [ |
| "npm run reference-tables", |
| "git add content/index/index.html", |
| "npm run coverage-report", |
| "git add content/about/coverage-and-quality/" |
| ], |
| "scripts/reference-tables.*": [ |
| "npm run reference-tables", |
| "git add content/index/index.html" |
| ], |
| "scripts/coverage-report.*": [ |
| "npm run coverage-report", |
| "git add content/about/coverage-and-quality/" |
| ] |
| }, |
| "ava": { |
| "files": [ |
| "test/tests/*" |
| ] |
| }, |
| "dependencies": { |
| "@octokit/rest": "^18.12.0", |
| "dotenv": "^16.4.5", |
| "node-html-parser": "^5.2.0" |
| } |
| } |