-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
57 lines (57 loc) · 2.02 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
{
"name": "@bbc/a11y-tests-web",
"version": "6.6.1",
"description": "Runs automated accessibility tests on a set of pages",
"main": "index.js",
"bin": {
"a11y-tests-web": "./cli.js"
},
"engines": {
"node": ">=10.0.0"
},
"scripts": {
"build:bbc-a11y": "node buildBbcA11y.js",
"clean": "node cleanBbcA11y.js",
"start:bbc-a11y": "npm run build:bbc-a11y && bbc-a11y --interactive && npm run clean",
"start:bbc-a11y:headless": "npm run build:bbc-a11y && bbc-a11y && npm run clean",
"start:bbc-a11y:junit": "npm run build:bbc-a11y && bbc-a11y --interactive --reporter ./lib/bbcA11YJUnitReporter.js && npm run clean",
"start:bbc-a11y:junit-headless": "npm run build:bbc-a11y && bbc-a11y --reporter ./lib/bbcA11YJUnitReporter.js && npm run clean",
"start:bbc-a11y:ci": "npm run build:bbc-a11y && bash -c \"docker run --rm --tty --volume $PWD:/ws bbca11y/bbc-a11y-docker --config /ws/a11y.js --reporter /ws/lib/bbcA11YJUnitReporter.js; exit 0;\" && npm run clean",
"start:lighthouse:junit": "node runLighthouse.js",
"start:lighthouse:junit-headless": "A11Y_HEADLESS=true node runLighthouse.js",
"start:lighthouse:headless": "A11Y_HEADLESS=true A11Y_PRETTY=true node runLighthouse.js",
"lint": "npm run clean && eslint .",
"test": "mocha 'test/**/*.js'",
"posttest": "npm run lint",
"coverage": "nyc --reporter=lcov npm test && nyc report"
},
"author": "Andy Smith",
"license": "Apache-2.0",
"dependencies": {
"bbc-a11y": "^2.4.2",
"chrome-launcher": "^0.13.2",
"chrome-remote-interface": "^0.25.7",
"junit-report-builder": "^1.3.3",
"lighthouse": "^2.9.4",
"xunit-viewer": "^6.3.12",
"yargs": "^14.2.3"
},
"devDependencies": {
"eslint": "^7.13.0",
"eslint-config-iplayer": "^7.0.0",
"eslint-plugin-mocha": "^4.12.1",
"harp-minify": "^0.4.0",
"mocha": "^7.2.0",
"nock": "^13.1.4",
"nyc": "^15.1.0",
"sinon": "^2.4.0"
},
"eslintConfig": {
"extends": "iplayer"
},
"nyc": {
"include": [
"lib/*"
]
}
}