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",
|
"version": "0.1.0",
|
||||||
"description": "Curve definitions for @noble/curves",
|
"description": "Curve definitions for @noble/curves",
|
||||||
"files": [
|
"files": [
|
||||||
"index.js",
|
"lib"
|
||||||
"index.d.ts",
|
|
||||||
"index.d.ts.map",
|
|
||||||
"index.ts"
|
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "index.js",
|
"main": "lib/index.js",
|
||||||
"module": "index.js",
|
"module": "lib/index.js",
|
||||||
"types": "index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@noble/curves": "file:../",
|
"@noble/curves": "file:../",
|
||||||
"@noble/hashes": "1.1.4"
|
"@noble/hashes": "1.1.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@scure/base": "~1.1.0",
|
"@scure/base": "~1.1.0",
|
||||||
@ -35,7 +32,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"lint": "prettier --check index.ts",
|
"lint": "prettier --check src",
|
||||||
"test": "node test/index.test.js"
|
"test": "node test/index.test.js"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"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"
|
"lib/esm"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bench": "node test/benchmark/index.js",
|
"bench": "node curve-definitions/benchmark/index.js",
|
||||||
"build": "tsc && tsc -p tsconfig.esm.json",
|
"build": "tsc && tsc -p tsconfig.esm.json",
|
||||||
"build:release": "rollup -c rollup.config.js",
|
"build:release": "rollup -c rollup.config.js",
|
||||||
"lint": "prettier --check 'src/**/*.{js,ts}' 'curve-definitions/src/**/*.{js,ts}'",
|
"lint": "prettier --check 'src/**/*.{js,ts}' 'curve-definitions/src/**/*.{js,ts}'",
|
||||||
|
Loading…
Reference in New Issue
Block a user