-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
181 lines (181 loc) · 5.67 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
{
"name": "@henryjw/port-scanner",
"displayName": "Port Scanner",
"description": "Desktop app to scan for open TCP ports on your computer",
"version": "1.3.1",
"main": "dist/electron/electron/main.js",
"publishConfig": {
"access": "public"
},
"author": "Henry W. [@henryjw]",
"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/henryjw/port-scanner-app",
"docs": "https://github.com/WeeeTeam/projectx-docs",
"repository": {
"type": "git",
"url": "https://github.com/henryjw/port-scanner-app.git"
},
"bugs": {
"url": "https://github.com/henryjw/port-scanner-app/issues"
},
"engines": {
"node": "14.x.x"
},
"scripts": {
"init": "npm install && husky install",
"setup": "ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit",
"start": "sirv dist",
"start:electron": "electron ./dist/electron/electron/main.js",
"dev": "ts-node scripts/configs.ts && ts-node scripts/debug.ts --enable && ts-node scripts/rmdist.ts && 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/debug.ts --disable && ts-node scripts/rmdist.ts && rollup -c",
"build:desktop": "tsc -p ./electron/tsconfig.json",
"build": "npm run build:client && npm run build:desktop && electron-builder",
"build:project": "npm run build:client && npm run build:desktop",
"build-mac-x64": "npm run build:project && electron-builder --dir --mac dmg --x64",
"build-mac-arm64": "npm run build:project && electron-builder --dir --mac dmg --arm64",
"build-win": "electron-builder --dir --win nsis zip",
"build-win-32bit": "npm run build:project && electron-builder --dir --win portable --ia32",
"build-lnx": "npm run build:project && electron-builder --dir --linux appImage deb rpm",
"release": "npm run build:project",
"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 **/*.{ts,scss,md,json}",
"git-pull": "git pull --recursive",
"git-ignore-reset": "git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"",
"npm-publish-main": "git checkout main && npm publish",
"pre-commit": "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 npm-check-updates -u && npm install && husky install"
},
"dependencies": {
"@popperjs/core": "^2.9.2",
"bootstrap": "^5.0.1",
"bulma": "^0.9.2",
"bulma-extensions": "^6.2.7",
"electron-store": "^8.0.1",
"sirv-cli": "^1.0.11",
"svelte-spa-router": "^3.1.0"
},
"devDependencies": {
"@ptkdev/all-shields-cli": "^1.3.0",
"@ptkdev/logger": "^1.7.2",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-typescript": "^8.2.1",
"@tsconfig/svelte": "^1.0.10",
"@types/bootstrap": "^5.0.16",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.37",
"@types/shelljs": "^0.8.8",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"all-contributors-cli": "^6.20.0",
"chokidar": "^3.5.1",
"dotenv": "^10.0.0",
"electron": "^12.2.2",
"electron-builder": "^23.6.0",
"electron-debug": "^3.2.0",
"electron-devtools-installer": "^3.1.1",
"electron-notarize": "^1.1.1",
"electron-rebuild": "^3.2.3",
"eslint": "^7.24.0",
"eslint-plugin-jest": "^24.3.5",
"eslint-plugin-jsdoc": "^32.3.0",
"eslint-plugin-svelte3": "^3.1.2",
"husky": "^6.0.0",
"jest": "^27.3.1",
"json": "^10.0.0",
"markserv": "^1.17.4",
"node-sass": "^6.0.1",
"nunjucks": "^3.2.3",
"pm2": "^5.1.2",
"postcss": "^8.2.10",
"postcss-load-config": "^3.0.1",
"prettier": "^2.2.1",
"replace-in-file": "^6.2.0",
"rollup": "^2.45.1",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-svelte": "^7.1.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-ts-paths": "^1.0.5",
"rollup-plugin-typescript2": "^0.30.0",
"sass": "^1.32.8",
"shelljs": "^0.8.4",
"svelte": "^3.37.0",
"svelte-check": "^1.4.0",
"svelte-preprocess": "^4.7.0",
"ts-jest": "^26.5.4",
"ts-node": "^9.1.1",
"tslib": "^2.2.0",
"ttypescript": "^1.5.12",
"typescript": "^4.2.4",
"typescript-transform-paths": "^2.2.3",
"yargs": "^16.2.0"
},
"build": {
"productName": "Port Scanner",
"artifactName": "${productName}-${arch}.${ext}",
"directories": {
"output": "build",
"buildResources": "assets/resources"
},
"files": [
"dist"
],
"afterSign": "./scripts/afterSignHook.js",
"mac": {
"category": "public.app-category.developer-tools",
"entitlementsInherit": "./mac-configs/entitlements.mac.inherit.plist",
"hardenedRuntime": true
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true
},
"dmg": {
"contents": [
{
"x": 110,
"y": 150
},
{
"x": 240,
"y": 150,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"category": "Network",
"target": [
"deb",
"pacman",
"tar.gz",
"AppImage"
]
}
},
"keywords": [
"ptkdev",
"svelte",
"svelte-electron-spa",
"electron",
"electron-boilerplate",
"port-scanner",
"boilerplate"
],
"contributors": []
}