71 lines
1.8 KiB
JSON
71 lines
1.8 KiB
JSON
{
|
|
"name": "bigint-mod-arith",
|
|
"version": "2.0.4",
|
|
"description": "Some common functions for modular arithmetic using native JS implementation of BigInt",
|
|
"keywords": [
|
|
"modular arithmetics",
|
|
"BigInt",
|
|
"lcm",
|
|
"gcd",
|
|
"egcd",
|
|
"modinv",
|
|
"modular inverse",
|
|
"modpow",
|
|
"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",
|
|
"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"
|
|
],
|
|
"ignore": [
|
|
"/test/browser/",
|
|
"/lib/index.browser.bundle.iife.js",
|
|
"/lib/index.browser.bundle.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"
|
|
}
|
|
}
|