-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
54 lines (54 loc) · 1.6 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
{
"name": "keystats",
"version": "1.0.0",
"description": "",
"type": "commonjs",
"main": "build/main.cjs",
"bin": {
"keystats": "./build/keystats.cjs"
},
"scripts": {
"build": "npm run clean && npm run build:dependencies && npm run bundle && npm run pkg",
"build:client": "cd src/client && npm run build && cd ../.. && mkdir build && cp -R 'src/client/build' 'build/client'",
"build:common": "cd src/common && npm run build && cd ../..",
"build:dependencies": "npm run build:common && npm run build:client",
"bundle": "node esbuild.js",
"clean": "rm -rf ./build",
"pkg": "pkg --plublic -t node18-macos-arm64 -C Brotli --output ./bin/keystats .",
"pkg:debug": "pkg --debug --public -t node18-macos-arm64 --output ./bin/keystats .",
"start": "nodemon",
"start:client": "cd src/client && npm run start"
},
"author": "",
"license": "ISC",
"dependencies": {
"@types/node-hid": "^1.3.2",
"cors": "^2.8.5",
"dayjs": "^1.11.10",
"express": "^4.18.2",
"knex": "^2.5.1",
"loglevel": "^1.8.1",
"loglevel-plugin-prefix": "^0.8.4",
"node-hid": "^2.1.2",
"node-usb-detection": "^1.0.2",
"sqlite3": "^5.1.6",
"usb-detection": "^4.14.1",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/cors": "^2.8.14",
"@types/express": "^4.17.18",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"esbuild": "^0.19.4",
"eslint": "^8.50.0",
"nodemon": "^3.0.1",
"pkg": "^5.8.1",
"typescript": "^5.2.2"
},
"pkg": {
"assets": [
"./build/client/**/*"
]
}
}