78 lines
2.0 KiB
JSON
78 lines
2.0 KiB
JSON
{
|
|
"name": "bigint-crypto-utils",
|
|
"version": "2.5.5",
|
|
"description": "Utils for working with cryptography using native JS implementation of BigInt. It includes arbitrary precision modular arithmetic, cryptographically secure random numbers and strong probable prime generation/testing.",
|
|
"keywords": [
|
|
"modular arithmetics",
|
|
"crypto",
|
|
"prime",
|
|
"random",
|
|
"rng",
|
|
"prng",
|
|
"primality test",
|
|
"BigInt"
|
|
],
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "Juan Hernández Serrano",
|
|
"email": "jserrano@entel.upc.edu",
|
|
"url": "https://github.com/juanelas"
|
|
},
|
|
"repository": "github:juanelas/bigint-crypto-utils",
|
|
"main": "./lib/index.node.js",
|
|
"browser": "./lib/index.browser.mod.js",
|
|
"types": "./types/index.d.ts",
|
|
"directories": {
|
|
"build": "./build",
|
|
"lib": "./lib",
|
|
"src": "./src",
|
|
"test": "./test",
|
|
"types": "./types"
|
|
},
|
|
"scripts": {
|
|
"test": "mocha",
|
|
"build:js": "rollup -c build/rollup.config.js",
|
|
"build:standard": "standard --fix",
|
|
"build:browserTests": "rollup -c build/rollup.tests.config.js",
|
|
"build:docs": "node build/build.docs.js",
|
|
"build:dts": "node build/build.dts.js",
|
|
"build": "run-s build:**",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"standard": {
|
|
"env": [
|
|
"mocha"
|
|
],
|
|
"globals": [
|
|
"BigInt",
|
|
"Blob",
|
|
"postMessage",
|
|
"self",
|
|
"Worker"
|
|
],
|
|
"ignore": [
|
|
"/test/browser/",
|
|
"/lib/index.browser.bundle.js",
|
|
"/lib/index.browser.bundle.min.mod.js"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^11.0.2",
|
|
"@rollup/plugin-multi-entry": "^3.0.0",
|
|
"@rollup/plugin-node-resolve": "^7.1.1",
|
|
"@rollup/plugin-replace": "^2.3.1",
|
|
"chai": "^4.2.0",
|
|
"jsdoc-to-markdown": "^5.0.3",
|
|
"mocha": "^7.1.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"rollup": "^2.3.3",
|
|
"rollup-plugin-terser": "^5.3.0",
|
|
"standard": "^14.3.3",
|
|
"typescript": "^3.8.3"
|
|
},
|
|
"dependencies": {
|
|
"@types/node": "^13.11.0",
|
|
"bigint-mod-arith": "^2.0.4"
|
|
}
|
|
}
|