@swan-io/srp
Version:
A modern SRP implementation for Node.js (v15+) and web browsers
64 lines (63 loc) • 1.51 kB
JSON
{
"name": "@swan-io/srp",
"version": "0.2.6",
"license": "MIT",
"description": "A modern SRP implementation for Node.js (v15+) and web browsers",
"author": "Linus Unnebäck <linus@folkdatorn.se>",
"contributors": [
"Mathieu Acthernoene <mathieu.acthenoene@swan.io>"
],
"homepage": "https://github.com/swan-io/srp#readme",
"repository": {
"type": "git",
"url": "https://github.com/swan-io/srp.git"
},
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"keywords": [
"srp",
"srp6a",
"authentication",
"remote",
"password"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"build": "yarn clean && microbundle -f cjs,esm src/index.ts",
"clean": "rm -rf dist",
"dev": "microbundle watch",
"format": "prettier '**/*' -u -w",
"test": "vitest --run",
"test:watch": "vitest --watch",
"tscheck": "tsc --noEmit",
"prepack": "yarn test && yarn build"
},
"browserslist": [
">0.2%",
"not op_mini all",
"not dead"
],
"prettier": {
"trailingComma": "all"
},
"dependencies": {
"jsbn": "^1.1.0"
},
"devDependencies": {
"@types/jsbn": "^1.2.30",
"arraybuffer-equal": "^1.0.4",
"microbundle": "^0.15.1",
"prettier": "^2.8.4",
"prettier-plugin-organize-imports": "^3.2.2",
"typescript": "^4.9.5",
"vitest": "^0.29.1"
}
}