noble-curves/package.json

182 lines
4.7 KiB
JSON
Raw Permalink Normal View History

2022-12-03 13:08:49 +03:00
{
"name": "@noble/curves",
2023-12-12 02:21:29 +03:00
"version": "1.3.0",
2023-03-24 13:12:02 +03:00
"description": "Audited & minimal JS implementation of elliptic curve cryptography",
2022-12-03 13:08:49 +03:00
"files": [
"abstract",
"esm",
"src",
"*.js",
"*.js.map",
"*.d.ts",
"*.d.ts.map"
2022-12-03 13:08:49 +03:00
],
"scripts": {
"bench": "cd benchmark; node secp256k1.js; node curves.js; node ecdh.js; node hash-to-curve.js; node modular.js; node bls.js; node ristretto255.js; node decaf448.js",
"build": "tsc && tsc -p tsconfig.esm.json",
"build:release": "cd build; npm install && npm run build",
2023-03-14 02:39:21 +03:00
"build:clean": "rm *.{js,d.ts,d.ts.map,js.map} esm/*.{js,d.ts,d.ts.map,js.map} 2> /dev/null",
2022-12-28 09:32:27 +03:00
"lint": "prettier --check 'src/**/*.{js,ts}' 'test/*.js'",
"format": "prettier --write 'src/**/*.{js,ts}' 'test/*.js'",
"test": "node test/index.test.js"
2022-12-03 13:08:49 +03:00
},
"author": "Paul Miller (https://paulmillr.com)",
"homepage": "https://paulmillr.com/noble/",
"repository": {
"type": "git",
2023-12-23 20:30:48 +03:00
"url": "git+https://github.com/paulmillr/noble-curves.git"
2022-12-03 13:08:49 +03:00
},
"license": "MIT",
2022-12-28 09:32:27 +03:00
"dependencies": {
2023-12-12 02:18:35 +03:00
"@noble/hashes": "1.3.3"
2022-12-28 09:32:27 +03:00
},
2022-12-03 13:08:49 +03:00
"devDependencies": {
2022-12-28 09:32:27 +03:00
"fast-check": "3.0.0",
2023-02-15 01:24:11 +03:00
"micro-bmark": "0.3.1",
2023-01-26 10:26:07 +03:00
"micro-should": "0.4.0",
"prettier": "3.1.1",
"typescript": "5.3.2"
2022-12-03 13:08:49 +03:00
},
"sideEffects": false,
2022-12-03 13:08:49 +03:00
"main": "index.js",
"exports": {
2022-12-28 09:57:42 +03:00
".": {
"types": "./index.d.ts",
"import": "./esm/index.js",
"default": "./index.js"
2022-12-28 09:57:42 +03:00
},
2022-12-28 09:32:27 +03:00
"./abstract/edwards": {
"types": "./abstract/edwards.d.ts",
"import": "./esm/abstract/edwards.js",
"default": "./abstract/edwards.js"
2022-12-28 09:32:27 +03:00
},
"./abstract/modular": {
"types": "./abstract/modular.d.ts",
"import": "./esm/abstract/modular.js",
"default": "./abstract/modular.js"
2022-12-28 09:32:27 +03:00
},
"./abstract/montgomery": {
"types": "./abstract/montgomery.d.ts",
"import": "./esm/abstract/montgomery.js",
"default": "./abstract/montgomery.js"
2022-12-28 09:32:27 +03:00
},
"./abstract/weierstrass": {
"types": "./abstract/weierstrass.d.ts",
"import": "./esm/abstract/weierstrass.js",
"default": "./abstract/weierstrass.js"
2022-12-28 09:32:27 +03:00
},
"./abstract/bls": {
"types": "./abstract/bls.d.ts",
"import": "./esm/abstract/bls.js",
"default": "./abstract/bls.js"
2022-12-28 09:32:27 +03:00
},
"./abstract/hash-to-curve": {
"types": "./abstract/hash-to-curve.d.ts",
"import": "./esm/abstract/hash-to-curve.js",
"default": "./abstract/hash-to-curve.js"
2022-12-28 09:32:27 +03:00
},
"./abstract/curve": {
"types": "./abstract/curve.d.ts",
"import": "./esm/abstract/curve.js",
"default": "./abstract/curve.js"
2022-12-28 09:32:27 +03:00
},
"./abstract/utils": {
"types": "./abstract/utils.d.ts",
"import": "./esm/abstract/utils.js",
"default": "./abstract/utils.js"
2022-12-28 09:32:27 +03:00
},
2023-01-23 21:41:19 +03:00
"./abstract/poseidon": {
"types": "./abstract/poseidon.d.ts",
"import": "./esm/abstract/poseidon.js",
"default": "./abstract/poseidon.js"
2023-01-23 21:41:19 +03:00
},
2022-12-28 09:32:27 +03:00
"./_shortw_utils": {
"types": "./_shortw_utils.d.ts",
"import": "./esm/_shortw_utils.js",
"default": "./_shortw_utils.js"
2022-12-28 09:32:27 +03:00
},
"./bls12-381": {
"types": "./bls12-381.d.ts",
"import": "./esm/bls12-381.js",
"default": "./bls12-381.js"
2022-12-28 09:32:27 +03:00
},
2023-04-12 05:33:32 +03:00
"./bn254": {
"types": "./bn254.d.ts",
"import": "./esm/bn254.js",
"default": "./bn254.js"
2022-12-28 09:32:27 +03:00
},
"./ed25519": {
"types": "./ed25519.d.ts",
"import": "./esm/ed25519.js",
"default": "./ed25519.js"
2022-12-28 09:32:27 +03:00
},
"./ed448": {
"types": "./ed448.d.ts",
"import": "./esm/ed448.js",
"default": "./ed448.js"
2022-12-28 09:32:27 +03:00
},
"./index": {
"types": "./index.d.ts",
"import": "./esm/index.js",
"default": "./index.js"
2022-12-28 09:32:27 +03:00
},
"./jubjub": {
"types": "./jubjub.d.ts",
"import": "./esm/jubjub.js",
"default": "./jubjub.js"
2022-12-28 09:32:27 +03:00
},
"./p256": {
"types": "./p256.d.ts",
"import": "./esm/p256.js",
"default": "./p256.js"
2022-12-28 09:32:27 +03:00
},
"./p384": {
"types": "./p384.d.ts",
"import": "./esm/p384.js",
"default": "./p384.js"
2022-12-28 09:32:27 +03:00
},
"./p521": {
"types": "./p521.d.ts",
"import": "./esm/p521.js",
"default": "./p521.js"
2022-12-28 09:32:27 +03:00
},
"./pasta": {
"types": "./pasta.d.ts",
"import": "./esm/pasta.js",
"default": "./pasta.js"
2022-12-28 09:32:27 +03:00
},
"./secp256k1": {
"types": "./secp256k1.d.ts",
"import": "./esm/secp256k1.js",
"default": "./secp256k1.js"
2022-12-03 13:08:49 +03:00
}
},
"keywords": [
"elliptic",
"curve",
"cryptography",
2022-12-28 09:32:27 +03:00
"weierstrass",
"montgomery",
"edwards",
2022-12-03 13:08:49 +03:00
"p256",
"p384",
"p521",
2022-12-28 09:32:27 +03:00
"secp256r1",
"secp256k1",
2022-12-28 09:57:42 +03:00
"ed25519",
"ed448",
2023-06-03 15:31:43 +03:00
"x25519",
"ed25519",
2022-12-28 09:32:27 +03:00
"bls12-381",
"bn254",
2022-12-28 09:57:42 +03:00
"pasta",
2022-12-28 09:32:27 +03:00
"bls",
2023-03-24 13:12:02 +03:00
"noble",
2022-12-03 13:08:49 +03:00
"ecc",
"ecdsa",
"eddsa",
"schnorr"
],
2023-05-27 17:10:58 +03:00
"funding": "https://paulmillr.com/funding/"
2023-12-23 20:30:48 +03:00
}