bigint-mod-arith/package.json

110 lines
3.2 KiB
JSON
Raw Normal View History

2019-03-17 08:40:35 +00:00
{
"name": "bigint-mod-arith",
2021-08-06 22:16:10 +00:00
"version": "3.0.1",
2020-04-08 09:53:15 +00:00
"description": "Some common functions for modular arithmetic using native JS implementation of BigInt",
2019-03-17 08:40:35 +00:00
"keywords": [
"modular arithmetics",
"BigInt",
"lcm",
"gcd",
"egcd",
"modinv",
2019-03-17 08:40:35 +00:00
"modular inverse",
"modpow",
2019-03-17 08:40:35 +00:00
"modular exponentiation"
],
"license": "MIT",
"author": {
"name": "Juan Hernández Serrano",
"email": "j.hernandez@upc.edu",
2019-03-17 08:40:35 +00:00
"url": "https://github.com/juanelas"
},
"repository": "github:juanelas/bigint-mod-arith",
"engines": {
"node": ">=10.4.0"
},
"types": "./types/index.d.ts",
"main": "./dist/cjs/index.node.cjs",
"browser": "./dist/esm/index.browser.js",
"module": "./dist/esm/index.node.js",
"exports": {
".": {
"node": {
"require": "./dist/cjs/index.node.cjs",
"import": "./dist/esm/index.node.js"
},
"default": "./dist/esm/index.browser.js"
},
"./esm-browser-bundle": "./dist/bundles/esm.js",
"./iife-browser-bundle": "./dist/bundles/iife.js",
"./umd-browser-bundle": "./dist/bundles/umd.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",
"dist": "./dist",
"docs": "./docs",
2020-04-06 22:49:13 +00:00
"src": "./src",
"test": "./test"
2020-04-18 23:31:14 +00:00
},
2019-03-17 08:40:35 +00:00
"scripts": {
"build": "run-s lint build:js docs test:browser coverage",
2020-04-06 22:49:13 +00:00
"build:js": "rollup -c build/rollup.config.js",
"clean": "rimraf .nyc_output .mocha-ts coverage dist docs",
"coverage": "nyc --check-coverage --exclude build --exclude '{src/ts/**/*.spec.ts,test/**/*.ts}' --reporter=text --reporter=lcov node ./build/bin/mocha-ts.js --require build/testing/mocha/mocha-init.js '{src/ts/**/*.spec.ts,test/**/*.ts}'",
"docs": "node build/build.docs.js",
"git:add": "git add -A",
"lint": "ts-standard --fix",
"mocha": "node ./build/bin/mocha-ts.js --require build/testing/mocha/mocha-init.js ",
"version": "run-s build git:add",
"postversion": "git push --follow-tags",
"test": "run-s test:browser test:node",
"test:browser": "node build/testing/browser/index.js",
"test:node": "npm run mocha -- '{src/ts/**/*.spec.ts,test/**/*.ts}'",
"watch": "npm run mocha -- --watch '{src/ts/**/*.spec.ts,test/**/*.ts}'"
2020-04-06 22:49:13 +00:00
},
"ts-standard": {
2020-04-06 22:49:13 +00:00
"env": [
"mocha"
],
"globals": [
"IS_BROWSER",
"browser",
"page",
"_pkg",
"chai"
2020-04-06 22:49:13 +00:00
],
"project": "./tsconfig.json",
2020-04-06 22:49:13 +00:00
"ignore": [
"dist/**/*"
2020-04-06 22:49:13 +00:00
]
2019-03-17 08:40:35 +00:00
},
"devDependencies": {
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-multi-entry": "^4.0.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-replace": "^3.0.0",
"@rollup/plugin-typescript": "^8.2.0",
"@types/chai": "^4.2.14",
"@types/mocha": "^9.0.0",
"chai": "^4.3.3",
"fs-extra": "^10.0.0",
"glob": "^7.1.6",
"json5": "^2.2.0",
"minimatch": "^3.0.4",
"mocha": "^9.0.3",
2020-04-06 22:49:13 +00:00
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"pirates": "^4.0.1",
"puppeteer": "^10.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.40.0",
"rollup-plugin-terser": "^7.0.2",
"ts-standard": "^10.0.0",
"tslib": "^2.1.0",
"typedoc": "^0.21.5",
"typedoc-plugin-markdown": "^3.6.0",
"typescript": "^4.2.2"
2019-03-17 08:40:35 +00:00
}
2020-04-18 23:31:54 +00:00
}