forked from plangrid/react-file-viewer
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
135 lines (135 loc) · 3.6 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
{
"name": "@trussworks/react-file-viewer",
"version": "1.2.1",
"description": "Extendable file viewer for web",
"main": "dist/index.js",
"module": "dist/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/trussworks/react-file-viewer.git"
},
"scripts": {
"dev": "webpack -d --watch",
"build": "webpack -p --progress",
"start": "node ./scripts/start.js",
"lint": "eslint --ext js,jsx src",
"test": "jest --env=jsdom ",
"test:watch": "jest --watch --env=jsdom",
"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-export-default-from": "^7.10.1",
"@babel/plugin-transform-modules-commonjs": "^7.10.1",
"@babel/preset-env": "^7.10.3",
"@babel/preset-react": "^7.0.0",
"autoprefixer": "^9.8.4",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.0.3",
"babel-loader": "^8.0.0",
"chalk": "^4.1.0",
"css-loader": "^3.6.0",
"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-webpack-plugin": "^4.3.0",
"husky": "^4.2.5",
"inquirer": "^7.2.0",
"jest": "^26.1.0",
"lint-staged": "^10.2.11",
"node-sass": "^8.0.0",
"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",
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^3.8.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},
"dependencies": {
"pdfjs-dist": "1.8.357",
"prop-types": "^15.5.10",
"react-visibility-sensor": "^5.0.2",
"three": "0.137.0"
},
"resolutions": {
"minimist": "^1.2.6"
},
"peerDependencies": {
"react": "^16.6.3",
"react-dom": "^16.6.3"
},
"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"
]
}