bigint-crypto-utils/package.json

85 lines
2.2 KiB
JSON

{
"name": "bigint-crypto-utils",
"version": "3.0.9",
"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 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": "^16.0.0",
"@rollup/plugin-multi-entry": "^4.0.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@rollup/plugin-replace": "^2.3.4",
"chai": "^4.2.0",
"jsdoc-to-markdown": "^6.0.1",
"mocha": "^8.2.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"rollup": "^2.33.1",
"rollup-plugin-terser": "^7.0.2",
"standard": "^16.0.2",
"typescript": "^3.9.7"
},
"dependencies": {
"@types/node": ">=10.4"
}
}