forked from trussworks/react-file-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
185 lines (185 loc) · 5.42 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
{
"name": "@transcom/react-file-viewer",
"version": "1.4.1",
"description": "Extendable file viewer for web",
"main": "dist/index.js",
"module": "dist/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/transcom/react-file-viewer.git"
},
"scripts": {
"serve": "webpack serve --port 8081",
"serve:dev": "webpack serve --config webpack.config.dev.js --port 8081",
"build": "webpack --mode production --progress",
"build:dev": "webpack --config webpack.config.dev.js --mode development --progress",
"start": "node ./scripts/start.js",
"lint": "eslint --ext js,jsx src",
"test": "jest --env=jsdom ",
"test:watch": "jest --watch --env=jsdom",
"test:e2e": "playwright test",
"tag-and-publish": "node ./scripts/publish.js"
},
"contributors": [
"Suzanne Rozier <[email protected]>",
"PlanGrid <[email protected]>",
{
"name": "Alexei Schiopu",
"email": "[email protected]",
"url": "http://schiopu.me"
},
{
"name": "Aaron Norby",
"email": "[email protected]"
},
{
"name": "Viktoriya Savkina",
"email": "[email protected]"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/trussworks/react-file-viewer/issues"
},
"homepage": "https://github.com/trussworks/react-file-viewer#readme",
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-export-default-from": "^7.10.1",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-transform-class-static-block": "^7.25.8",
"@babel/plugin-transform-modules-commonjs": "^7.10.1",
"@babel/plugin-transform-runtime": "^7.25.7",
"@babel/preset-env": "^7.10.3",
"@babel/preset-react": "^7.0.0",
"@playwright/test": "^1.48.0",
"@types/three": "^0.169.0",
"autoprefixer": "^10.4.19",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.7.0",
"babel-loader": "^8.0.0",
"babel-plugin-transform-import-meta": "^2.2.1",
"chalk": "^4.1.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.1",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"enzyme-wait": "^1.0.9",
"eslint": "^7.3.1",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-webpack": "^0.12.2",
"eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.0.1",
"eslint-plugin-security": "^1.4.0",
"file-loader": "^6.0.0",
"html-loader": "^5.1.0",
"html-webpack-plugin": "^4.3.0",
"http-server": "^14.1.1",
"husky": "^4.2.5",
"inquirer": "^7.2.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^28.1.3",
"lint-staged": "^10.2.11",
"postcss-loader": "^4.2.0",
"prettier": "^2.0.5",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-test-renderer": "^16.6.3",
"sass-loader": "^10.1.1",
"style-loader": "^1.2.1",
"url-loader": "^4.1.0",
"web-streams-polyfill": "^4.0.0",
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"worker-loader": "^3.0.8"
},
"dependencies": {
"@babel/plugin-proposal-class-static-block": "^7.21.0",
"comma-separated-values": "^3.6.4",
"mammoth": "^1.8.0",
"path2d-polyfill": "^3.1.2",
"pdfjs-dist": "^4.6.82",
"playwright": "^1.48.0",
"process": "^0.11.10",
"prop-types": "^15.5.10",
"react-data-grid": "^6.1.0",
"react-visibility-sensor": "^5.0.2",
"sass": "^1.77.2",
"three": "^0.169.0",
"xlsx": "^0.18.5"
},
"resolutions": {
"_comment": "Cheerio is pinned to version 1.0.0-rc.10 to resolve enzyme issue https://github.com/enzymejs/enzyme/issues/2518",
"minimist": "^1.2.6",
"cheerio": "1.0.0-rc.10"
},
"peerDependencies": {
"react": "^16.6.3",
"react-dom": "^16.6.3"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
},
"bugfixes": true,
"modules": "auto"
}
]
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-private-methods",
"@babel/plugin-proposal-private-property-in-object",
"@babel/plugin-syntax-top-level-await",
"@babel/plugin-proposal-class-static-block",
"@babel/plugin-syntax-import-meta"
]
},
"jest": {
"testPathIgnorePatterns": [
"<rootDir>/(build|scripts|example_files)/"
],
"testEnvironment": "node",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.(css|scss)$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"node_modules/?!(react-data-grid|mammoth)"
],
"moduleDirectories": [
"src",
"node_modules"
],
"setupFilesAfterEnv": [
"<rootDir>/tests/setupTests.js"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,md}": [
"prettier --write",
"eslint"
]
},
"browserslist": [
">1%",
"last 4 versions",
"not ie < 11"
]
}