bigint-crypto-utils/package.json

85 lines
2.2 KiB
JSON
Raw Normal View History

2019-04-19 07:42:28 +00:00
{
2019-04-19 10:04:06 +00:00
"name": "bigint-crypto-utils",
2020-04-30 23:31:55 +00:00
"version": "3.0.5",
2020-04-20 22:53:58 +00:00
"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",
2019-04-19 07:42:28 +00:00
"keywords": [
"modular arithmetics",
2019-04-19 10:04:06 +00:00
"crypto",
2019-04-19 07:42:28 +00:00
"prime",
2019-04-19 10:04:06 +00:00
"random",
2019-04-19 07:42:28 +00:00
"rng",
"prng",
"primality test",
"BigInt",
"angular",
"react"
2019-04-19 07:42:28 +00:00
],
"license": "MIT",
"author": {
"name": "Juan Hernández Serrano",
"email": "j.hernandez@upc.edu",
2019-04-19 07:42:28 +00:00
"url": "https://github.com/juanelas"
},
2019-04-19 10:04:06 +00:00
"repository": "github:juanelas/bigint-crypto-utils",
"main": "./lib/index.node.js",
"browser": "./lib/index.browser.mod.js",
"types": "./types/index.d.ts",
2019-04-19 07:42:28 +00:00
"directories": {
"build": "./build",
"lib": "./lib",
2019-04-19 07:42:28 +00:00
"src": "./src",
"test": "./test",
"types": "./types"
2019-04-19 07:42:28 +00:00
},
"engines": {
"node": ">=10.4.0"
},
2019-04-19 07:42:28 +00:00
"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"
2019-04-19 07:42:28 +00:00
},
"standard": {
"env": [
"mocha"
],
"globals": [
"BigInt",
"Blob",
"postMessage",
"self",
"Worker"
],
"ignore": [
"/test/browser/",
2020-04-07 22:21:02 +00:00
"/lib/index.browser.bundle.iife.js",
"/lib/index.browser.bundle.mod.js"
]
},
2019-04-19 07:42:28 +00:00
"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.2",
"chai": "^4.2.0",
"jsdoc-to-markdown": "^5.0.3",
"mocha": "^7.1.2",
"npm-run-all": "^4.1.5",
"nyc": "^15.0.1",
"rollup": "^2.9.1",
"rollup-plugin-terser": "^5.3.0",
"standard": "^14.3.4",
"typescript": "^3.8.3"
},
"dependencies": {
"@types/node": ">=10.4.0"
2019-04-19 07:42:28 +00:00
}
2019-04-20 20:13:13 +00:00
}