-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
79 lines (79 loc) · 3.2 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": "believers-sword",
"description": "Believers Sword is an application for believers community, it is used to study bible, also used for praying, social or connect with other believers.",
"author": "BroJenuel",
"version": "0.6.4",
"main": "./dist/main.js",
"license": "GPL-3.0",
"scripts": {
"build": "tsc",
"watch": "nodemon --exec yarn serve:electron",
"start": "yarn nightly:rename && concurrently -k \"yarn serve:front\" \"yarn watch\"",
"front:setup": "cd FrontEndApp && yarn",
"electron:setup": "yarn",
"setup": "yarn electron:setup && yarn front:setup",
"serve:front": "cd FrontEndApp && yarn dev",
"serve:electron": "set APP_IS_NIGHTLY=yes && set APP_IS_DEV=yes && yarn build && wait-on tcp:3000 && electron .",
"build:front": "cd FrontEndApp && yarn build",
"electron:build": "yarn build",
"electron:builder": "electron-builder",
"app:build": "yarn prod:rename && yarn build:front && yarn electron:build && yarn electron:builder",
"app:build:nightly": "set APP_IS_NIGHTLY=yes && set APP_IS_DEV=no && yarn nightly:rename && yarn build:front && yarn electron:build && yarn electron:builder",
"nightly:rename": "json -I -f package.json -e \"this.name='believers-sword-nightly'\" && json -I -f package.json -e \"this.build.productName='Believers Sword Nightly'\" && json -I -f package.json -e \"this.build.appId='com.official-believers-sword-nightly.app'\"",
"prod:rename": "json -I -f package.json -e \"this.name='believers-sword'\" && json -I -f package.json -e \"this.build.productName='Believers Sword'\" && json -I -f package.json -e \"this.build.appId='com.official-believers-sword.app'\"",
"electron-rebuild": "./node_modules/.bin/electron-rebuild",
"sqlite-rebuild": "cd node_modules/better-sqlite3 && npm run build-release",
"postinstall": "electron-builder install-app-deps",
"up:win": "up_using_window.cmd"
},
"build": {
"appId": "com.official-believers-sword.app",
"productName": "Believers Sword",
"copyright": "Copyright © 2022 ${author}",
"publish": [
{
"provider": "github",
"owner": "Bible-Projects"
}
],
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": false,
"deleteAppDataOnUninstall": true
},
"files": [
"dist/**/*"
],
"extraResources": [
"defaults/**/*"
],
"directories": {
"buildResources": "assets",
"output": "dist_electron"
}
},
"dependencies": {
"dayjs": "^1.11.13",
"electron-dl": "^3.5.0",
"electron-log": "^4.4.8",
"electron-store": "^8.1.0",
"electron-updater": "^6.1.1",
"knex": "^3.1.0",
"sqlite3": "5.1.6",
"upath": "^2.0.1"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.2",
"concurrently": "^7.4.0",
"electron": "^33.2.0",
"electron-builder": "^25.1.8",
"electron-devtools-installer": "^3.2.0",
"json": "^11.0.0",
"nodemon": "^2.0.20",
"sass": "^1.81.0",
"typescript": "^5.1.6",
"vue-tsc": "^1.8.27",
"wait-on": "^6.0.1"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}