/
package.json
170 lines (170 loc) · 6.26 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
{
"name": "transcrobes",
"version": "0.35.0",
"private": true,
"type": "module",
"prettier": {
"printWidth": 120,
"trailingComma": "all",
"bracketSpacing": true
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/ban-ts-comment": "off"
}
},
"browserslist": [
"last 3 chrome version",
"last 2 edge version",
"last 2 and_chr version"
],
"scripts": {
"lint": "eslint './src/**/*.{js,ts,tsx}' --quiet",
"validate": "tsc --noEmit",
"run:dev": "tsc --noEmit && rimraf dev-dist && cross-env DEBUG=vite-plugin-pwa:* VITE_GIT_VERSION=$(git describe --tags) SW_DEV=true SW=true vite --force --config vite.config.ts --mode=development",
"build:prod": "tsc --noEmit && rm -rf dist/* && cross-env DEBUG=vite-plugin-pwa:* BASE_URL=/ SOURCE_MAP=true SW=true NODE_OPTIONS='--max-old-space-size=8192' vite build --config vite.config.ts --mode=production",
"run:prod": "npm run build:prod && npm run serve",
"serve": "serve -p 5000 dist",
"buildext:dev": "tsc --noEmit && npm run buildext:nf && cross-env DEBUG=vite-plugin-pwa:* BASE_URL=/ SOURCE_MAP=true SW=true NODE_OPTIONS='--max-old-space-size=8192' vite --force --config vite.ext.config.ts --mode=development",
"buildext:nf": "cross-env BASE_URL=/ SOURCE_MAP=true vite build --config vite.nf.config.ts --mode=production",
"buildext:devbuild": "tsc --noEmit && rimraf extbuild && npm run buildext:nf && cross-env DEBUG=vite-plugin-pwa:* BASE_URL=/ SOURCE_MAP=true SW=true NODE_OPTIONS='--max-old-space-size=8192' vite build --config vite.ext.config.ts --mode=development",
"buildext:prod": "tsc --noEmit && npm run buildext:nf && rimraf extbuild && cross-env DEBUG=vite-plugin-pwa:* BASE_URL=/ SOURCE_MAP=true SW=true NODE_OPTIONS='--max-old-space-size=8192' vite build --config vite.ext.config.ts --mode=production",
"buildext:release": "rm -f ./extdist/brocrobes-$(git describe --tags).zip && npm run buildext:prod && cd extbuild && mkdir -p ../extdist && zip -r ../extdist/brocrobes-$(git describe --tags).zip assets manifest.json nf.iife.js public service-worker-loader.js src static"
},
"dependencies": {
"@hello-pangea/dnd": "^16.0.0",
"@lexical/react": "^0.12.5",
"@monaco-editor/react": "^4.5.1",
"@mui/x-data-grid": "^6.11.0",
"@mui/x-date-pickers": "^6.5.0",
"@reduxjs/toolkit": "^2.0.1",
"@use-it/event-listener": "^0.1.7",
"axios": "^1.1.2",
"browserslist-useragent-regexp": "^4.0.0",
"chinese-numbers-to-arabic": "^2.0.0",
"classnames": "^2.3.2",
"comlink": "^4.4.1",
"cssesc": "^3.0.0",
"d3-array": "^3.2.0",
"dayjs": "^1.11.5",
"debounce": "^2.0.0",
"detect-browser": "^5.3.0",
"devtools-detector": "^2.0.12",
"fetch-retry": "^5.0.3",
"graphql": "^16.6.0",
"graphql-ws": "^5.11.2",
"hanzi-writer": "^3.3.0",
"inferno": "^8.0.3",
"inferno-redux": "^8.0.3",
"js-cookie": "^3.0.1",
"js-levenshtein-esm": "^1.2.0",
"jscrypto": "^1.0.3",
"jwt-decode": "^4.0.0",
"lexical": "^0.12.5",
"lodash": "^4.17.21",
"loglevel": "^1.8.0",
"lz-string": "^1.4.4",
"monaco-editor": "^0.45.0",
"nosleep.js": "^0.12.0",
"opencc-js": "^1.0.4",
"papaparse": "^5.4.0",
"pinyin-split": "^1.170.0",
"pinyin-tone-converter": "^1.0.0",
"r2-shared-js": "^1.0.60",
"rangy": "^1.3.1",
"react": "^18.2.0",
"react-admin": "^4.3.4",
"react-colorful": "^5.6.1",
"react-cookie": "^6.1.0",
"react-dom": "^18.2.0",
"react-fast-compare": "^3.2.2",
"react-hook-form-mui": "^6.1.1",
"react-idle-timer": "^5.5.2",
"react-jss": "^10.9.1",
"react-player": "^2.14.1",
"react-query": "^3.39.3",
"react-redux": "^9.0.4",
"react-resizable": "^3.0.5",
"react-router": "^6.3.0",
"react-router-config": "^5.1.1",
"react-router-dom": "^6.3.0",
"react-select": "^5.4.0",
"react-usestateref": "^1.0.8",
"recharts": "^2.1.14",
"redux": "^5.0.0",
"redux-watch": "^1.2.0",
"rollup-plugin-node-polyfills": "^0.2.1",
"rxdb": "^14.2.1",
"rxjs": "^7.5.7",
"sanitize-html": "^2.7.2",
"survey-core": "^1.9.122",
"survey-react-ui": "^1.9.110",
"ta-json-x": "^2.5.3",
"tiny-async-pool": "^2.1.0",
"ts-enum-util": "^4.0.2",
"tss-react": "^4.7.1",
"unidecode": "^0.1.8",
"use-resize-observer": "^9.0.2",
"uuid": "^9.0.0",
"vite-plugin-svgr": "^4.0.0",
"wa-sqlite": "github:rhashimoto/wa-sqlite#master",
"webextension-polyfill": "^0.10.0",
"websocket-ts": "^2.1.5",
"webvtt-parser": "^2.2.0",
"zxcvbn": "^4.4.2"
},
"devDependencies": {
"@crxjs/vite-plugin": "^2.0.0-beta.6",
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@rollup/plugin-replace": "^5.0.0",
"@types/chrome": "^0.0.254",
"@types/d3-array": "^3.0.3",
"@types/debounce": "^1.2.1",
"@types/js-cookie": "^3.0.2",
"@types/jsonexport": "^3.0.2",
"@types/lodash": "^4.14.186",
"@types/lz-string": "^1.5.0",
"@types/node-polyglot": "^2.4.2",
"@types/opencc-js": "^1.0.0",
"@types/papaparse": "^5.3.5",
"@types/rangy": "^0.0.38",
"@types/react": "^18.0.32",
"@types/react-dom": "^18.0.6",
"@types/react-router-config": "^5.0.6",
"@types/react-router-dom": "^5.3.3",
"@types/redux-watch": "^1.1.0",
"@types/sqlstring": "^2.3.0",
"@types/tiny-async-pool": "^2.0.0",
"@types/unidecode": "^0.1.1",
"@types/uuid": "^9.0.0",
"@types/webextension-polyfill": "^0.10.1",
"@types/zxcvbn": "^4.4.1",
"@vitejs/plugin-react": "^4.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.24.0",
"eslint-config-prettier": "^9.0.0",
"mjml": "^4.14.1",
"rimraf": "^5.0.0",
"typescript": "^5.0.2",
"unplugin-auto-import": "^0.17.2",
"vite": "^5.0.10",
"vite-plugin-pwa": "^0.17.4",
"vite-plugin-wasm": "^3.2.2",
"workbox-core": "^7.0.0",
"workbox-precaching": "^7.0.0",
"workbox-routing": "^7.0.0",
"workbox-window": "^7.0.0"
}
}