forked from tornado-packages/noble-curves
Update package.json
This commit is contained in:
parent
f1ab259941
commit
1bfab42620
1
index.js
1
index.js
@ -1 +0,0 @@
|
|||||||
throw new Error('Incorrect usage. Import submodules instead');
|
|
14
package.json
14
package.json
@ -3,9 +3,7 @@
|
|||||||
"version": "0.4.0",
|
"version": "0.4.0",
|
||||||
"description": "Minimal, auditable JS implementation of elliptic curve cryptography",
|
"description": "Minimal, auditable JS implementation of elliptic curve cryptography",
|
||||||
"files": [
|
"files": [
|
||||||
"index.js",
|
"lib"
|
||||||
"lib",
|
|
||||||
"lib/esm"
|
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bench": "node benchmark/index.js",
|
"bench": "node benchmark/index.js",
|
||||||
@ -23,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@noble/hashes": "~1.1.5"
|
"@noble/hashes": "1.1.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-node-resolve": "13.3.0",
|
"@rollup/plugin-node-resolve": "13.3.0",
|
||||||
@ -40,6 +38,11 @@
|
|||||||
},
|
},
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"types": "./lib/index.d.ts",
|
||||||
|
"import": "./lib/esm/index.js",
|
||||||
|
"default": "./lib/index.js"
|
||||||
|
},
|
||||||
"./abstract/edwards": {
|
"./abstract/edwards": {
|
||||||
"types": "./lib/abstract/edwards.d.ts",
|
"types": "./lib/abstract/edwards.d.ts",
|
||||||
"import": "./lib/esm/abstract/edwards.js",
|
"import": "./lib/esm/abstract/edwards.js",
|
||||||
@ -168,8 +171,11 @@
|
|||||||
"p521",
|
"p521",
|
||||||
"secp256r1",
|
"secp256r1",
|
||||||
"secp256k1",
|
"secp256k1",
|
||||||
|
"ed25519",
|
||||||
|
"ed448",
|
||||||
"bls12-381",
|
"bls12-381",
|
||||||
"bn254",
|
"bn254",
|
||||||
|
"pasta",
|
||||||
"bls",
|
"bls",
|
||||||
"nist",
|
"nist",
|
||||||
"ecc",
|
"ecc",
|
||||||
|
Loading…
Reference in New Issue
Block a user