forked from tornado-packages/noble-curves
Fix curve-definitions exports
This commit is contained in:
parent
cafe51a6e3
commit
fbf85ce732
@ -3,18 +3,15 @@
|
||||
"version": "0.1.0",
|
||||
"description": "Curve definitions for @noble/curves",
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts",
|
||||
"index.d.ts.map",
|
||||
"index.ts"
|
||||
"lib"
|
||||
],
|
||||
"type": "module",
|
||||
"main": "index.js",
|
||||
"module": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"main": "lib/index.js",
|
||||
"module": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"dependencies": {
|
||||
"@noble/curves": "file:../",
|
||||
"@noble/hashes": "1.1.4"
|
||||
"@noble/hashes": "1.1.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@scure/base": "~1.1.0",
|
||||
@ -35,7 +32,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"lint": "prettier --check index.ts",
|
||||
"lint": "prettier --check src",
|
||||
"test": "node test/index.test.js"
|
||||
},
|
||||
"keywords": [
|
||||
|
1
curve-definitions/src/index.ts
Normal file
1
curve-definitions/src/index.ts
Normal file
@ -0,0 +1 @@
|
||||
throw new Error('Incorrect usage. Import submodules instead');
|
@ -8,7 +8,7 @@
|
||||
"lib/esm"
|
||||
],
|
||||
"scripts": {
|
||||
"bench": "node test/benchmark/index.js",
|
||||
"bench": "node curve-definitions/benchmark/index.js",
|
||||
"build": "tsc && tsc -p tsconfig.esm.json",
|
||||
"build:release": "rollup -c rollup.config.js",
|
||||
"lint": "prettier --check 'src/**/*.{js,ts}' 'curve-definitions/src/**/*.{js,ts}'",
|
||||
|
Loading…
Reference in New Issue
Block a user