-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
185 lines (185 loc) · 6.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
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
{
"name": "@ptkdev/svelte-electron-boilerplate",
"displayName": "Svelte Electron Boilerplate",
"description": "Create a desktop app with this user friendly Svelte boilerplate for electron",
"version": "2.0.0",
"main": "dist/electron/electron/main.js",
"publishConfig": {
"access": "public"
},
"author": "Patryk Rzucidło [@ptkdev] <[email protected]> (https://ptk.dev)",
"license": "MIT",
"license-docs": "CC BY 4.0",
"license-translations": "CC BY 4.0",
"license-images": "CC BY-NC 4.0",
"homepage": "https://github.com/ptkdev-boilerplate/svelte-electron-boilerplate",
"docs": "https://github.com/WeeeTeam/projectx-docs",
"repository": {
"type": "git",
"url": "https://github.com/ptkdev-boilerplate/svelte-electron-boilerplate.git"
},
"bugs": {
"url": "https://github.com/ptkdev-boilerplate/svelte-electron-boilerplate/issues"
},
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"setup": "ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit",
"start": "npm run git-hash && sirv dist",
"start:electron": "electron ./dist/electron/electron/main.js",
"dev": "npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/debug.ts --enable && rollup -c -w",
"dev:electron": "tsc -p ./electron/tsconfig.json && electron ./dist/electron/electron/main.js",
"build:client": "ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && ts-node scripts/debug.ts --disable && rollup -c",
"build:desktop": "tsc -p ./electron/tsconfig.json",
"release": " ts-node scripts/rmdist.ts && npm run build:client && npm run build:desktop && electron-builder --dir",
"build-mac": " ts-node scripts/rmdist.ts && npm run build:client && npm run build:desktop && electron-builder --dir --mac dmg",
"build-win": " ts-node scripts/rmdist.ts && npm run build:client && npm run build:desktop && electron-builder --dir --win portable",
"build-win-32bit": " ts-node scripts/rmdist.ts && npm run build:client && npm run build:desktop && electron-builder --dir --win portable --ia32",
"build-lnx": " ts-node scripts/rmdist.ts && npm run build:client && npm run build:desktop && electron-builder --dir --linux appImage deb rpm",
"test": "jest app",
"docs": "git submodule update --recursive && markserv ./README.md",
"lint": "npm run lint-prettify && eslint . --cache --ext .ts,.js",
"lint-fix": "npm run lint-prettify && eslint . --cache --ext .ts,.js --fix",
"lint-prettify": "prettier --write --ignore-unknown '**/*.{ts,scss,md,json}'",
"git-set-upstream": "git remote add upstream [email protected]:ptkdev-boilerplate/svelte-electron-boilerplate.git && git fetch upstream",
"git-pull-upstream": "git pull upstream main && git pull upstream beta && git pull upstream nightly",
"git-pull": "git pull --recursive",
"git-hash": "ts-node scripts/githash.ts",
"git-ignore-reset": "git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"",
"github-workflow-next-version": "ts-node scripts/version.ts",
"github-workflow-changelog": "ts-node scripts/changelog_release.ts",
"npm-publish-main": "git checkout main && npm publish",
"npm-publish-beta": "git checkout beta && npm publish --tag beta",
"npm-publish-nightly": "git checkout nightly && npm publish --tag nightly",
"contributors-generate": "all-contributors generate",
"all-shields-generate": "all-shields-generate",
"pre-commit": "npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test",
"pkg-clean": "rm -rf node_modules package-lock.json && npm install && husky install",
"pkg-update": "npm update",
"pkg-upgrade": "npx --yes npm-check-updates -u && npm install && husky install",
"prepare": "ts-patch install -s && husky install"
},
"dependencies": {
"bulma": "^0.9.3",
"bulma-extensions": "^6.2.7",
"svelte-spa-router": "^3.2.0"
},
"devDependencies": {
"@ptkdev/all-shields-cli": "^2.0.2",
"@ptkdev/logger": "^1.8.0",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-typescript": "^8.3.0",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.14",
"@types/nunjucks": "^3.2.1",
"@types/shelljs": "^0.8.11",
"@types/yargs": "^16.0.4",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"all-contributors-cli": "^6.20.0",
"electron": "^17.0.0",
"electron-builder": "^22.14.5",
"electron-debug": "^3.2.0",
"electron-devtools-installer": "^3.2.0",
"eslint": "^7.32.0",
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-jsdoc": "^37.7.0",
"eslint-plugin-svelte3": "^3.4.0",
"husky": "^7.0.4",
"jest": "^27.4.7",
"json": "^11.0.0",
"markserv": "^1.17.4",
"node-sass": "^7.0.1",
"nunjucks": "^3.2.3",
"pm2": "^5.1.2",
"postcss": "^8.4.6",
"postcss-load-config": "^3.1.1",
"prettier": "^2.5.1",
"replace-in-file": "^6.3.2",
"rollup": "^2.66.1",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-svelte": "^7.1.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-ts-paths": "^1.0.5",
"sass": "^1.49.4",
"shelljs": "^0.8.5",
"sirv-cli": "^2.0.2",
"svelte": "^3.46.3",
"svelte-check": "^2.4.1",
"svelte-preprocess": "^4.10.2",
"ts-jest": "^27.1.3",
"ts-node": "^10.4.0",
"ts-patch": "^2.0.1",
"typescript": "^4.5.5",
"typescript-transform-paths": "^3.3.1",
"yargs": "^17.3.1"
},
"build": {
"productName": "svelte-electron-boilerplate",
"appId": "io.ptkdev.svelte-electron-boilerplate",
"artifactName": "${productName}-${version}-${arch}.${ext}",
"directories": {
"output": "build",
"buildResources": "assets/"
},
"files": [
"dist"
],
"win": {
"icon": "assets/icon.png"
},
"mac": {
"icon": "assets/icon.png",
"category": "public.app-category.network"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true
},
"dmg": {
"contents": [
{
"x": 110,
"y": 150
},
{
"x": 240,
"y": 150,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"icon": "assets/icon.png",
"category": "Network",
"target": [
"deb",
"pacman",
"tar.gz",
"AppImage"
]
}
},
"keywords": [
"ptkdev",
"svelte",
"svelte-electron",
"svelte-electron-spa",
"electron",
"electron-desktop",
"svelte-desktop",
"desktop-app",
"electron-boilerplate",
"svelte-electron-boilerplate",
"boilerplate"
],
"contributors": []
}