-
Notifications
You must be signed in to change notification settings - Fork 70
/
package.json
112 lines (112 loc) · 5.98 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
{
"name": "tuxedo-control-center",
"description": "TUXEDO Control Center Application",
"version": "2.1.15",
"main": "./dist/tuxedo-control-center/e-app/e-app/main.js",
"author": {
"name": "TUXEDO Computers GmbH",
"email": "[email protected]",
"url": "https://tuxedocomputers.com"
},
"license": "GPL-3.0",
"homepage": "https://tuxedocomputers.com",
"scripts": {
"postinstall": "electron-builder install-app-deps",
"ver": "sh build-src/inc-version.sh",
"inc-version-patch": "npm version patch --no-git-tag-version && cd src && npm version patch --no-git-tag-version",
"inc-version-minor": "npm version minor --no-git-tag-version && cd src && npm version minor --no-git-tag-version",
"inc-version-major": "npm version major --no-git-tag-version && cd src && npm version major --no-git-tag-version",
"start": "electron ./dist/tuxedo-control-center",
"start-tccd-debug": "sudo node --enable-source-maps ./dist/tuxedo-control-center/service-app/service-app/main.js --start",
"build": "run-s clean build-electron build-native build-service build-ng copy-files",
"build-prod": "run-s clean build-electron build-native build-service build-ng-prod copy-files",
"build-ng": "npm run copy-changelog && ng build",
"build-ng-prod": "npm run copy-changelog && ng build --prod",
"build-electron": "tsc -p ./src/e-app",
"build-service": "tsc -p ./src/service-app && cp ./src/package.json ./dist/tuxedo-control-center/service-app/package.json && run-s bundle-service",
"bundle-service": "cp ./build/Release/TuxedoIOAPI.node ./dist/tuxedo-control-center/service-app/native-lib && pkg --target node14-linux-x64 --output ./dist/tuxedo-control-center/data/service/tccd ./dist/tuxedo-control-center/service-app/package.json",
"build-native": "node-gyp configure && node-gyp rebuild",
"copy-files": "run-s copy-package-json copy-dist-files copy-cameractls copy-udev-rule",
"copy-package-json": "cp ./src/package.json ./dist/tuxedo-control-center/package.json",
"copy-dist-files": "cp -r ./src/dist-data ./dist/tuxedo-control-center/data && mkdir -p ./usr/share/metainfo && cp ./src/dist-data/com.tuxedocomputers.tcc.metainfo.xml ./usr/share/metainfo",
"copy-changelog": "cp CHANGELOG.md ./src/ng-app/assets/",
"copy-cameractls": "mkdir -p ./dist/tuxedo-control-center/data/camera && cp ./src/cameractrls/cameractrls.py ./src/cameractrls/v4l2_kernel_names.json ./dist/tuxedo-control-center/data/camera",
"copy-udev-rule": "cp ./src/udev/99-webcam.rules ./dist/tuxedo-control-center/data/dist-data",
"electron-builder": "USE_HARD_LINKS=false TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ./build-src/electron-builder.ts",
"pack": "run-s build && npm run electron-builder",
"build-release": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ./build-src/build-release.ts",
"check-release": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ./build-src/check-release.ts",
"pack-prod": "run-s build-prod && npm run electron-builder",
"clean": "rm -rf ./dist; rm -rf ./build; rm -rf ./usr",
"tests": "npm run test-common && npm run test-service-app && npm run test-appstream",
"test-common": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node node_modules/jasmine/bin/jasmine --config=./src/common/jasmine.json",
"test-service-app": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node node_modules/jasmine/bin/jasmine --config=./src/service-app/jasmine.json",
"test-ng": "ng test --watch=false",
"test-ng-e2e": "ng e2e",
"test-appstream": "appstreamcli validate ./src/dist-data/com.tuxedocomputers.tcc.metainfo.xml",
"install-build-dep": "curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash - && sudo apt install nodejs autoconf automake build-essential gcc g++ make rpm",
"start-watch": "run-s clean build-electron build-native build-service copy-files && npm run watch-ng-and-electron",
"watch-ng-and-electron": "run-p start-ng-watch start-electron-watch",
"start-ng-watch": "ng build --watch",
"start-electron-watch": "electron ./dist/tuxedo-control-center --watch",
"gen-lang": "ng xi18n --ivy --out-file src/ng-app/assets/locale/lang.xlf",
"ng-update": "ng update"
},
"private": true,
"dependencies": {
"@angular/common": "~10.2.5",
"@angular/compiler": "~10.2.5",
"@angular/core": "~10.2.5",
"@angular/forms": "~10.2.5",
"@angular/localize": "^10.2.5",
"@angular/platform-browser": "~10.2.5",
"@angular/platform-browser-dynamic": "~10.2.5",
"@angular/router": "~10.2.5",
"async-mutex": "^0.4.0",
"chart.js": "^2.9.3",
"dbus-next": "^0.9.2",
"ng2-charts": "^2.4.3",
"ngx-color-picker": "^11.0.0",
"ngx-markdown": "^10.1.1",
"node-ble": "git+https://github.com/tuxedoxt/node-ble.git#match-and-event-leak-fixes-v2",
"rxjs": "~6.6.7",
"tslib": "^2.0.0",
"xliff": "^6.0.3",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1002.4",
"@angular/animations": "^10.2.5",
"@angular/cdk": "^10.2.7",
"@angular/cli": "~10.2.4",
"@angular/compiler-cli": "~10.2.5",
"@angular/language-service": "~10.2.5",
"@angular/material": "^10.2.7",
"@types/jasmine": "^3.10.5",
"@types/jasminewd2": "^2.0.10",
"@types/node": "^14.18.37",
"angular-gauge": "^3.1.3",
"codelyzer": "^5.1.2",
"electron": "^13.6.9",
"electron-builder": "^21.2.0",
"electron-reload": "^1.5.0",
"hammerjs": "^2.0.8",
"jasmine": "^3.99.0",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"mock-fs": "^4.14.0",
"ngx-electron": "^2.2.0",
"node-addon-api": "^1.7.2",
"npm-run-all": "^4.1.5",
"pkg": "^5.8.1",
"protractor": "~7.0.0",
"ts-node": "^10.7.0",
"tslint": "~6.1.0",
"typescript": "~4.0.8"
}
}