-
Notifications
You must be signed in to change notification settings - Fork 355
/
package.json
147 lines (147 loc) · 5.51 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
{
"name": "webviewer-ui",
"author": "Apryse Software Inc.",
"version": "11.0.0",
"description": "WebViewer UI built in React",
"main": "src/index.js",
"scripts": {
"start": "npx babel-node ./dev-server.js",
"download-webviewer": "npx @pdftron/webviewer-downloader --core-only --path ./lib",
"postinstall": "cp ./node_modules/@storybook/react-dom-shim/dist/react-16.js ./node_modules/@storybook/react-dom-shim/dist/react-18.js && cp ./node_modules/@storybook/react-dom-shim/dist/react-16.mjs ./node_modules/@storybook/react-dom-shim/dist/react-18.mjs",
"lint": "eslint ./src --fix --ext .js,.jsx,.ts,.tsx",
"lint:ci": "eslint ./src --quiet --ext .js,.jsx,.ts,.tsx",
"clean": "rimraf build",
"bundle": "webpack --progress --config ./webpack.config.prod.js",
"build": "npm run clean && npm run bundle",
"translation": "node ./scripts/translate-i18n-files.js",
"storybook": "storybook dev -p 6006 --ci",
"build-storybook": "storybook build",
"jest": "node --expose-gc --no-compilation-cache ./node_modules/.bin/jest --logHeapUsage --maxWorkers=1",
"jest:watch": "jest --watch",
"lint:styles": "stylelint '**/*.scss'"
},
"dependencies": {
"@pdftron/webviewer-react-toolkit": "^0.7.11",
"autolinker": "^3.11.1",
"blob-stream": "^0.1.3",
"canvas2pdf": "git+https://github.com/PDFTron/canvas2pdf.git",
"classnames": "^2.2.6",
"dayjs": "^1.8.19",
"dompurify": "^3.1.6",
"file-saver": "git+https://github.com/ZhijieZhang/FileSaver.js.git",
"hotkeys-js": "^3.10.0",
"html2canvas": "git+https://github.com/PDFTron/html2canvas.git#pdftron-alpha10",
"i18next": "^19.0.3",
"i18next-http-backend": "^1.0.16",
"quill-mention": "^4.1.0",
"react": "^17.0.0",
"react-color": "^2.18.1",
"react-dnd": "^14.0.2",
"react-dnd-html5-backend": "^14.0.0",
"react-dom": "^17.0.0",
"react-draggable": "^4.3.1",
"react-i18next": "^11.3.1",
"react-measure": "^2.3.0",
"react-mentions": "git+https://github.com/PDFTron/react-mentions.git",
"react-onclickoutside": "^6.9.0",
"react-quill": "^2.0.0-beta.4",
"react-redux": "^7.1.3",
"react-select": "^5.8.1",
"react-shadow-dom-retarget-events": "1.1.0",
"react-swipeable": "^5.5.1",
"react-virtualized": "^9.21.2",
"react-virtuoso": "^2.8.1",
"redux": "^4.0.5",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.3.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/eslint-parser": "^7.16.0",
"@babel/node": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-export-namespace-from": "^7.8.3",
"@babel/plugin-proposal-function-sent": "^7.8.3",
"@babel/plugin-proposal-numeric-separator": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.8.3",
"@babel/plugin-proposal-throw-expressions": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@chromatic-com/storybook": "^1.3.5",
"@google-cloud/translate": "^5.1.4",
"@hot-loader/react-dom": "^17.0.2",
"@pdftron/webviewer-downloader": "^1.4.2",
"@pdftron/webviewer-reading-mode": "1.0.8",
"@reduxjs/toolkit": "^1.8.1",
"@storybook/addon-a11y": "^8.1.3",
"@storybook/addon-actions": "^8.1.0",
"@storybook/addon-essentials": "^8.1.0",
"@storybook/addon-interactions": "^8.1.2",
"@storybook/addon-links": "^8.1.0",
"@storybook/addon-themes": "^8.1.0",
"@storybook/addon-webpack5-compiler-swc": "^1.0.2",
"@storybook/react": "^8.1.0",
"@storybook/react-webpack5": "^8.1.0",
"@storybook/test": "^8.1.2",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^10.4.9",
"@testing-library/react-hooks": "^5.0.3",
"@testing-library/user-event": "^12.7.3",
"babel-jest": "^29.5",
"babel-loader": "^8.0.6",
"body-parser": "^1.19.0",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.1.1",
"core-js": "^3.6.4",
"css-loader": "^3.4.2",
"cssnano": "^4.1.11",
"eslint": "^8.57.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-custom": "file:eslint-plugin-custom",
"eslint-plugin-cypress": "^3.5.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-no-unsanitized": "^4.1.0",
"eslint-plugin-react": "^7.35.2",
"eslint-plugin-react-hooks": "^4.6.2",
"express": "^4.17.1",
"file-loader": "^5.0.2",
"identity-obj-proxy": "^3.0.0",
"ip": "^1.1.5",
"jest": "29.5",
"jest-canvas-mock": "^2.5.1",
"jest-environment-jsdom": "^29.5.0",
"mini-css-extract-plugin": "0.8.0",
"node-polyfill-webpack-plugin": "^3.0.0",
"open": "^8.4.0",
"postcss": "^8.4.38",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"prop-types": "^15.7.2",
"raw-loader": "^4.0.0",
"react-hot-loader": "^4.13.1",
"react-is": "^16.13.1",
"redux-devtools-extension": "^2.13.8",
"redux-logger": "^3.0.6",
"regenerator-runtime": "^0.13.9",
"rimraf": "^3.0.0",
"sass": "^1.34.0",
"sass-loader": "^8.0.2",
"storybook": "^8.1.0",
"storybook-addon-pseudo-states": "^3.1.1",
"style-loader": "^1.1.3",
"stylelint": "^13.13.1",
"svg-inline-loader": "^0.8.0",
"webpack": "^5.91.0",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^5.1.4",
"webpack-dev-middleware": "^7.2.1",
"webpack-hot-middleware": "^2.26.1"
},
"lint-staged": {
"./src/**/*.{js,ts}": "eslint --fix"
}
}