2019-04-19 07:42:28 +00:00
{
2019-04-19 10:04:06 +00:00
"name" : "bigint-crypto-utils" ,
2022-09-12 09:15:42 +00:00
"version" : "3.1.6" ,
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" ,
2020-04-20 22:50:53 +00:00
"BigInt" ,
"angular" ,
"react"
2019-04-19 07:42:28 +00:00
] ,
"license" : "MIT" ,
"author" : {
"name" : "Juan Hernández Serrano" ,
2020-04-08 17:15:03 +00:00
"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" ,
2021-03-25 12:40:04 +00:00
"engines" : {
"node" : ">=10.4.0"
} ,
2022-08-01 02:19:48 +00:00
"type" : "module" ,
2021-08-06 15:13:51 +00:00
"types" : "./types/index.d.ts" ,
2021-03-25 12:40:04 +00:00
"main" : "./dist/cjs/index.node.cjs" ,
2021-04-21 09:14:04 +00:00
"browser" : "./dist/esm/index.browser.js" ,
2021-03-25 12:40:04 +00:00
"module" : "./dist/esm/index.node.js" ,
"exports" : {
"." : {
"node" : {
"require" : "./dist/cjs/index.node.cjs" ,
2022-08-01 02:19:48 +00:00
"import" : "./dist/esm/index.node.js" ,
"module" : "./dist/esm/index.node.js"
2021-03-25 12:40:04 +00:00
} ,
2021-04-21 09:14:04 +00:00
"default" : "./dist/esm/index.browser.js"
2021-03-25 12:40:04 +00:00
} ,
2022-08-01 02:19:48 +00:00
"./esm-browser-bundle" : "./dist/bundles/esm.min.js" ,
2021-08-06 08:10:32 +00:00
"./iife-browser-bundle" : "./dist/bundles/iife.js" ,
"./umd-browser-bundle" : "./dist/bundles/umd.js" ,
2021-08-06 15:13:51 +00:00
"./types" : "./types/index.d.ts"
2021-03-25 12:40:04 +00:00
} ,
2019-04-19 07:42:28 +00:00
"directories" : {
"build" : "./build" ,
2021-03-25 12:40:04 +00:00
"dist" : "./dist" ,
"docs" : "./docs" ,
2019-04-19 07:42:28 +00:00
"src" : "./src" ,
2021-03-25 12:40:04 +00:00
"test" : "./test"
2020-04-20 22:50:53 +00:00
} ,
2019-04-19 07:42:28 +00:00
"scripts" : {
2022-04-20 21:55:44 +00:00
"build" : "run-s lint build:js docs" ,
2020-04-06 11:17:22 +00:00
"build:js" : "rollup -c build/rollup.config.js" ,
2022-08-01 17:10:00 +00:00
"clean" : "rimraf .mocha-ts coverage dist types docs" ,
"coverage" : "c8 --clean --check-coverage --exclude-after-remap --exclude '{build,node_modules,src/ts/**/*.spec.ts,test/**/*.ts,.mocha-ts/**/*}' --reporter=text --reporter=lcov node ./build/bin/mocha-ts.js --require build/testing/mocha/mocha-init.js '{src/ts/**/*.spec.ts,test/**/*.ts}'" ,
2022-08-01 02:19:48 +00:00
"docs" : "node build/build.docs.cjs" ,
2021-08-06 17:17:16 +00:00
"git:add" : "git add -A" ,
2021-03-25 12:40:04 +00:00
"lint" : "ts-standard --fix" ,
2022-08-01 17:10:00 +00:00
"mocha-ts" : "node ./build/bin/mocha-ts.js --require build/testing/mocha/mocha-init.js " ,
2022-08-01 02:19:48 +00:00
"mocha-ts:browser" : "node build/testing/browser/index.cjs " ,
"mocha-ts:browser-headless" : "node build/testing/browser/index.cjs headless " ,
2022-04-20 21:55:44 +00:00
"preversion" : "run-s clean lint build:js coverage test:browser-headless" ,
"version" : "run-s docs git:add" ,
2021-08-06 17:17:16 +00:00
"postversion" : "git push --follow-tags" ,
2022-04-20 21:55:44 +00:00
"test" : "run-s test:browser-headless test:node" ,
"test:browser" : "npm run mocha-ts:browser " ,
"test:browser-headless" : "npm run mocha-ts:browser-headless " ,
"test:node" : "npm run mocha-ts -- '{src/ts/**/*.spec.ts,test/**/*.ts}'" ,
2022-08-01 17:10:00 +00:00
"watch" : "npm run mocha-ts -- --watch '{src/ts/**/*.spec.ts,test/**/*.ts}'"
2019-04-19 07:42:28 +00:00
} ,
2021-03-25 12:40:04 +00:00
"ts-standard" : {
2020-04-06 11:17:22 +00:00
"env" : [
"mocha"
] ,
"globals" : [
"Blob" ,
"postMessage" ,
"self" ,
2021-03-25 12:40:04 +00:00
"Worker" ,
"IS_BROWSER" ,
"browser" ,
"page" ,
"_pkg" ,
"chai"
2020-04-06 11:17:22 +00:00
] ,
2022-08-01 17:10:00 +00:00
"project" : "tsconfig.json" ,
2020-04-06 11:17:22 +00:00
"ignore" : [
2021-03-25 12:40:04 +00:00
"dist/**/*" ,
2021-08-06 15:29:23 +00:00
"examples/**/*" ,
2022-08-01 18:34:24 +00:00
"types/**/*"
2020-04-06 11:17:22 +00:00
]
} ,
2019-04-19 07:42:28 +00:00
"devDependencies" : {
2022-08-01 02:19:48 +00:00
"@rollup/plugin-commonjs" : "^22.0.0" ,
2022-04-20 21:55:44 +00:00
"@rollup/plugin-json" : "^4.1.0" ,
2021-08-06 08:10:32 +00:00
"@rollup/plugin-multi-entry" : "^4.0.0" ,
2022-08-01 02:19:48 +00:00
"@rollup/plugin-node-resolve" : "^13.0.5" ,
2022-04-20 21:55:44 +00:00
"@rollup/plugin-replace" : "^4.0.0" ,
2021-08-06 08:10:32 +00:00
"@rollup/plugin-typescript" : "^8.2.0" ,
2022-08-01 02:19:48 +00:00
"@types/chai" : "^4.2.22" ,
2021-08-06 08:10:32 +00:00
"@types/mocha" : "^9.0.0" ,
2022-08-01 17:10:00 +00:00
"c8" : "^7.12.0" ,
2021-03-25 12:40:04 +00:00
"chai" : "^4.3.3" ,
2022-04-20 21:55:44 +00:00
"dotenv" : "^16.0.0" ,
2021-08-06 15:13:51 +00:00
"fs-extra" : "^10.0.0" ,
2022-04-20 21:55:44 +00:00
"glob" : "^8.0.1" ,
2021-03-25 12:40:04 +00:00
"json5" : "^2.2.0" ,
2022-04-20 21:55:44 +00:00
"minimatch" : "^5.0.1" ,
2022-08-01 02:19:48 +00:00
"mocha" : "^10.0.0" ,
2020-03-02 22:16:05 +00:00
"npm-run-all" : "^4.1.5" ,
2021-03-25 12:40:04 +00:00
"pirates" : "^4.0.1" ,
2022-08-01 02:19:48 +00:00
"puppeteer" : "^15.5.0" ,
2021-03-25 12:40:04 +00:00
"rimraf" : "^3.0.2" ,
2022-08-01 02:19:48 +00:00
"rollup" : "^2.57.0" ,
2020-11-12 11:04:13 +00:00
"rollup-plugin-terser" : "^7.0.2" ,
2022-04-20 21:55:44 +00:00
"ts-standard" : "^11.0.0" ,
2022-08-01 02:19:48 +00:00
"tslib" : "^2.3.1" ,
"typedoc" : "^0.23.0" ,
"typedoc-plugin-markdown" : "^3.11.0" ,
"typescript" : "^4.4.3"
2021-10-19 20:04:55 +00:00
} ,
"dependencies" : {
2022-08-01 02:19:48 +00:00
"bigint-mod-arith" : "^3.1.0"
2019-04-19 07:42:28 +00:00
}
2019-04-20 20:13:13 +00:00
}