-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
85 lines (85 loc) · 2.46 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
{
"name": "filedrop",
"version": "1.0.6",
"description": "An encrypted file sharing application that leverages web sockets to allow users to send and receive files.",
"main": "src/server.js",
"scripts": {
"test": "jest tests/server.test.js --verbose && jest tests/client.test.js --verbose",
"test-async": "jest --detectOpenHandles --verbose",
"test-coverage": "jest --coverage --verbose",
"test-client": "jest tests/client.test.js --verbose",
"test-server": "jest tests/server.test.js --verbose",
"start": "node src/server.js",
"dev": "nodemon src/server.js",
"dist": "touch src/portable && sudo electron-builder -mwl && rm src/portable && npm run dist-manual",
"dist-macos": "touch src/portable && sudo electron-builder -m --x64 --arm64 && rm src/portable",
"dist-windows": "copy NUL > src\\portable && electron-builder -w && del src\\portable",
"dist-linux": "touch src/portable && sudo electron-builder -l && rm src/portable",
"dist-manual": "zip -9 -r ManualServer.zip src package.json package-lock.json README.md LICENSE.md jsconfig.json Dockerfile docker-compose.yml",
"electron-start": "electron src/server.js portable",
"electron-dev": "nodemon --exec electron src/server.js portable"
},
"build": {
"appId": "com.xtrendence.filedrop",
"productName": "FileDrop",
"files": [
"src/",
"node_modules/",
"package.json"
],
"asar": false,
"mac": {
"target": [
"dmg"
],
"artifactName": "FileDrop.${version}.Mac.${arch}.${ext}"
},
"win": {
"target": [
"nsis"
],
"artifactName": "FileDrop.${version}.Windows.${ext}",
"icon": "build/icon.ico"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"artifactName": "FileDrop.${version}.Linux.${ext}"
}
},
"jest": {
"testMatch": [
"**/tests/*.test.js"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/Xtrendence/FileDrop.git"
},
"author": "Xtrendence <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/Xtrendence/FileDrop/issues"
},
"homepage": "https://github.com/Xtrendence/FileDrop#readme",
"dependencies": {
"@types/jest": "^27.0.3",
"cors": "^2.8.5",
"ejs": "^3.1.6",
"electron-localshortcut": "^3.2.1",
"express": "^4.17.1",
"nodemon": "^2.0.15",
"pouchdb": "^7.2.2",
"socket.io": "^4.4.0",
"supertest": "^6.1.6"
},
"devDependencies": {
"electron": "^16.0.2",
"electron-builder": "^22.14.5",
"jest": "^27.3.1",
"puppeteer": "^12.0.0",
"socket.io-client": "^4.4.0"
}
}