-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
157 lines (157 loc) · 5.19 KB
/
Copy pathpackage.json
File metadata and controls
157 lines (157 loc) · 5.19 KB
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "@thepalaceproject/web-patron",
"description": "Patron UI for The Palace Project",
"repository": {
"type": "git",
"url": "https://github.com/ThePalaceProject/web-patron.git"
},
"author": "The Palace Project",
"license": "Apache-2.0",
"engines": {
"node": ">=22.0.0 <27.0.0",
"npm": ">=11.10.0"
},
"packageManager": "npm@11.17.0",
"scripts": {
"dev": "next dev --webpack",
"dev:https": "node dev-server.js",
"dev:axe": "REACT_AXE=true npm run dev",
"build": "next build --webpack",
"start": "next start",
"build-and-start": "npm run build && npm run start",
"test": "jest --watch",
"test:ci": "jest --ci && jest --config jest.config.node.js --ci",
"test:node": "jest --config jest.config.node.js --watch",
"test:node:ci": "jest --config jest.config.node.js --ci",
"test:integration": "cypress open",
"lint": "eslint \"*/**/*.{ts,tsx,js,jsx}\"",
"lint:fix": "eslint \"*/**/*.{ts,tsx,js,jsx}\" --fix",
"type-check": "tsc --noEmit",
"generate-icons": "npx @svgr/cli --template src/icons/_template.js --typescript --icon --ext tsx --svg-props 'fill=currentColor' -d src/icons src/icons",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"translations:ci": "npx i18next-cli extract --ci --dry-run",
"translations:extract": "npx i18next-cli extract",
"translations:lint": "npx i18next-cli lint",
"translations:status": "npx i18next-cli status",
"translations:sync": "npx i18next-cli sync"
},
"dependencies": {
"@ariakit/react": "^0.4.13",
"@bugsnag/js": "^7.22.4",
"@bugsnag/plugin-react": "^7.19.0",
"@csstools/normalize.css": "^10.1.0",
"@emotion/react": "^11.14.0",
"@fortawesome/fontawesome-svg-core": "^6.7.2",
"@fortawesome/free-brands-svg-icons": "^6.7.2",
"@fortawesome/free-regular-svg-icons": "^6.7.2",
"@fortawesome/free-solid-svg-icons": "^6.7.2",
"@fortawesome/react-fontawesome": "^0.2.2",
"@nypl/design-system-react-components": "^0.7.2",
"@nypl/dgx-svg-icons": "^0.3.12",
"@std-uritemplate/std-uritemplate": "^2.0.8",
"@theme-ui/color": "^0.17.2",
"@theme-ui/components": "^0.17.2",
"@theme-ui/core": "^0.17.2",
"@theme-ui/css": "^0.17.2",
"@theme-ui/match-media": "^0.17.2",
"@theme-ui/mdx": "^0.17.2",
"@thepalaceproject/webpub-viewer": "^0.1.0",
"arktype": "^2.2.0",
"chalk": "^4.1.0",
"date-fns": "^4.1.0",
"deepmerge": "^4.2.2",
"dompurify": "^3.4.13",
"downloadjs": "^1.4.7",
"history": "^4.10.1",
"js-cookie": "^3.0.7",
"jsdom": "^16.2.2",
"lodash": "^4.18.1",
"moment": "^2.30.1",
"next": "^16.3.0",
"next-i18next": "^16.0.10",
"node-fetch": "^2.6.13",
"opds-feed-parser": "^0.1.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-hook-form": "^7.53.1",
"react-intersection-observer": "^9.13.1",
"styled-system": "^5.1.2",
"swr": "^2.4.2",
"theme-ui": "^0.17.2",
"tslib": "^2.3.0",
"yaml": "^1.10.3"
},
"devDependencies": {
"@axe-core/react": "^4.12.1",
"@babel/core": "^7.29.6",
"@fetch-mock/jest": "^0.2.6",
"@next/bundle-analyzer": "^16.2.12",
"@next/eslint-plugin-next": "^16.2.12",
"@storybook/addon-actions": "^8.4.0",
"@storybook/addon-essentials": "^8.4.0",
"@storybook/addon-links": "^8.4.0",
"@storybook/react": "^8.6.12",
"@testing-library/cypress": "^10.0.2",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/dompurify": "^3.0.5",
"@types/downloadjs": "^1.4.2",
"@types/history": "^4.7.8",
"@types/jest": "^26.0.15",
"@types/js-cookie": "^2.2.6",
"@types/lodash": "^4.17.24",
"@types/node": "^18.19.15",
"@types/pako": "^1.0.1",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"@types/xml2js": "^0.4.5",
"@typescript-eslint/eslint-plugin": "^8.46.2",
"@typescript-eslint/parser": "^8.46.2",
"babel-jest": "^29.7.0",
"babel-loader": "^8.2.1",
"cypress": "^15.16.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-i18next": "^6.1.3",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"fetch-mock": "^10.1.1",
"i18next-cli": "^1.67.3",
"jest": "^29.7.0",
"jest-emotion": "^10.0.32",
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"jest-jasmine2": "^29.7.0",
"prettier": "3.8.1",
"react-is": "^19.2.8",
"typescript": "^5.9.3"
},
"overrides": {
"@nypl/design-system-react-components": {
"react": "$react"
}
},
"prettier": {
"arrowParens": "avoid",
"bracketSpacing": true,
"endOfLine": "auto",
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 80,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
}
}