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", "version": "1.4.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@noble/curves", "name": "@tornado/noble-curves",
"version": "1.4.0", "version": "1.4.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {

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

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

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