forked from HR/Crypter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 4.88 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
{
"name": "Crypter",
"productName": "Crypter",
"version": "2.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": "[email protected]",
"url": "https://git.io/HR"
},
"engines": {
"node": ">=4"
},
"build": {
"appId": "com.github.hr.crypter",
"asar": false,
"files": [
"**/*",
"!**/node_modules/*/{README.md,README,readme.md,readme,test}",
"!**/node_modules/.bin",
"!**/._*",
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db,.gitignore,.gitattributes,.editorconfig,.idea,appveyor.yml,.travis.yml,circle.yml,*.yml}",
"!script/*.sh",
"!script/debug",
"!static/styles/*.less",
"!test${/*}"
],
"compression": "normal",
"fileAssociations": {
"ext": "crypto",
"name": "CRYPTO"
},
"mac": {
"category": "public.app-category.utilities",
"publish": "github"
},
"dmg": {
"background": "build/background.tif",
"icon": "build/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": {
"iconUrl": "https://dl.dropboxusercontent.com/s/oh66258p4pgwwpq/Crypter.ico",
"target": [ "nsis" ],
"publish": "github"
},
"nsis": {
}
},
"scripts": {
"pack": "build --dir",
"dist": "build -m",
"windist": "node_modules/.bin/build -w --x64 --ia32",
"electronVersion": "node_modules/.bin/electron -v | sed s/\\v//g",
"postinstall": "install-app-deps",
"nodeGypReBuild": "./node_modules/.bin/electron-rebuild .",
"test": "TEST_RUN=true mocha --compilers js:babel-core/register test/test.js",
"xltest": "unset TEST_RUN && rm -rf ~/Library/Application\\ Support/CrypterTest/ && mocha --compilers js:babel-core/register ./test/ui/*.js",
"xtest": "npm run xtestbuild && npm run xltest",
"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",
"xbuild": "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",
"coverage": "TEST_RUN=true ./node_modules/.bin/babel-node ./node_modules/.bin/isparta cover --root src/ ./node_modules/.bin/_mocha -- test/test.js --reporter mocha-lcov-reporter",
"coveralls": "node ./node_modules/.bin/coveralls < coverage/lcov.info",
"codeclimate": "node ./node_modules/.bin/codeclimate-test-reporter < coverage/lcov.info",
"productNameChange": "perl -pi -e 's/\"Crypter\"/\"CrypterTest\"/g' ./dest/CrypterTest-darwin-x64/CrypterTest.app/Contents/Resources/app/package.json && perl -pi -e 's/Crypter/CrypterTest/g' ./dest/CrypterTest-darwin-x64/CrypterTest.app/Contents/Resources/app/index.js",
"start": "./node_modules/.bin/electron .",
"wbuild": "chmod +x script/win-build.sh && script/win-build.sh",
"build": "electron-packager . $npm_package_productName --out=dest --ignore='(test|dest|coverage)' --prune --asar --all --version=$(npm run electronVersion)"
},
"keywords": [
"encryption",
"decryption",
"crypto",
"end-to-end",
"client",
"electron"
],
"devDependencies": {
"babel-cli": "^6.11.4",
"babel-core": "^6.17.0",
"babel-eslint": "*",
"babel-preset-es2015": "*",
"chai": "*",
"chai-as-promised": "^5.3.0",
"codeclimate-test-reporter": "^0.3.3",
"coveralls": "^2.11.12",
"devtron": "^1.3.0",
"electron-builder": "^7.15.2",
"electron-packager": "*",
"electron-prebuilt": "1.1.3",
"electron-rebuild": "^1.1.5",
"eslint": "^2.0.0-rc.0",
"eslint-plugin-html": "*",
"gulp": "*",
"gulp-babel": "^6.1.2",
"gulp-babel-istanbul": "^1.4.0",
"gulp-env": "^0.4.0",
"gulp-inject-modules": "^1.0.0",
"gulp-json-editor": "^2.2.1",
"gulp-less": "^3.1.0",
"gulp-mocha": "^3.0.0",
"gulp-shell": "*",
"isparta": "^4.0.0",
"less-plugin-clean-css": "^1.5.1",
"mocha": "^3.1.2",
"mocha-lcov-reporter": "^1.2.0",
"spectron": "^3.3.0",
"standard": "^7.1.2"
}
}