-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.98 KB
/
package.json
File metadata and controls
48 lines (48 loc) · 1.98 KB
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
{
"name": "e2ee.js",
"version": "1.1.8",
"description": "An extensively featured, configurable, fast, easy-to-use, zero-dependency, well-tested, WebCrypto based end-to-end encryption library for JS/TS. Works anywhere - Deno, Node, Cloudflare Workers and every modern browser.",
"files": [
"dist"
],
"main": "dist/e2ee.cjs.js",
"module": "dist/e2ee.esm.js",
"unpkg": "dist/e2ee.min.js",
"types": "dist/e2ee.d.ts",
"scripts": {
"build": "npm run build:cjs && npm run build:esm && npm run build:browser && npm run build:types",
"test": "npm run test:node && npm run test:deno",
"test:node": "cat dist/e2ee.cjs.js test.js | node ",
"test:deno": "cat dist/e2ee.esm.js test.js | deno run --allow-net -",
"test:browser:gen": "head -n -3 dist/e2ee.esm.js | cat - test.js",
"build:cjs": "npx esbuild e2ee.ts --bundle --outfile=dist/e2ee.cjs.js --format=cjs --platform=node",
"build:esm": "npx esbuild e2ee.ts --bundle --outfile=dist/e2ee.esm.js --format=esm --platform=node",
"build:browser": "npx esbuild e2ee.ts --bundle --minify --outfile=dist/e2ee.min.js --format=esm --platform=browser",
"build:types": "npx -p typescript tsc --declaration --emitDeclarationOnly --declarationMap --outDir dist --target es6 e2ee.ts",
"dry-run": "npm run build && npm test && npm publish --dry-run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/porridgewithraisins/e2ee.js.git"
},
"keywords": [
"end-to-end",
"encryption",
"e2ee",
"aes",
"ecdh",
"diffie",
"hellman",
"typescript",
"webcrypto",
"streaming",
"persistence",
"multi-device"
],
"author": "Santhanam <me@santhanam.dev>",
"license": "MIT",
"bugs": {
"url": "https://github.com/porridgewithraisins/e2ee.js/issues"
},
"homepage": "https://github.com/porridgewithraisins/e2ee.js#readme"
}