forked from donn/nudelta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.52 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
{
"name": "nudelta",
"author": "Mohamed Gaber <[email protected]>",
"version": "0.6.3",
"license": "GPL-3.0-or-later",
"homepage": "https://github.com/donn/nudelta#readme",
"description": "An open-source alternative to the NuPhy Console",
"dependencies": {
"@fontsource/nunito": "^4.5.11",
"fs-extra": "^10.1.0",
"yaml": "^2.1.3"
},
"scripts": {
"build": "yarn build-native && yarn build-ui && electron-builder --publish never",
"build-native": "node util/build-native.js",
"build-ui": "rollup -c",
"watch": "nodemon --ext .js,.mjs,.cjs,.css --ignore ui/app-dist/ --exec sh -c \"yarn build-ui && electron .\"",
"format": "prettier --write . && clang-format -i include/*.hpp lib/*.cpp src/*.cpp",
"lint": "prettier --check . && clang-format --dry-run --Werror include/*.hpp lib/*.cpp src/*.cpp"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-url": "^8.0.1",
"@rollup/plugin-yaml": "^4.0.1",
"cmake-js": "^7.1.1",
"electron": "^21.2.1",
"electron-builder": "^23.6.0",
"fast-glob": "^3.2.12",
"license-checker": "^25.0.1",
"node-addon-api": "^5.0.0",
"nodemon": "^2.0.9",
"prettier": "^2.7.1",
"rollup": "^2.26.10",
"rollup-plugin-import-css": "^2.0.1",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-serve": "^1.1.0",
"rollup-plugin-terser": "^7.0.2"
},
"type": "module",
"main": "index.cjs",
"cmake-js": {
"runtime": "electron",
"runtimeVersion": "21.2.1",
"arch": "x64"
},
"build": {
"appId": "website.donn.nudelta",
"extraResources": "res",
"linux": {
"target": [
"appimage"
],
"extraFiles": [
{
"from": "/lib64/libusb-1.0.so.0",
"to": "usr/lib/libusb-1.0.so.0"
}
]
},
"mac": {
"category": "public.app-category.utilities",
"target": [
"zip"
],
"icon": "./res/nudelta.icns"
},
"win": {
"target": "portable",
"icon": "./res/nudelta.ico"
}
},
"prettier": {
"tabWidth": 4,
"quoteProps": "consistent"
}
}