-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
63 lines (63 loc) · 3.07 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
{
"name": "@openacr/openacr",
"version": "0.3.8",
"description": "OpenACR schema validator and output generator",
"repository": "GSA/openacr",
"license": "CC0-1.0",
"devDependencies": {
"@testdeck/mocha": "^0.1.2",
"@types/chai": "^4.2.21",
"@types/fs-extra": "^9.0.12",
"@types/js-yaml": "^4.0.2",
"@types/marked": "^4.0.8",
"@types/mocha": "^8.2.3",
"@types/node": "^16.0.1",
"@types/sanitize-html": "^2.6.2",
"@types/yargs": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"chai": "^4.3.4",
"eslint": "^7.30.0",
"license-checker-rseidelsohn": "^2.1.1",
"mocha": "^9.0.2",
"nyc": "^15.1.0",
"pa11y-ci": "^3.0.1",
"prettier": "2.3.2",
"ts-mockito": "^2.6.1",
"ts-node": "^10.0.0",
"typescript": "^4.3.5"
},
"dependencies": {
"ajv": "^8.6.1",
"fs-extra": "^10.0.0",
"handlebars": "^4.7.7",
"js-yaml": "^4.1.0",
"marked": "^4.3.0",
"sanitize-html": "^2.7.3",
"spdx-license-list": "^6.4.0",
"uswds": "^2.12.1",
"yargs": "^17.0.1"
},
"scripts": {
"build": "tsc",
"test": "nyc --reporter=lcov --reporter=text ./node_modules/.bin/_mocha 'tests/**/*.test.ts'",
"lint": "eslint . --ext .ts",
"generate-example-output": "npx ts-node src/openacr.ts output -f tests/examples/valid.yaml -c catalog/2.4-edition-wcag-2.0-508-en.yaml -o tests/examples/valid.markdown",
"generate-drupal-output": "npx ts-node src/openacr.ts output -f openacr/drupal-9.yaml -c catalog/2.4-edition-wcag-2.1-508-en.yaml -o openacr/drupal-9.markdown",
"generate-example-html": "npx ts-node src/openacr.ts output -f tests/examples/valid.yaml -c catalog/2.4-edition-wcag-2.0-508-en.yaml -o tests/examples/valid.html",
"generate-drupal-html": "npx ts-node src/openacr.ts output -f openacr/drupal-9.yaml -c catalog/2.4-edition-wcag-2.1-508-en.yaml -o openacr/drupal-9.html",
"generate-drupal-simple": "npx ts-node src/openacr.ts output -f openacr/drupal-9.yaml -c catalog/2.4-edition-wcag-2.1-508-en.yaml -o openacr/drupal-9-simple.html -t templates/openacr-simple-html-0.1.0.handlebars",
"generate-508-catalog": "npx ts-node src/librarian.ts -c 508",
"generate-WCAG-catalog": "npx ts-node src/librarian.ts -c WCAG",
"generate-INT-catalog": "npx ts-node src/librarian.ts -c INT",
"generate-WCAG21508-catalog": "npx ts-node src/librarian.ts -c WCAG21-508",
"a11y-test": "pa11y-ci openacr/*.html output/*.html tests/examples/*.html",
"generate-license-report": "license-checker-rseidelsohn --relativeLicensePath --relativeModulePath > license/licenses.txt",
"generate-drupal-10-html": "npx ts-node src/openacr.ts output -f openacr/drupal-10-16.yaml -c catalog/2.4-edition-wcag-2.1-en.yaml -o openacr/drupal-10-16.html",
"generate-drupal-10-simple": "npx ts-node src/openacr.ts output -f openacr/drupal-10-16.yaml -c catalog/2.4-edition-wcag-2.1-en.yaml -o openacr/drupal-10-16-simple.html -t templates/openacr-simple-html-0.1.0.handlebars"
},
"main": "./dist/openacr.js",
"bin": {
"openacr": "./bin/openacr.js"
}
}