/
package.json
139 lines (139 loc) · 4.53 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
139
{
"name": "@votingworks/ui",
"version": "1.0.0",
"private": true,
"description": "Generic UI components for VotingWorks UIs",
"license": "GPL-3.0",
"author": "VotingWorks <eng@voting.works>",
"main": "build/index.js",
"types": "build/index.d.ts",
"files": [
"build"
],
"scripts": {
"type-check": "tsc --build",
"build": "tsc --build tsconfig.build.json",
"clean": "rm -rf build tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo",
"lint": "pnpm type-check && eslint . && pnpm stylelint:run",
"lint:fix": "pnpm type-check && eslint . --fix",
"start": "storybook dev -p 6060",
"stylelint:run": "stylelint 'src/**/*.{js,jsx,ts,tsx}'",
"test": "is-ci test:ci test:watch",
"test:coverage": "TZ=UTC jest --coverage",
"test:ci": "TZ=UTC jest --coverage --reporters=default --reporters=jest-junit --maxWorkers=7",
"test:watch": "TZ=UTC jest --watch",
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.+(css|graphql|json|less|md|mdx|sass|scss|yaml|yml)": [
"prettier --write"
],
"*.+(js|jsx|ts|tsx)": [
"stylelint",
"eslint --quiet --fix"
],
"package.json": [
"sort-package-json"
]
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.2.1",
"@fortawesome/free-solid-svg-icons": "^6.2.1",
"@fortawesome/react-fontawesome": "^0.2.0",
"@testing-library/react": "^12.1.5",
"@types/dompurify": "^2.0.3",
"@types/lodash.clonedeep": "^4.5.7",
"@types/react-modal": "^3.13.1",
"@types/react-router-dom": "^5.1.7",
"@votingworks/ballot-encoder": "workspace:*",
"@votingworks/basics": "workspace:*",
"@votingworks/logging": "workspace:*",
"@votingworks/types": "workspace:*",
"@votingworks/utils": "workspace:*",
"base64-js": "^1.5.1",
"debug": "^4.3.2",
"deep-eql": "^4.0.0",
"dompurify": "^2.0.12",
"luxon": "^3.0.0",
"normalize.css": "^8.0.1",
"pluralize": "^8.0.0",
"polished": "^4.2.2",
"qrcode.react": "^3.0.1",
"react-dom": "^17.0.1",
"react-modal": "^3.14.4",
"react-router-dom": "^5.2.0",
"styled-components": "^5.2.3",
"use-interval": "^1.4.0",
"zod": "3.14.4"
},
"devDependencies": {
"@codemod/parser": "^1.0.6",
"@storybook/cli": "7.0.0-beta.31",
"@storybook/react": "7.0.0-beta.31",
"@tanstack/react-query": "^4.22.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react-hooks": "^8.0.0-alpha.1",
"@testing-library/user-event": "^13.2.1",
"@types/base64-js": "^1.3.0",
"@types/debug": "^4.1.7",
"@types/deep-eql": "workspace:*",
"@types/history": "4",
"@types/jest": "^27.0.3",
"@types/kiosk-browser": "workspace:*",
"@types/luxon": "^1.26.5",
"@types/node": "16.11.29",
"@types/pluralize": "^0.0.29",
"@types/react": "17.0.39",
"@types/react-dom": "^18.0.6",
"@types/styled-components": "^5.1.9",
"@types/testing-library__jest-dom": "^5.14.3",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"@votingworks/fixtures": "workspace:*",
"@votingworks/test-utils": "workspace:*",
"buffer": "^6.0.3",
"eslint": "8.23.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "^7.0.1",
"eslint-import-resolver-node": "^0.3.6",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.10",
"eslint-plugin-vx": "workspace:*",
"fast-check": "2.18.0",
"history": "4",
"is-ci-cli": "^2.2.0",
"jest": "^27.3.1",
"jest-junit": "^14.0.1",
"jest-styled-components": "^7.0.8",
"jest-watch-typeahead": "^0.6.4",
"lint-staged": "^11.0.0",
"lodash.clonedeep": "^4.5.0",
"lorem-ipsum": "^2.0.8",
"mockdate": "^3.0.5",
"parse-css-color": "^0.2.1",
"path": "^0.12.7",
"prettier": "^2.6.2",
"react": "^17.0.1",
"sort-package-json": "^1.50.0",
"stylelint": "^13.1.0",
"stylelint-config-palantir": "^4.0.1",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.9.0",
"ts-jest": "^27.0.7",
"typescript": "4.6.3",
"vite": "^4.0.4"
},
"peerDependencies": {
"react": "^17.0.1"
},
"packageManager": "pnpm@7.24.3"
}