-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
62 lines (62 loc) · 1.5 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
{
"name": "self-decrypting-html-page",
"description": "Generate a standalone HTML page that decrypts data.",
"version": "2.0.1",
"main": "generate.js",
"bin": {
"self-decrypting-html-page": "./cli.js"
},
"files": [
"generate.js",
"decrypt.js",
"custom-html.js",
"lib",
"decrypt.html",
"cli.js"
],
"keywords": [
"secret",
"encrypt",
"decrypt",
"sodium",
"html",
"share",
"cli"
],
"author": "Jannis R <mail@jannisr.de>",
"homepage": "https://github.com/derhuerst/self-decrypting-html-page",
"repository": "derhuerst/self-decrypting-html-page",
"bugs": "https://github.com/derhuerst/self-decrypting-html-page/issues",
"license": "ISC",
"engines": {
"node": ">=8"
},
"dependencies": {
"mri": "^1.1.4",
"sodium-encryption": "^1.2.3"
},
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/preset-env": "^7.1.6",
"babelify": "^10.0.0",
"brfs": "^2.0.0",
"browserify": "^16.2.2",
"pkg": "^4.4.0",
"uglify-es": "^3.3.9",
"uglifyify": "^5.0.1"
},
"scripts": {
"build-client": "browserify -g [ babelify --presets [@babel/preset-env] ] -g uglifyify lib/decrypt.js | uglifyjs -mc >decrypt.js",
"build-custom-html": "brfs lib/custom-html.js >custom-html.js",
"build-generate": "brfs lib/generate.js >generate.js",
"build": "npm run build-client && npm run build-custom-html && npm run build-generate",
"prepublishOnly": "npm run build",
"build-binaries": "pkg . --out-path bin"
},
"pkg": {
"targets": [
"latest-macos-x64",
"latest-linux-x64"
]
}
}