Skip to main content
Module

x/openpgp/package.json

OpenPGP implementation for JavaScript
Latest
File
{ "name": "openpgp", "description": "OpenPGP.js is a Javascript implementation of the OpenPGP protocol. This is defined in RFC 4880.", "version": "6.0.0-beta.0", "license": "LGPL-3.0+", "homepage": "https://openpgpjs.org/", "engines": { "node": ">= 16.5.0" }, "keywords": [ "crypto", "pgp", "gpg", "openpgp" ], "main": "dist/node/openpgp.min.cjs", "module": "dist/node/openpgp.min.mjs", "browser": { "./dist/node/openpgp.min.cjs": "./dist/openpgp.min.js", "./dist/node/openpgp.min.mjs": "./dist/openpgp.min.mjs" }, "exports": { ".": { "types": "./openpgp.d.ts", "import": "./dist/node/openpgp.mjs", "require": "./dist/node/openpgp.min.cjs", "browser": "./dist/openpgp.min.mjs" }, "./lightweight": { "types": "./openpgp.d.ts", "browser": "./dist/lightweight/openpgp.min.mjs" } }, "types": "openpgp.d.ts", "type": "module", "directories": { "lib": "src" }, "files": [ "dist/", "lightweight/", "openpgp.d.ts" ], "scripts": { "build": "rollup --config", "build-test": "npm run build --build-only=test", "prepare": "npm run build", "test": "mocha --timeout 120000 test/unittests.js", "test-type-definitions": "tsx test/typescript/definitions.ts", "benchmark-time": "node test/benchmarks/time.js", "benchmark-memory-usage": "node test/benchmarks/memory_usage.js", "start": "http-server", "prebrowsertest": "npm run build-test", "browsertest": "npm start -- -o test/unittests.html", "test-browser": "karma start test/karma.conf.cjs", "test-browserstack": "karma start test/karma.conf.cjs --browsers bs_safari_latest,bs_ios_14,bs_safari_13_1", "coverage": "c8 npm test", "lint": "eslint .", "docs": "jsdoc --configure .jsdocrc.cjs --destination docs --recurse README.md src && printf '%s' 'docs.openpgpjs.org' > docs/CNAME", "preversion": "rm -rf dist docs node_modules && npm ci && npm test", "version": "npm run docs && git add -A docs", "postversion": "git push && git push --tags && npm publish" }, "devDependencies": { "@openpgp/asmcrypto.js": "^3.1.0", "@openpgp/jsdoc": "^3.6.11", "@openpgp/noble-curves": "^1.3.0", "@openpgp/noble-hashes": "^1.3.3", "@openpgp/seek-bzip": "^1.0.5-git", "@openpgp/tweetnacl": "^1.0.4-1", "@openpgp/web-stream-tools": "~0.1.1", "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-replace": "^5.0.5", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-wasm": "^6.2.2", "@types/chai": "^4.3.14", "argon2id": "^1.0.1", "benchmark": "^2.1.4", "c8": "^8.0.1", "chai": "^4.4.1", "chai-as-promised": "^7.1.1", "eckey-utils": "^0.7.14", "eslint": "^8.57.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-base": "^15.0.0", "eslint-plugin-chai-friendly": "^0.7.4", "eslint-plugin-import": "^2.29.1", "eslint-plugin-unicorn": "^48.0.1", "fflate": "^0.7.4", "http-server": "^14.1.1", "karma": "^6.4.3", "karma-browserstack-launcher": "^1.6.0", "karma-chrome-launcher": "^3.2.0", "karma-firefox-launcher": "^2.1.3", "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-webkit-launcher": "^2.4.0", "mocha": "^10.4.0", "playwright": "^1.43.0", "rollup": "^4.14.1", "sinon": "^17.0.1", "ts-node": "^10.9.2", "tsx": "^4.7.2", "typescript": "^5.4.4", "web-streams-polyfill": "^3.3.3" }, "repository": { "type": "git", "url": "https://github.com/openpgpjs/openpgpjs" }}