Build noble-curves for ES2015 for Tornado purposes

This commit is contained in:
Theo 2024-04-18 14:08:07 -07:00
parent efeca9f478
commit a8ea9d757f
4 changed files with 8 additions and 6 deletions

4
package-lock.json generated

@ -1,11 +1,11 @@
{
"name": "@noble/curves",
"name": "@tornado/noble-curves",
"version": "1.4.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@noble/curves",
"name": "@tornado/noble-curves",
"version": "1.4.0",
"license": "MIT",
"dependencies": {

@ -1,5 +1,5 @@
{
"name": "@noble/curves",
"name": "@tornado/noble-curves",
"version": "1.4.0",
"description": "Audited & minimal JS implementation of elliptic curve cryptography",
"files": [
@ -24,7 +24,7 @@
"homepage": "https://paulmillr.com/noble/",
"repository": {
"type": "git",
"url": "git+https://github.com/paulmillr/noble-curves.git"
"url": "https://git.tornado.ws/tornado-packages/noble-curvest"
},
"license": "MIT",
"dependencies": {

@ -1,7 +1,8 @@
{
"extends": "@paulmillr/jsbt/tsconfigs/esm.json",
"compilerOptions": {
"outDir": "esm"
"outDir": "esm",
"target": "ES2015"
},
"include": ["index.ts", "src"],
"exclude": ["node_modules", "lib"]

@ -1,7 +1,8 @@
{
"extends": "@paulmillr/jsbt/tsconfigs/cjs.json",
"compilerOptions": {
"outDir": "."
"outDir": ".",
"target": "ES2015"
},
"include": ["index.ts", "src"],
"exclude": ["node_modules", "lib"]