From a8ea9d757fe998915da5f8aabf86d44c49b49bd2 Mon Sep 17 00:00:00 2001 From: Theo Date: Thu, 18 Apr 2024 14:08:07 -0700 Subject: [PATCH] Build noble-curves for ES2015 for Tornado purposes --- package-lock.json | 4 ++-- package.json | 4 ++-- tsconfig.esm.json | 3 ++- tsconfig.json | 3 ++- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 94cd854..e908045 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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": { diff --git a/package.json b/package.json index 04b11dc..b3df1f8 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/tsconfig.esm.json b/tsconfig.esm.json index 2ba82da..f12beaf 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -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"] diff --git a/tsconfig.json b/tsconfig.json index 19d555e..7ed8be6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,8 @@ { "extends": "@paulmillr/jsbt/tsconfigs/cjs.json", "compilerOptions": { - "outDir": "." + "outDir": ".", + "target": "ES2015" }, "include": ["index.ts", "src"], "exclude": ["node_modules", "lib"]