-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
138 lines (138 loc) · 5.25 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "act-rules-web",
"description": "Website for ACT Rules Community",
"version": "1.0.0",
"author": "ACT-Rules Community",
"dependencies": {
"act-rules-community": "github:act-rules/act-rules.github.io#develop",
"act-rules-implementation-access-engine": "github:act-rules/act-rules-implementation-access-engine",
"act-rules-implementation-axe-core": "github:act-rules/act-rules-implementation-axe-core",
"act-rules-implementation-mapper": "github:act-rules/act-rules-implementation-mapper",
"act-rules-implementation-rgaa": "github:act-rules/act-rules-implementation-rgaa",
"axios": "^0.21.4",
"classnames": "^2.2.6",
"commander": "^6.0.0",
"date-fns": "^2.14.0",
"fastmatter": "^2.1.1",
"fs-extra": "^8.1.0",
"fuzzy-search": "^3.0.2",
"gatsby": "^2.31.1",
"gatsby-plugin-manifest": "^2.4.9",
"gatsby-plugin-react-helmet": "^3.3.2",
"gatsby-plugin-sass": "^2.3.2",
"gatsby-plugin-sharp": "^2.6.9",
"gatsby-plugin-webfonts": "^1.1.4",
"gatsby-remark-autolink-headers": "^2.3.3",
"gatsby-remark-copy-linked-files": "^2.3.3",
"gatsby-remark-prismjs": "^3.5.2",
"gatsby-source-filesystem": "^2.3.8",
"gatsby-transformer-remark": "^2.8.13",
"gatsby-transformer-sharp": "^2.5.3",
"globby": "^10.0.1",
"is-url": "^1.2.4",
"make-dir": "^3.0.2",
"node-sass": "^4.14.1",
"normalize.css": "^8.0.1",
"object-hash": "^1.3.1",
"prismjs": "^1.26.0",
"prop-types": "^15.7.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-helmet": "^5.2.1",
"react-media": "^1.10.0",
"react-use": "^13.26.1",
"remark-frontmatter": "^1.3.2",
"remark-parse": "^7.0.2",
"showdown": "^1.9.1",
"unified": "^8.4.2",
"unist-util-visit": "^2.0.2",
"vfile": "^4.0.2"
},
"devDependencies": {
"babel-jest": "^26.2.2",
"babel-preset-gatsby": "^0.5.5",
"dotenv": "^8.2.0",
"eslint": "^7.6.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-react": "^7.20.5",
"husky": "^3.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.2.2",
"js-yaml": "^3.14.0",
"lint-staged": "^9.5.0",
"marked": "^0.7.0",
"outdent": "^0.7.1",
"prettier": "^1.19.1",
"react-test-renderer": "^16.13.1"
},
"keywords": [
"WCAG",
"ACT Rules",
"Accessibility",
"W3C",
"GatsbyJs"
],
"license": "MIT",
"scripts": {
"getData": "npm run getData:wcag && npm run getData:testcases && npm run getData:glossary && npm run getData:rulesUsages && npm run getData:implementations",
"getData:wcag": "node ./build/get-wcag-meta-data --url 'https://raw.githubusercontent.com/w3c/wai-wcag-quickref/gh-pages/_data/wcag21.json' --outputDir ${PWD}'/_data'",
"getData:testcases": "node ./build/create-testcases --rulesDir $npm_package_config_actRulesCommunityRulesDir --testAssetsDir $npm_package_config_actRulesCommunityTestAssetsDir --actRulesCommunityPkgJson ${PWD}/$npm_package_config_actRulesCommunityPkgJson --outputDir ${PWD}'/_data/testcases'",
"getData:glossary": "node ./build/create-glossary-usages --rulesDir $npm_package_config_actRulesCommunityRulesDir --glossaryDir $npm_package_config_actRulesCommunityGlossaryDir --outputDir ${PWD}'/_data'",
"getData:rulesUsages": "node ./build/create-rules-usages.js --rulesDir $npm_package_config_actRulesCommunityRulesDir --outputDir ${PWD}'/_data'",
"getData:implementations": "npm run getData:implementations:axe-core && npm run getData:implementations:after",
"getData:implementations:after": "node ./build/get-implementations && node ./build/create-implementation-metrics",
"getData:implementations:axe-core": "act-rules-implementation-axe-core --testsJson ${PWD}'/_data/testcases/testcases.json' --testsDir ${PWD}'/_data/testcases' --siteUrl $npm_package_www_url --outfile ${PWD}'/_data/reports/axe-core-report.json'",
"clean": "gatsby clean",
"develop": "gatsby develop",
"prebuild": "npm --prefix './node_modules/act-rules-community' run formatRulesDir && npm run getData",
"build": "gatsby build",
"format": "prettier --write *.{html,js,jsx,json,md,scss,yml} './{.github,build,gatsby,plugins,src,utils}/**/*.{html,js,jsx,json,md,scss,yml}'",
"start": "npm run clean && npm run develop",
"serve": "gatsby serve",
"test": "jest",
"lint": "eslint {build,gatsby,plugins,src,utils}/**/*.js"
},
"homepage": "https://github.com/act-rules/act-rules-web",
"repository": {
"type": "git",
"url": "https://github.com/act-rules/act-rules-web.git"
},
"bugs": {
"url": "https://github.com/act-rules/act-rules-web/issues"
},
"pulls": {
"url": "https://github.com/act-rules/act-rules-web/pulls"
},
"www": {
"url": "https://act-rules.github.io"
},
"config": {
"actRulesCommunityPkgJson": "node_modules/act-rules-community/package.json",
"actRulesCommunityRulesDir": "node_modules/act-rules-community/_rules",
"actRulesCommunityPagesDir": "node_modules/act-rules-community/pages",
"actRulesCommunityGlossaryDir": "node_modules/act-rules-community/pages/glossary",
"actRulesCommunityTestAssetsDir": "node_modules/act-rules-community/test-assets"
},
"jest": {
"testEnvironment": "node",
"modulePathIgnorePatterns": [
"<rootDir>/.cache/"
]
},
"lint-staged": {
"*.{html,js,jsx,json,md,scss,yml}": [
"prettier --write",
"git add"
],
"*.{js,jsx}": [
"eslint --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}