2019-04-19 07:42:28 +00:00
{
2019-04-19 10:04:06 +00:00
"name" : "bigint-crypto-utils" ,
2021-08-04 11:05:19 +00:00
"version" : "3.0.16" ,
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"
} ,
"types" : "./dist/esm/types/index.d.ts" ,
"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" ,
"import" : "./dist/esm/index.node.js"
} ,
2021-04-21 09:14:04 +00:00
"default" : "./dist/esm/index.browser.js"
2021-03-25 12:40:04 +00:00
} ,
2021-08-04 10:50:36 +00:00
"./node-js" : "./dist/cjs/index.node.js" ,
2021-04-20 23:06:35 +00:00
"./esm-browser-bundle" : "./dist/bundles/bigint-crypto-utils.esm.js" ,
"./iife-browser-bundle" : "./dist/bundles/bigint-crypto-utils.iife.js" ,
"./umd-browser-bundle" : "./dist/bundles/bigint-crypto-utils.umd.js" ,
2021-04-21 09:14:04 +00:00
"./types" : "./dist/esm/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" : {
2021-03-25 12:40:04 +00:00
"build" : "run-s lint build:js docs test:browser coverage" ,
2020-04-06 11:17:22 +00:00
"build:js" : "rollup -c build/rollup.config.js" ,
2021-03-25 12:40:04 +00:00
"clean" : "rimraf .nyc_output .mocha-ts coverage dist docs" ,
2021-04-21 18:30:13 +00:00
"commitversion" : "git commit -a -m \"v$npm_package_version\"" ,
2021-03-25 12:40:04 +00:00
"coverage" : "nyc --check-coverage --exclude build --exclude '{src/**/*.spec.ts,test/**/*.ts}' --reporter=text --reporter=lcov node ./build/bin/mocha-ts.js --require build/testing/mocha/mocha-init.js '{src/**/*.spec.ts,test/**/*.ts}'" ,
"docs" : "node build/build.docs.js" ,
"lint" : "ts-standard --fix" ,
"mocha" : "node ./build/bin/mocha-ts.js --require build/testing/mocha/mocha-init.js " ,
2021-04-21 18:05:45 +00:00
"preversion" : "npm run build" ,
2021-04-21 18:30:13 +00:00
"postversion" : "run-s docs commitversion" ,
2021-03-25 12:40:04 +00:00
"test" : "run-s test:browser test:node" ,
"test:browser" : "node build/testing/browser/index.js" ,
"test:node" : "npm run mocha -- '{src/**/*.spec.ts,test/**/*.ts}'" ,
"watch" : "npm run mocha -- --watch '{src/**/*.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
] ,
2021-03-25 12:40:04 +00:00
"project" : "./tsconfig.json" ,
2020-04-06 11:17:22 +00:00
"ignore" : [
2021-03-25 12:40:04 +00:00
"dist/**/*" ,
"examples/**/*"
2020-04-06 11:17:22 +00:00
]
} ,
2019-04-19 07:42:28 +00:00
"devDependencies" : {
2021-03-25 12:40:04 +00:00
"@rollup/plugin-commonjs" : "^17.0.0" ,
2021-08-04 11:04:27 +00:00
"@rollup/plugin-multi-entry" : "^4.1.0" ,
2021-03-25 12:40:04 +00:00
"@rollup/plugin-node-resolve" : "^11.2.0" ,
"@rollup/plugin-replace" : "^2.4.1" ,
2021-08-04 11:04:27 +00:00
"@rollup/plugin-typescript" : "^8.2.5" ,
"@types/chai" : "^4.2.21" ,
"@types/mocha" : "^8.2.3" ,
"@types/node" : "^16.4.11" ,
2021-03-25 12:40:04 +00:00
"chai" : "^4.3.3" ,
2021-08-04 11:04:27 +00:00
"glob" : "^7.1.7" ,
2021-03-25 12:40:04 +00:00
"json5" : "^2.2.0" ,
"minimatch" : "^3.0.4" ,
2021-08-04 11:04:27 +00:00
"mocha" : "^8.4.0" ,
2020-03-02 22:16:05 +00:00
"npm-run-all" : "^4.1.5" ,
2020-09-22 21:46:00 +00:00
"nyc" : "^15.1.0" ,
2021-03-25 12:40:04 +00:00
"pirates" : "^4.0.1" ,
"puppeteer" : "^8.0.0" ,
"rimraf" : "^3.0.2" ,
2021-08-04 11:04:27 +00:00
"rollup" : "^2.55.1" ,
2020-11-12 11:04:13 +00:00
"rollup-plugin-terser" : "^7.0.2" ,
2021-03-25 12:40:04 +00:00
"ts-standard" : "^10.0.0" ,
2021-08-04 11:04:27 +00:00
"tslib" : "^2.3.0" ,
"typedoc" : "^0.21.5" ,
"typedoc-plugin-markdown" : "^3.10.4" ,
"typescript" : "^4.3.5"
2020-04-07 15:03:30 +00:00
} ,
2021-03-25 12:40:04 +00:00
"peerDependencies" : {
"@types/node" : ">10.4"
2021-04-20 23:06:35 +00:00
} ,
"dependencies" : {
"bigint-mod-arith" : "^3.0.0"
2019-04-19 07:42:28 +00:00
}
2019-04-20 20:13:13 +00:00
}