UNPKG

webcrypto-liner

Version:

A WebCrypto polyfill that "smooths out" the rough-edges in existing User Agent implementations.

112 lines (111 loc) 2.9 kB
{ "name": "webcrypto-liner", "version": "1.4.3", "description": "A WebCrypto polyfill that \"smooths out\" the rough-edges in existing User Agent implementations.", "main": "build/index.js", "module": "build/index.es.js", "browser": "build/webcrypto-liner.shim.mjs", "browser:min": "build/webcrypto-liner.shim.min.mjs", "browser:es5": "build/webcrypto-liner.shim.js", "browser:es5:min": "build/webcrypto-liner.shim.min.js", "types": "index.d.ts", "files": [ "build", "scripts", "LICENSE", "README.md", "index.d.ts" ], "scripts": { "test": "mocha", "lint": "eslint . --ext .ts", "lint:fix": "eslint --fix . --ext .ts", "build": "rollup -c", "clear": "rimraf build/*", "rebuild": "npm run clear && npm run build", "prepub": "npm run lint && npm run build", "pub": "npm version patch && npm publish", "postpub": "git push && git push --tags origin master", "prepub:next": "npm run lint && npm run build", "pub:next": "npm version prerelease --preid=next && npm publish --tag next", "postpub:next": "git push", "coverage": "nyc npm test", "coveralls": "nyc report --reporter=text-lcov | coveralls" }, "repository": { "type": "git", "url": "git+https://github.com/PeculiarVentures/webcrypto-liner" }, "dependencies": { "@peculiar/asn1-schema": "^2.3.8", "@peculiar/json-schema": "^1.1.12", "@stablelib/sha3": "^1.0.1", "asmcrypto.js": "^2.3.2", "asn1js": "^3.0.5", "core-js": "^3.35.1", "des.js": "^1.1.0", "elliptic": "https://github.com/mahrud/elliptic", "pvtsutils": "^1.3.5", "tslib": "^2.6.2", "webcrypto-core": "^1.7.8" }, "devDependencies": { "@babel/core": "^7.23.7", "@babel/preset-env": "^7.23.8", "@peculiar/webcrypto": "^1.4.5", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@types/mocha": "^10.0.6", "@types/node": "^20.11.5", "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": "^6.19.1", "eslint": "^8.56.0", "babel-preset-minify": "^0.5.2", "mocha": "^10.2.0", "rimraf": "^5.0.5", "rollup": "^4.9.6", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.36.0", "ts-node": "^10.9.2", "typescript": "^5.3.3" }, "keywords": [ "crypto", "webcrypto", "rsa", "aes", "des", "ec", "secp256k1", "sha" ], "author": "PeculiarVentures", "license": "MIT", "nyc": { "extension": [ ".ts", ".tsx" ], "include": [ "src/**/*.ts" ], "exclude": [ "**/*.d.ts" ], "reporter": [ "text-summary", "html", "lcov" ] }, "mocha": { "require": "ts-node/register", "extension": [ "ts" ], "spec": [ "test/**/*.ts" ] } }