forked from tuxedocomputers/tuxedo-control-center
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 4.51 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
{
"name": "tuxedo-control-center",
"version": "1.0.3",
"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": {
"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",
"build": "run-s clean build-electron build-service build-native build-ng copy-files",
"build-prod": "run-s clean build-electron build-service build-native 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": "pkg --target node10-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-native",
"copy-native": "mkdir -p ./dist/tuxedo-control-center/service-app/native-lib && cp ./build/Release/TuxedoWMIAPI.node ./dist/tuxedo-control-center/data/service",
"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",
"copy-changelog": "cp CHANGELOG.md ./src/ng-app/assets/",
"pack": "npm run build && ts-node ./build-src/electron-builder.ts",
"pack-prod": "npm run build-prod && ts-node ./build-src/electron-builder.ts",
"clean": "rm -rf ./dist; rm -rf ./build",
"tests": "npm run test-common",
"test-common": "ts-node node_modules/jasmine/bin/jasmine --config=./src/common/jasmine.json",
"test-ng": "ng test --watch=false",
"test-ng-e2e": "ng e2e",
"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-service build-native 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 --out-file src/ng-app/assets/locale/lang.xlf && ngx-extractor -i \"src/ng-app/**/*.ts\" -f xlf -o src/ng-app/assets/locale/lang.xlf"
},
"private": true,
"dependencies": {
"@angular/common": "~8.0.1",
"@angular/compiler": "~8.0.1",
"@angular/core": "~8.0.1",
"@angular/forms": "~8.0.1",
"@angular/platform-browser": "~8.0.1",
"@angular/platform-browser-dynamic": "~8.0.1",
"@angular/router": "~8.0.1",
"dbus-next": "^0.8.2",
"rxjs": "~6.4.0",
"tslib": "^1.9.0",
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.800.0",
"@angular/animations": "^8.0.3",
"@angular/cdk": "^8.1.2",
"@angular/cli": "~8.0.4",
"@angular/compiler-cli": "~8.0.1",
"@angular/language-service": "~8.0.1",
"@angular/material": "^8.1.2",
"@ngx-translate/i18n-polyfill": "^1.0.0",
"@types/jasmine": "^3.3.13",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.0.0",
"angular-gauge": "^3.1.2",
"codelyzer": "^5.0.0",
"electron": "^9.0.4",
"electron-builder": "^20.44.4",
"electron-reload": "^1.5.0",
"hammerjs": "^2.0.8",
"jasmine": "^3.4.0",
"jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.1.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.0",
"mock-fs": "^4.10.1",
"ngx-electron": "^2.1.1",
"ngx-markdown": "^8.2.1",
"node-addon-api": "^1.7.1",
"npm-run-all": "^4.1.5",
"pkg": "^4.4.0",
"protractor": "~5.4.0",
"ts-node": "^7.0.1",
"tslint": "~5.15.0",
"typescript": "~3.4.3"
}
}