85 lines
2.2 KiB
JSON
85 lines
2.2 KiB
JSON
{
|
|
"name": "bigint-crypto-utils",
|
|
"version": "3.0.8",
|
|
"description": "Arbitrary precision modular arithmetic, cryptographically secure random numbers and strong probable prime generation/testing. It works in modern browsers, Angular, React, Node.js, etc. since it uses the native JS implementation of BigInt",
|
|
"keywords": [
|
|
"modular arithmetics",
|
|
"crypto",
|
|
"prime",
|
|
"random",
|
|
"rng",
|
|
"prng",
|
|
"primality test",
|
|
"BigInt",
|
|
"angular",
|
|
"react"
|
|
],
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "Juan Hernández Serrano",
|
|
"email": "j.hernandez@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"
|
|
},
|
|
"engines": {
|
|
"node": ">=10.4.0"
|
|
},
|
|
"scripts": {
|
|
"test": "nyc --check-coverage mocha",
|
|
"coverage": "nyc report --reporter=lcov",
|
|
"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:**",
|
|
"preversion": "npm run build && npm run test",
|
|
"postversion": "git push"
|
|
},
|
|
"standard": {
|
|
"env": [
|
|
"mocha"
|
|
],
|
|
"globals": [
|
|
"BigInt",
|
|
"Blob",
|
|
"postMessage",
|
|
"self",
|
|
"Worker"
|
|
],
|
|
"ignore": [
|
|
"/test/browser/",
|
|
"/lib/index.browser.bundle.iife.js",
|
|
"/lib/index.browser.bundle.mod.js"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^11.1.0",
|
|
"@rollup/plugin-multi-entry": "^3.0.1",
|
|
"@rollup/plugin-node-resolve": "^7.1.3",
|
|
"@rollup/plugin-replace": "^2.3.3",
|
|
"chai": "^4.2.0",
|
|
"jsdoc-to-markdown": "^5.0.3",
|
|
"mocha": "^7.2.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"nyc": "^15.1.0",
|
|
"rollup": "^2.28.1",
|
|
"rollup-plugin-terser": "^5.3.1",
|
|
"standard": "^14.3.4",
|
|
"typescript": "^3.9.7"
|
|
},
|
|
"dependencies": {
|
|
"@types/node": "^14.11.2"
|
|
}
|
|
}
|