-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
156 lines (156 loc) · 4.46 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"name": "@nypl/web-reader",
"version": "4.3.5",
"license": "MIT",
"repository": "https://github.com/NYPL-Simplified/web-reader",
"homepage": "https://github.com/NYPL-Simplified/web-reader",
"files": [
"dist"
],
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"typings": "dist/index.d.ts",
"scripts": {
"example:build": "parcel build",
"example:nocache": "parcel --no-cache",
"example": "parcel",
"start": "tsup -w",
"build": "tsup",
"test": "jest --watch",
"test:ci": "jest --ci --silent --coverage --maxWorkers=2",
"test:ci:integration": "start-server-and-test example http://localhost:1234 cypress:run",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"cypress:run:chrome": "cypress run --browser chrome",
"prettier": "prettier --write --ignore-path .eslintignore .",
"prettier:check": "prettier --check --ignore-path .eslintignore .",
"lint": "eslint --fix .",
"lint:fix": "npm run lint && npm run prettier",
"prepare": "npm run build && husky install",
"size": "size-limit",
"analyze": "size-limit --why",
"cors-proxy": "node example/cors-proxy.js",
"release": "release-it --verbose",
"release:alpha": "release-it --verbose --preRelease=alpha"
},
"peerDependencies": {
"@chakra-ui/react": "2.x",
"@emotion/react": ">=11.11.1",
"@emotion/styled": ">=11.11.0",
"react": "18.x",
"react-dom": "18.x",
"swr": "2.2.5"
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"endOfLine": "lf"
},
"author": "kristojorg",
"staticFiles": {
"staticPath": "example/static"
},
"example-app": "www/index.html",
"targets": {
"example-app": {
"source": "example/index.html",
"engines": {
"browsers": "> 2%"
},
"scopeHoist": false,
"sourceMap": true
},
"main": false,
"module": false
},
"devDependencies": {
"@babel/core": "7.24.3",
"@emotion/jest": "11.11.0",
"@parcel/transformer-typescript-tsc": "2.12.0",
"@testing-library/cypress": "8.0.2",
"@testing-library/jest-dom": "6.1.3",
"@testing-library/react": "14.0.0",
"@types/debounce": "1.2.4",
"@types/http-proxy": "1.17.14",
"@types/jest-axe": "3.5.9",
"@types/node": "20.12.7",
"@types/react": "17.0.80",
"@types/react-dom": "18.2.05",
"@types/react-router-dom": "5.3.3",
"@types/rimraf": "3.0.2",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"babel-jest": "29.7.0",
"babel-loader": "8.3.0",
"cypress": "9.5.1",
"esbuild-jest": "0.5.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.10.0",
"eslint-config-react-app": "6.0.0",
"eslint-plugin-flowtype": "5.10.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.0",
"express": "4.19.2",
"husky": "7.0.4",
"jest": "29.4.3",
"jest-axe": "5.0.1",
"jest-environment-jsdom": "29.7.0",
"jest-watch-typeahead": "2.2.0",
"lint-staged": "11.2.6",
"parcel": "2.12.0",
"parcel-config-precache-manifest": "0.0.4",
"parcel-plugin-static-files-copy": "2.6.0",
"parcel-reporter-static-files-copy": "1.5.3",
"prettier": "2.2.1",
"r2-shared-js": "1.0.72",
"react": "18.2.0",
"react-app-polyfill": "2.0.0",
"react-dom": "18.2.0",
"react-is": "18.2.0",
"react-router-dom": "5.3.4",
"release-it": "17.1.1",
"request": "2.88.2",
"size-limit": "4.12.0",
"start-server-and-test": "2.0.3",
"ts-jest": "29.0.5",
"ts-node": "10.9.2",
"tslib": "2.6.2",
"tsup": "6.7.0",
"typescript": "4.4.3"
},
"dependencies": {
"@chakra-ui/react": "2.8.1",
"comlink": "4.4.1",
"debounce": "1.2.1",
"framer-motion": "4.1.17",
"node-fetch": "2.7.0",
"react-icons": "4.12.0",
"react-intersection-observer": "8.34.0",
"react-pdf": "7.7.1",
"react-resize-observer": "1.1.1"
},
"optionalDependencies": {
"@parcel/watcher-linux-x64-glibc": "2.4.1"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": "eslint --cache --fix",
"*.{ts,tsx,js,json,css,md}": "prettier --write --ignore-path .eslintignore"
},
"release-it": {
"github": {
"release": true
},
"hooks": {
"before:init": [
"npm run lint",
"npm run test:ci",
"npm run build"
]
}
}
}