forked from KhalisFoundation/sttm-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.83 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
113
114
115
116
117
118
119
120
121
122
123
124
{
"productName": "SikhiToTheMax",
"name": "sttm-desktop",
"version": "3.2.1",
"description": "The SikhiToTheMax 3 desktop app",
"main": "app.js",
"scripts": {
"precommit": "yarn test",
"test": "htmlhint --config .htmlhintrc www && eslint app.js packaging/ www/js www/core/js && stylelint \"www/src/scss/*.scss\" \"www/core/scss/*.scss\" --syntax scss",
"test:app": "mocha",
"rebuild": "electron-rebuild -f -w sqlite3",
"start": "concurrently --kill-others \"yarn watch-css\" \"cross-env NODE_ENV=development electron .\"",
"build": "yarn build-css",
"pack:mac": "yarn build && build --mac",
"pack:win": "yarn build && build --win --x64",
"pack:win32": "yarn build && build --win --ia32",
"pack:linux": "yarn build && build --linux --x64",
"upload:mac": "node packaging/upload-mac.js",
"upload:win": "node packaging/upload-win.js",
"upload:win32": "node packaging/upload-win32.js",
"dist:mac": "npm run pack:mac && npm run upload:mac",
"dist:win": "npm run pack:win && npm run upload:win",
"dist:win32": "npm run pack:win32 && npm run upload:win32",
"build-css": "node-sass --output-style compressed --include-path www/scss www/src/scss/styles.scss www/assets/css/bundle.css",
"watch-css": "nodemon --watch www -e scss -x \"node-sass --output-style nested --source-map true --include-path www/src/scss www/src/scss/styles.scss www/assets/css/bundle.css\""
},
"repository": {
"type": "git",
"url": "ssh://[email protected]:khalisfoundation/sttm-desktop.git"
},
"author": "Khalis, Inc. <[email protected]>",
"license": "KNC-GSL",
"devDependencies": {
"aws-sdk": "^2.28.0",
"concurrently": "^3.3.0",
"cross-env": "^3.1.4",
"electron": "^1.6.2",
"electron-builder": "^17.3.1",
"electron-publisher-s3": "^16.6.0",
"electron-rebuild": "^1.5.7",
"eslint": "^3.18.0",
"eslint-config-airbnb-base": "^11.1.2",
"eslint-plugin-import": "^2.2.0",
"htmlhint": "^0.9.13",
"husky": "^0.13.3",
"mocha": "^3.2.0",
"node-sass": "^4.5.0",
"nodemon": "^1.11.0",
"spectron": "^3.6.1",
"ssh2": "^0.5.4",
"stylelint": "^7.9.0",
"stylelint-config-standard": "^16.0.0",
"stylelint-order": "^0.4.1"
},
"dependencies": {
"adm-zip": "^0.4.7",
"electron-log": "^2.0.2",
"electron-updater": "^1.11.2",
"hyperscript": "^2.0.2",
"is-online": "^7.0.0",
"lodash.defaultsdeep": "^4.6.0",
"lodash.get": "^4.4.2",
"lodash.set": "^4.3.2",
"marked": "^0.3.6",
"request": "^2.81.0",
"request-progress": "^3.0.0",
"sqlite3": "^3.1.8"
},
"build": {
"appId": "org.khalisfoundation.sttm",
"files": [
"**/*",
"!assets${/*}",
"!builds${/*}",
"!**/scss${/*}",
"!packaging${/*}",
"!test${/*}",
"!www/node_modules${/*}",
"!www/package.json",
"!**/{.eslintignore,.eslintrc,.gitmodules,.htmlhintrc,.stylelintrc,.travis.yml,appveyor.yml,data.db,id_rsa.enc,README,STTM.provisionprofile}",
"!**/*.map"
],
"extraResources": [
"data.db"
],
"directories": {
"buildResources": "assets",
"output": "builds"
},
"publish": {
"provider": "s3",
"bucket": "sttm-releases",
"path": "${os}-${arch}",
"region": "us-west-2"
},
"dmg": {
"icon": "STTM-DMG.icns"
},
"mac": {
"category": "public.app-category.reference",
"icon": "assets/STTM3.icns",
"target": [
"dmg",
"zip"
]
},
"nsis": {
"artifactName": "${productName}Setup-${version}.${ext}",
"deleteAppDataOnUninstall": true,
"perMachine": true
},
"win": {
"icon": "assets/STTME.ico",
"publisherName": "Khalis Foundation",
"target": [
"nsis"
]
},
"linux": {
"target": "deb",
"icon": "assets"
}
}
}