1 | {
|
2 | "name": "openpgp",
|
3 | "description": "OpenPGP.js is a Javascript implementation of the OpenPGP protocol. This is defined in RFC 4880.",
|
4 | "version": "5.0.0-1",
|
5 | "license": "LGPL-3.0+",
|
6 | "homepage": "https://openpgpjs.org/",
|
7 | "engines": {
|
8 | "node": ">= 8.0.0"
|
9 | },
|
10 | "keywords": [
|
11 | "crypto",
|
12 | "pgp",
|
13 | "gpg",
|
14 | "openpgp"
|
15 | ],
|
16 | "main": "dist/node/openpgp.min.js",
|
17 | "module": "dist/node/openpgp.min.mjs",
|
18 | "browser": {
|
19 | "./dist/node/openpgp.min.js": "./dist/openpgp.min.js",
|
20 | "./dist/node/openpgp.min.mjs": "./dist/openpgp.min.mjs"
|
21 | },
|
22 | "types": "openpgp.d.ts",
|
23 | "directories": {
|
24 | "lib": "src"
|
25 | },
|
26 | "files": [
|
27 | "dist/",
|
28 | "lightweight/",
|
29 | "openpgp.d.ts"
|
30 | ],
|
31 | "esm": {
|
32 | "cjs": {
|
33 | "dedefault": true
|
34 | }
|
35 | },
|
36 | "scripts": {
|
37 | "build": "rollup --config",
|
38 | "build-test": "npm run build --build-only=test",
|
39 | "prepare": "npm run build",
|
40 | "test": "mocha --require esm --timeout 120000 test/unittests.js",
|
41 | "test-type-definitions": "tsc test/typescript/definitions.ts && node test/typescript/definitions.js",
|
42 | "start": "http-server",
|
43 | "prebrowsertest": "npm run build-test",
|
44 | "browsertest": "npm start -- -o test/unittests.html",
|
45 | "browserstack": "karma start test/karma.conf.js",
|
46 | "coverage": "nyc npm test",
|
47 | "lint": "eslint .",
|
48 | "docs": "jsdoc --configure .jsdocrc.js --destination docs --recurse README.md src",
|
49 | "preversion": "rm -rf dist docs node_modules && npm install && npm test",
|
50 | "version": "npm run docs && git add -A docs",
|
51 | "postversion": "git push && git push --tags && npm publish"
|
52 | },
|
53 | "devDependencies": {
|
54 | "@mattiasbuelens/web-streams-adapter": "0.1.0-alpha.5",
|
55 | "@openpgp/asmcrypto.js": "^2.3.2",
|
56 | "@openpgp/elliptic": "^6.5.1",
|
57 | "@openpgp/jsdoc": "^3.6.4",
|
58 | "@openpgp/pako": "^1.0.11",
|
59 | "@openpgp/seek-bzip": "^1.0.5-git",
|
60 | "@openpgp/tweetnacl": "^1.0.3",
|
61 | "@openpgp/web-stream-tools": "0.0.1",
|
62 | "@rollup/plugin-commonjs": "^11.1.0",
|
63 | "@rollup/plugin-node-resolve": "^7.1.3",
|
64 | "@rollup/plugin-replace": "^2.3.2",
|
65 | "@types/chai": "^4.2.14",
|
66 | "babel-eslint": "^10.1.0",
|
67 | "bn.js": "^4.11.8",
|
68 | "chai": "^4.1.2",
|
69 | "chai-as-promised": "^7.1.1",
|
70 | "email-addresses": "3.1.0",
|
71 | "eslint": "^4.17.0",
|
72 | "eslint-config-airbnb": "^16.1.0",
|
73 | "eslint-config-airbnb-base": "^12.1.0",
|
74 | "eslint-plugin-chai-friendly": "^0.5.0",
|
75 | "eslint-plugin-import": "^2.8.0",
|
76 | "esm": "^3.2.25",
|
77 | "hash.js": "^1.1.3",
|
78 | "http-server": "^0.12.3",
|
79 | "karma": "^6.1.0",
|
80 | "karma-browserstack-launcher": "^1.6.0",
|
81 | "karma-mocha": "^2.0.1",
|
82 | "karma-mocha-reporter": "^2.2.5",
|
83 | "mocha": "^5.0.0",
|
84 | "nyc": "^14.1.1",
|
85 | "rollup": "^2.38.5",
|
86 | "rollup-plugin-terser": "^5.3.0",
|
87 | "sinon": "^4.3.0",
|
88 | "typescript": "^4.1.2"
|
89 | },
|
90 | "dependencies": {
|
91 | "asn1.js": "^5.0.0"
|
92 | },
|
93 | "repository": {
|
94 | "type": "git",
|
95 | "url": "https://github.com/openpgpjs/openpgpjs"
|
96 | }
|
97 | }
|