UNPKG

@justinwwolcott/ez-web-crypto

Version:

class for working with webcrypto in browser and node

88 lines (87 loc) 2.37 kB
{ "name": "@justinwwolcott/ez-web-crypto", "version": "4.2.0", "description": "class for working with webcrypto in browser and node", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "type": "module", "sideEffects": false, "scripts": { "clean": "rm -rf dist", "build": "npm run clean && tsup src/index.ts --format esm,cjs --dts --minify", "build:old": "npm run clean && npm run build:esm && npm run build:cjs", "build:esm": "tsc -p tsconfig.esm.json", "build:cjs": "tsc -p tsconfig.cjs.json", "test": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js", "prepublishOnly": "npm run build", "lint": "eslint . --ext .ts", "typecheck": "tsc --noEmit", "lint:fix": "npx eslint --fix .", "prettier:check": "npx prettier --check .", "prettier:fix": "npx prettier --write .", "release": "np" }, "repository": { "type": "git", "url": "git+https://github.com/JWally/ez-web-crypto.git" }, "author": "Justin W. Wolcott", "license": "ISC", "bugs": { "url": "https://github.com/JWally/ez-web-crypto/issues" }, "homepage": "https://github.com/JWally/ez-web-crypto#readme", "directories": { "test": "tests" }, "files": [ "dist", "LICENSE", "README.md" ], "keywords": [ "web", "crypto", "subtle", "crypto", "encryption", "ecdh", "ecdsa" ], "devDependencies": { "@babel/preset-env": "^7.26.0", "@babel/preset-typescript": "^7.26.0", "@types/jest": "^29.5.14", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "babel-jest": "^29.7.0", "eslint": "^8.57.1", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jest": "^28.9.0", "eslint-plugin-prettier": "^5.2.1", "jest": "^29.7.0", "jest-junit": "^16.0.0", "np": "^10.0.7", "prettier": "^3.3.3", "ts-jest": "^29.2.5", "tsup": "^8.3.5", "typescript": "^5.6.3" }, "engines": { "node": ">=20.0.0" }, "dependencies": { "@jest/globals": "^29.7.0" } }