-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
87 lines (87 loc) · 2.95 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
{
"name": "ts-liveview",
"version": "1.0.0",
"type": "module",
"description": "",
"keywords": [],
"author": {
"name": "Beeno Tung",
"email": "[email protected]",
"url": "https://beeno-tung.surge.sh"
},
"license": "BSD-2-Clause",
"scripts": {
"ui": "cd db && npm run ui",
"lint": "eslint --fix .",
"format": "prettier --write . && format-json-cli",
"fix": "run-p fix:*",
"fix:server": "fix-esm-import-path --preserve-import-type server/index.ts",
"fix:client": "fix-esm-import-path --preserve-import-type client/index.ts",
"type-check": "tsc -p . --watch --noEmit",
"build": "run-p build:*",
"build:dev": "esbuild scripts/dev.ts --target=es2022 --outfile=scripts/dev.js && prettier --write scripts/dev.js",
"build:server": "node scripts/dev.js build",
"build:client": "esbuild client/index.ts --bundle --minify --target=es2022 --outfile=build/bundle.min.js",
"size": "run-s size:*",
"size:bundle": "esbuild client/index.ts --bundle --target=es2022 --outfile=build/bundle.js",
"size:minify": "esbuild client/index.ts --bundle --minify --target=es2022 --outfile=build/bundle.min.js",
"size:compress": "gzip -kf build/bundle.min.js",
"size:report": "ls -l build/bundle.*",
"size:report-h": "ls -lh build/bundle.*",
"start": "run-s watch:*",
"watch:server": "node scripts/dev.js serve",
"watch:client": "npm run build:client -- --watch"
},
"dependencies": {
"@beenotung/tslib": "^23.12.1",
"@ionic/core": "^8.4.1",
"better-sqlite3-proxy": "^2.10.0",
"better-sqlite3-schema": "^3.1.7",
"cast.ts": "^1.14.2",
"cookie-parser": "^1.4.7",
"datatables.net": "^2.1.8",
"datatables.net-dt": "^2.1.8",
"debug": "^4.3.7",
"dotenv": "^16.4.5",
"express": "^4.21.1",
"fastest-levenshtein": "^1.0.16",
"formidable": "^3.5.2",
"heic2any": "^0.0.4",
"http-status": "^1.8.1",
"jquery": "^3.7.1",
"listening-on": "^2.0.9",
"marked": "^12.0.2",
"open": "^10.1.0",
"sanitize-html": "^2.13.1",
"sweetalert2-unrestricted": "^11.10.5",
"swiper": "^11.1.15",
"timezone-date.ts": "^2.0.1",
"url-router.ts": "^1.2.1",
"ws": "^8.18.0"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.11",
"@types/chai": "^4.3.20",
"@types/cookie-parser": "^1.4.7",
"@types/debug": "^4.1.12",
"@types/express": "^4.17.21",
"@types/express-serve-static-core": "^4.19.6",
"@types/formidable": "^3.4.5",
"@types/integer": "^4.0.3",
"@types/node": "^22.9.0",
"@types/sanitize-html": "^2.13.0",
"@types/ws": "^8.5.13",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"chai": "^5.1.2",
"esbuild": "^0.21.5",
"eslint": "^8.57.1",
"fix-esm-import-path": "^1.10.1",
"format-json-cli": "^1.0.2",
"gen-env": "^1.0.1",
"npm-run-all": "^4.1.5",
"populate-env": "^2.3.1",
"prettier": "^3.3.3",
"typescript": "^5.6.3"
}
}