-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
42 lines (42 loc) · 2.02 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
{
"name": "je2be-web",
"main": "index.js",
"repository": "https://github.com/kbinani/je2be-web.git",
"author": "kbinani <kbinani.bt@gmail.com>",
"license": "AGPL-3.0-or-later",
"devDependencies": {
"@bugsnag/source-maps": "^2.3.3",
"@types/node": "^20.12.11",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"@types/sprintf-js": "^1.1.4",
"@types/uuid": "^9.0.8",
"bugsnag-build-reporter": "^2.0.0",
"esbuild": "^0.21.1",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"dependencies": {
"@bugsnag/js": "^7.23.0",
"@bugsnag/plugin-react": "^7.22.7",
"dexie": "^4.0.4",
"jszip": "^3.10.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sprintf-js": "^1.1.3",
"uuid": "^9.0.1"
},
"scripts": {
"front": "esbuild --define:JE2BE_VERSION=\\\"$JE2BE_VERSION\\\" src/front/component/index.tsx --bundle --outfile=build/ts/script/front.js --sourcemap=external --minify",
"sworker": "esbuild --define:JE2BE_VERSION=\\\"$JE2BE_VERSION\\\" src/worker/service/sworker.ts --bundle --outfile=build/ts/sworker.js --sourcemap=external --minify",
"converter": "esbuild --define:JE2BE_VERSION=\\\"$JE2BE_VERSION\\\" src/worker/dedicated/converter.ts --bundle --outfile=build/ts/script/converter.js --sourcemap=external --minify",
"dev-front": "esbuild src/front/component/index.tsx --bundle --outfile=public/script/front.js --watch",
"dev-sworker": "esbuild src/worker/service/sworker.ts --bundle --outfile=public/sworker.js --watch",
"dev-converter": "esbuild src/worker/dedicated/converter.ts --bundle --outfile=public/script/converter.js --watch",
"fmt": "prettier --write '*.ts' 'src/**/*.ts' 'src/**/*.tsx' 'public/style/*.css'",
"dev": "ts-node dev.ts",
"upsourcemaps": "bugsnag-source-maps upload-browser --api-key $BUGSNAG_API_KEY --app-version $JE2BE_VERSION --base-url https://je2be.app --directory build/ts",
"reportbuild": "bugsnag-build-reporter --api-key $BUGSNAG_API_KEY --app-version $JE2BE_VERSION"
}
}