forked from SilverHoodCorp/polar-bookshelf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
231 lines (231 loc) · 8.39 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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
{
"name": "polar-bookshelf",
"version": "2.1.56",
"description": "Polar",
"private": true,
"scripts": {
"testit": "echo ./dist/polar-bookshelf_${npm_package_version}_amd64.snap",
"clean": "rm -rf web/dist && rm -rf dist/public && rm -rf .webpack-cache-loader && rm -rf .terser-webpack-plugin && rm -rf tsconfig.tsbuildinfo",
"build-webapp": "npm run-script clean && npm run-script eslint && npx tsc && export NODE_ENV=production && export WEBPACK_TARGET=web && npm run-script webpack",
"setup-dist-appx": "cp web/js/dist_config/AppXDistConfig.ts web/js/dist_config/DistConfig.ts",
"publish-linux-snapcraft": "snapcraft push --release stable ./dist/polar-bookshelf-${npm_package_version}-amd64.snap",
"publish-webapp": "npm run-script build-webapp && firebase use polar-32b0f && ./scripts/firebase-set-hosting && firebase deploy",
"publish-win": "./scripts/dist-win.sh",
"__dist-linux": "npm run-script setup-dist-default && npm run-script compile && npm run-script publish-linux && npm run-script publish-linux-snapcraft",
"dist-webapp": "npm run-script setup-dist-default && npm run-script compile && npm run-script publish-webapp",
"dist": "npm run-script build-webapp",
"dist-prepare": "",
"compile": "tsc",
"compile-watch": "tsc --watch",
"test-mocha": "npx mocha --exit --log-timer-events --recursive 'web/js/**/*Test.js'",
"_test": "./scripts/test-runner.sh",
"___test": "mocha --timeout 20000 --exit 'web/js/**/*Test.js' 'apps/**/*Test.js'",
"test": "mocha -p --timeout 60000 --exit 'web/js/**/*Test.js' 'apps/**/*Test.js'",
"__test": "scripts/test.sh",
"postinstall": "opencollective-postinstall",
"tslint": "tslint --project tsconfig.json --config tslint.yaml",
"eslint": "../../node_modules/eslint/bin/eslint.js -c .eslintrc.js --ext .ts,.tsx --ignore-pattern '*.d.ts' web/js apps",
"webpack": "rm -rf dist/public && rm -rf .webpack-cache-loader && rm -rf .terser-webpack-plugin/ && mkdir -p dist/public && npx webpack --config=webpack.config.js && pwd && ls -al dist/public && echo 'Webpack built successfully'",
"webpack-serve": "node --max_old_space_size=4096 node_modules/.bin/webpack serve",
"find-unhandled-promises": "npm run-script tslint | grep 'Promises must be handled appropriately' | grep -v 'web/test' ; true",
"serve": "node scripts/serve.js",
"karma": "../../node_modules/karma/bin/karma start"
},
"repository": "https://github.com/burtonator/polar-bookshelf",
"keywords": [
"PDF",
"viewer",
"PDF.js",
"ebook",
"annotations"
],
"author": {
"name": "contributors",
"email": "[email protected]"
},
"contributors": [
{
"name": "Kevin Burton"
}
],
"build": {
"appId": "io.inputneuron/polar",
"mac": {
"category": "Books"
}
},
"license": "GPL-3.0-only",
"devDependencies": {
"@types/amplitude-js": "^7.0.0",
"@types/blueimp-md5": "^2.7.0",
"@types/chai": "4.2.11",
"@types/chrome": "0.0.114",
"@types/deep-equal": "~1.0.1",
"@types/expect": "~1.20.3",
"@types/html2canvas": "0.0.35",
"@types/jquery": "~3.3.31",
"@types/js-cookie": "~2.2.0",
"@types/jsdom": "=16.2.7",
"@types/lodash": "~4.14.119",
"@types/mocha": "=8.0.4",
"@types/node": "=14.14.35",
"@types/prop-types": "~15.7.3",
"@types/react-helmet": "=6.1.0",
"@types/react-router-dom": "=5.1.5",
"@types/react-virtualized": "=9.21.10",
"@types/react-virtualized-auto-sizer": "=1.0.0",
"@types/react-visibility-sensor": "=5.0.1",
"@types/react-window": "=1.8.2",
"@types/semver": "~6.2.0",
"@types/summernote": "~0.8.0",
"@types/throttle-debounce": "=2.1.0",
"@types/toastr": "~2.1.35",
"@types/universal-analytics": "~0.4.2",
"@types/use-persisted-state": "=0.3.0",
"@types/uuid": "3.4.5",
"chai": "4.2.0",
"cypress": "=6.4.0",
"dotenv": "^8.2.0",
"dtsmake": "0.0.10",
"install": "^0.12.2",
"jsdom": "=16.5.1",
"mini-css-extract-plugin": "=0.9.0",
"mocha": "=8.2.1",
"mocha-junit-reporter": "^1.18.0",
"node-sass": "=4.14.1",
"polar-typescript": "^2.1.56",
"polar-webpack": "^2.1.56",
"react-contenteditable": "=3.3.5",
"recursive-readdir": "~2.2.2",
"summernote-typescript": "~0.8.9",
"timekeeper": "2.2.0",
"ts-mocha": "7.0.0",
"tslint": "6.1.2",
"typescript": "=4.2.3",
"userflow.js": "=1.8.0",
"wait-for-expect": "3.0.1",
"webpack": "=5.26.3",
"webpack-cli": "=4.5.0",
"workbox-cli": "=5.1.3"
},
"dependencies": {
"@emotion/is-prop-valid": "=1.1.0",
"@fortawesome/fontawesome-free": "5.13.0",
"@fortawesome/fontawesome-svg-core": "=1.2.28",
"@fortawesome/free-brands-svg-icons": "=5.13.0",
"@fortawesome/free-regular-svg-icons": "=5.13.0",
"@fortawesome/free-solid-svg-icons": "=5.13.0",
"@fortawesome/react-fontawesome": "=0.1.9",
"@material-ui/core": "=4.11.3",
"@material-ui/icons": "=4.11.2",
"@material-ui/lab": "=4.0.0-alpha.57",
"@material-ui/x-grid": "=4.0.0-alpha.24",
"@nivo/bar": "=0.61.1",
"@nivo/calendar": "=0.61.1",
"@nivo/line": "=0.61.1",
"@nivo/pie": "=0.61.1",
"@sentry/browser": "6.2.3",
"@sentry/integrations": "6.2.3",
"@sentry/tracing": "6.2.3",
"@stripe/stripe-js": "=1.11.0",
"@types/mousetrap": "=1.6.3",
"amplitude-js": "^8.1.0",
"base58check": "2.0.0",
"blueimp-md5": "2.16.0",
"clsx": "=1.1.0",
"codemirror": "~5.38.0",
"convert-stream": "~1.0.2",
"copy-html-to-clipboard": "=4.0.1",
"debug-stream": "~3.0.1",
"deep-equal": "^1.0.1",
"email-addresses": "^3.0.3",
"epubjs": "=0.3.89-polar.16",
"file-exists-promise": "~1.0.2",
"file-selector": "=0.1.13",
"firebase": "=8.4.1",
"firebaseui": "=4.8.0",
"framer-motion": "=3.3.0",
"jquery": "^3.4.1",
"js-cookie": "~2.2.0",
"js-sha3": "0.8.0",
"jszip": "=3.5.0",
"lodash": "^4.17.15",
"material-ui-dropzone": "=3.3.0",
"mobx": "=6.2.0",
"mobx-react-lite": "=3.2.0",
"moment": "^2.24.0",
"opencollective-postinstall": "~2.0.1",
"path-to-regexp": "^3.0.0",
"pdfjs-dist": "=2.8.250-polar.3",
"polar-accounts": "^2.1.56",
"polar-assets": "^2.1.56",
"polar-backend-api": "^2.1.56",
"polar-backend-shared": "^2.1.56",
"polar-browsers": "^2.1.56",
"polar-content-capture": "^2.1.56",
"polar-dom-text-search": "^2.1.56",
"polar-epub": "^2.1.56",
"polar-exporters": "^2.1.56",
"polar-file-saver": "^2.1.56",
"polar-firebase": "^2.1.56",
"polar-google-fonts": "^2.1.56",
"polar-html": "^2.1.56",
"polar-images": "^2.1.56",
"polar-karma": "^2.1.56",
"polar-loader": "1.0.3",
"polar-markdown-parser": "^2.1.56",
"polar-pagemarks-auto": "^2.1.56",
"polar-pdf": "^2.1.56",
"polar-react": "^2.1.56",
"polar-release-metadata": "^2.1.56",
"polar-shared": "^2.1.56",
"polar-shared-webserver": "^2.1.56",
"polar-snapshot-cache": "^2.1.56",
"polar-spaced-repetition": "^2.1.56",
"polar-spaced-repetition-api": "^2.1.56",
"polar-text-highlighter": "^2.1.56",
"polar-web-extension-api": "^2.1.56",
"polar-webapp-links": "^2.1.56",
"prop-types": "~15.7.2",
"react-async": "=10.0.1",
"react-cookie-banner": "~4.0.0",
"react-dropzone": "11.0.1",
"react-fast-compare": "=3.0.1",
"react-ga": "=2.5.6",
"react-helmet": "=6.1.0",
"react-hotkeys": "=2.0.0",
"react-intersection-observer": "=8.30.1",
"react-joyride": "=2.2.1",
"react-json-view": "~1.19.1",
"react-moment": "~0.9.6",
"react-rnd": "=10.2.3",
"react-router-dom": "~5.2.0",
"react-spring": "=8.0.27",
"react-summernote": "~2.0.0",
"react-teleporter": "=2.1.1",
"react-virtualized": "=9.22.2",
"react-virtualized-auto-sizer": "=1.0.2",
"react-visibility-sensor": "=5.0.1",
"react-window": "=1.8.6",
"readable-stream": "=3.6.0",
"reflect-metadata": "~0.1.12",
"requirejs": "=2.3.6",
"rimraf": "~2.6.2",
"rxjs": "=6.6.7",
"semver": "~6.3.0",
"stream-to-array": "~2.3.0",
"string-to-stream": "~1.1.1",
"summernote": "^0.8.10",
"throttle-debounce": "=2.1.0",
"typed-web-workers": "~2.1.1",
"typemoq": "~2.1.0",
"underscore": "~1.9.1",
"universal-analytics": "~0.4.23",
"use-local-storage-state": "=6.0.0",
"uuid": "3.3.3"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/polar-bookshelf"
}
}