forked from marcysutton/testing-accessibility-demos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 3.94 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
{
"name": "testing-accessibility-demos",
"version": "1.0.0",
"description": "A repo of exercises for the Testing Accessibility workshop series",
"scripts": {
"start": "parcel index.html './workshop1-manual-testing' workshop2-automated-testing/index.html workshop3-semantics-aria/index.html --host=0.0.0.0",
"build": "parcel build",
"cypress:open": "npx cypress open",
"cypress:run": "npx cypress run",
"test:e2e": "start-server-and-test start http://0.0.0.0:1234 cypress:open",
"test:ci": "start-server-and-test start http://0.0.0.0:1234 cypress:run",
"test": "jest workshop2-automated-testing/components/* workshop2-automated-testing/exercise1-jest/*",
"storybook": "start-storybook -h 0.0.0.0 -p 6006",
"build-storybook": "build-storybook",
"test:components": "npx cypress open-ct",
"test:components:ci": "npx cypress run-ct",
"test:puppeteer": "jest workshop2-automated-testing/exercise4-puppeteer/*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/marcysutton/testing-accessibility-demos.git"
},
"keywords": [
"accessibility",
"javascript",
"html",
"css",
"web",
"development",
"testing"
],
"author": "Marcy Sutton",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/marcysutton/testing-accessibility-demos/issues"
},
"homepage": "https://github.com/marcysutton/testing-accessibility-demos#readme",
"dependencies": {
"@emotion/react": "^11.5.0",
"@emotion/styled": "^11.3.0",
"@reach/router": "^1.3.4",
"babel-plugin-transform-glob-import": "^1.0.1",
"dayjs": "^1.10.7",
"react": "^17.0.2",
"react-body-classname": "^1.3.1",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"sanitize-html": "^2.7.0",
"sass-loader": "^10"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@babel/preset-react": "^7.16.0",
"@cypress/react": "^5.10.3",
"@cypress/webpack-dev-server": "^1.7.0",
"@emotion/babel-plugin": "^11.3.0",
"@parcel/resolver-glob": "^2.0.1",
"@parcel/transformer-sass": "^2.0.1",
"@parcel/transformer-svg-react": "^2.0.1",
"@storybook/addon-a11y": "^6.3.12",
"@storybook/addon-actions": "^6.3.12",
"@storybook/addon-essentials": "^6.3.12",
"@storybook/addon-links": "^6.3.12",
"@storybook/react": "^6.3.12",
"@svgr/parcel-plugin-svgr": "^5.5.0",
"@testing-library/cypress": "^8.0.1",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"axe-core": "^4.3.5",
"babel-jest": "^27.3.1",
"babel-loader": "^8.2.3",
"copy-webpack-plugin": "6",
"cypress": "^9.0.0",
"cypress-axe": "^0.13.0",
"cypress-real-events": "^1.5.1",
"jest": "^27.3.1",
"jest-puppeteer": "^6.0.0",
"jest-transform-css": "^2.1.0",
"parcel": "^2.0.1",
"posthtml-include": "^1.7.2",
"puppeteer": "^11.0.0",
"react-test-renderer": "^17.0.2",
"start-server-and-test": "^1.14.0",
"webpack-dev-server": "^4.5.0"
},
"alias": {
"workshop2-components": "./workshop2-automated-testing/components",
"workshop2-data": "./workshop2-automated-testing/data",
"workshop3-components": "./workshop3-semantics-aria/components",
"workshop3-data": "./workshop3-semantics-aria/data",
"images": "./images"
},
"jest": {
"globals": {
"NODE_ENV": "test"
},
"moduleDirectories": [
"node_modules",
"workshop2-automated-testing/components"
],
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleNameMapper": {
"^/(.*)$": "<rootDir>/workshop2-automated-testing/components/$1"
},
"modulePathIgnorePatterns": [
"cypress"
],
"preset": "jest-puppeteer",
"setupFilesAfterEnv": [
"<rootDir>/jest-setup.js"
],
"transform": {
"^.+\\.(js|jsx)$": "babel-jest",
".+\\.(css|styl|less|sass|scss)$": "jest-transform-css"
}
}
}