-
Notifications
You must be signed in to change notification settings - Fork 346
/
package.json
96 lines (96 loc) · 3.28 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"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.2",
"glob": "^8.1.0",
"globals": "^15.9.0",
"htmlhint": "^1.1.4",
"htmlparser2": "^9.1.0",
"husky": "^9.1.5",
"lint-staged": "^15.2.7",
"node-fetch": "^2.6.7",
"prettier": "^3.3.3",
"selenium-webdriver": "^4.23.0",
"stylelint": "^16.8.1",
"stylelint-config-standard": "^36.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"
}
}