This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathpackage.json
134 lines (134 loc) Β· 4.39 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
{
"name": "Crypter",
"productName": "Crypter",
"version": "5.0.0",
"description": "An innovative, convenient and secure cross-platform crypto app",
"license": "MIT",
"repository": "https://github.com/HR/Crypter",
"homepage": "https://github.com/HR/Crypter",
"bugs": "https://github.com/HR/Crypter/issues",
"main": "./app/index.js",
"author": {
"name": "Habib Rehman",
"email": "H@Rehman.email",
"url": "https://git.io/HR"
},
"build": {
"appId": "com.github.hr.crypter",
"asar": false,
"files": [
"**/*",
"!**/node_modules/.bin",
"!**/._*",
"!**/{.*,.git,*.yml,*.md,README,readme,test*,*.less,gulpfile.js}",
"!script${/*}",
"!test${/*}"
],
"compression": "normal",
"fileAssociations": {
"ext": "crypto",
"name": "CRYPTO",
"role": "Editor",
"description": "The Crypter encryption format. More info at git.io/Crypter.info#crypto-file"
},
"mac": {
"category": "public.app-category.utilities",
"publish": "github",
"identity": null
},
"dmg": {
"background": "build/background.tif",
"icon": "vicon.icns",
"iconSize": 116,
"iconTextSize": 13,
"contents": [
{
"x": 240,
"y": 135
},
{
"x": 240,
"y": 400,
"type": "link",
"path": "/Applications"
}
],
"window": {
"width": "480",
"height": "540"
}
},
"linux": {
"category": "Utility",
"publish": "github"
},
"win": {
"icon": "icon.ico",
"target": "nsis",
"publish": "github"
},
"nsis": {
"oneClick": true,
"perMachine": true
},
"snap": {
"publish": "github"
}
},
"scripts": {
"pack": "electron-builder --dir",
"build:mac": "electron-builder -m -c.electronVersion $(npm info electron version)",
"build:lin": "electron-builder -l --x64 --ia32 -c.electronVersion $(npm info electron version)",
"build:win": "electron-builder -w --x64 --ia32",
"start": "electron .",
"postinstall": "electron-builder install-app-deps",
"nodeGypReBuild": "electron-rebuild .",
"electronV": "electron -v | sed s/\\v//g",
"test": "TEST_RUN=true mocha --require @babel/register test/test.js",
"coverage": "TEST_RUN=true nyc --reporter=lcov mocha -- test/test.js",
"coveralls": "coveralls < coverage/lcov.info",
"codeclimate": "node codeclimate-test-reporter < coverage/lcov.info",
"package": "electron-packager . $npm_package_productName --out=dest --ignore='(test|dest|coverage)' --prune --asar --all --version=$(npm run electronVersion)",
"winpackage": "chmod +x script/win-build.sh && script/win-build.sh",
"xtest": "npm run xtestbuild && npm run xltest",
"xpackage": "electron-packager . $npm_package_productName --out=dest --ignore='(test|dest|coverage|github)' --asar=false --platform=darwin --arch=x64 --version=$(npm run electronVersion) --icon=app/icons/Crypter.icns --app-copyright=Habib_Rehman --overwrite",
"xltest": "unset TEST_RUN && rm -rf ~/Library/Application\\ Support/CrypterTest/ && mocha --require @babel/register ./test/ui/*.js",
"xtestbuild": "npm_package_productName=CrypterTest && electron-packager . $npm_package_productName --out=dest --ignore='(test|dest|coverage|backups|github)' --asar=false --platform=darwin --arch=x64 --version=$(npm run electronVersion) --icon=app/icons/Crypter.icns --app-copyright=HR --overwrite && npm run productNameChange"
},
"keywords": [
"encryption",
"decryption",
"crypto",
"end-to-end",
"client",
"electron"
],
"devDependencies": {
"@babel/core": "^7.11.0",
"@babel/preset-env": "^7.11.0",
"@babel/register": "^7.10.5",
"babel-cli": "6.26.0",
"chai": "4.2.0",
"chai-as-promised": "7.1.1",
"codeclimate-test-reporter": "0.5.1",
"coveralls": "3.1.0",
"electron": "9.1.2",
"electron-builder": "^22.8.0",
"electron-packager": "15.0.0",
"electron-rebuild": "1.11.0",
"gulp": "4.0.2",
"gulp-babel": "8.0.0",
"gulp-babel-istanbul": "1.6.0",
"gulp-env": "0.4.0",
"gulp-inject-modules": "1.0.0",
"gulp-json-editor": "2.5.4",
"gulp-less": "4.0.1",
"gulp-mocha": "7.0.2",
"isparta": "4.1.1",
"less-plugin-clean-css": "1.5.1",
"mocha": "8.1.0",
"mocha-lcov-reporter": "1.3.0",
"nyc": "^15.1.0",
"spectron": "11.1.0"
}
}