2019-03-17 08:40:35 +00:00
|
|
|
{
|
|
|
|
"name": "bigint-mod-arith",
|
2020-04-06 23:09:47 +00:00
|
|
|
"version": "2.0.2",
|
2019-03-17 08:40:35 +00:00
|
|
|
"description": "Some additional common functions for modular arithmetics using native JS (stage 3) implementation of BigInt",
|
|
|
|
"keywords": [
|
|
|
|
"modular arithmetics",
|
|
|
|
"BigInt",
|
|
|
|
"lcm",
|
|
|
|
"gcd",
|
|
|
|
"egcd",
|
2019-04-25 15:24:29 +00:00
|
|
|
"modinv",
|
2019-03-17 08:40:35 +00:00
|
|
|
"modular inverse",
|
2019-04-25 15:24:29 +00:00
|
|
|
"modpow",
|
2019-03-17 08:40:35 +00:00
|
|
|
"modular exponentiation"
|
|
|
|
],
|
|
|
|
"license": "MIT",
|
|
|
|
"author": {
|
|
|
|
"name": "Juan Hernández Serrano",
|
|
|
|
"email": "jserrano@entel.upc.edu",
|
|
|
|
"url": "https://github.com/juanelas"
|
|
|
|
},
|
|
|
|
"repository": "github:juanelas/bigint-mod-arith",
|
2020-04-06 22:49:13 +00:00
|
|
|
"main": "./lib/index.node.js",
|
|
|
|
"browser": "./lib/index.browser.mod.js",
|
|
|
|
"types": "./types/index.d.ts",
|
2019-03-17 08:40:35 +00:00
|
|
|
"directories": {
|
2019-04-06 08:08:31 +00:00
|
|
|
"build": "./build",
|
2020-04-06 22:49:13 +00:00
|
|
|
"lib": "./lib",
|
|
|
|
"src": "./src",
|
|
|
|
"test": "./test",
|
|
|
|
"types": "./types"
|
2019-03-17 08:40:35 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2020-04-06 22:49:13 +00:00
|
|
|
"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": "jsdoc2md --template=./src/doc/readme-template.md --files ./lib/index.browser.mod.js -d 3 -g none > README.md",
|
|
|
|
"build:dts": "node build/build.dts.js",
|
|
|
|
"build": "run-s build:**",
|
|
|
|
"prepublishOnly": "npm run build"
|
|
|
|
},
|
|
|
|
"standard": {
|
|
|
|
"env": [
|
|
|
|
"mocha"
|
|
|
|
],
|
|
|
|
"globals": [
|
|
|
|
"BigInt"
|
|
|
|
],
|
|
|
|
"ignore": [
|
|
|
|
"/test/browser/",
|
|
|
|
"/lib/index.browser.bundle.js",
|
|
|
|
"/lib/index.browser.bundle.mod.js"
|
|
|
|
]
|
2019-03-17 08:40:35 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-04-06 22:49:13 +00:00
|
|
|
"@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"
|
2019-03-17 08:40:35 +00:00
|
|
|
}
|
|
|
|
}
|