export correct file and types

This commit is contained in:
cohenerickson 2024-07-02 18:23:01 -05:00
parent 39e0a2564e
commit 045c84de6c
2 changed files with 6 additions and 2 deletions

3
lib/index.d.ts vendored Normal file
View file

@ -0,0 +1,3 @@
declare const scramjetPath: string;
export { scramjetPath };

View file

@ -2,7 +2,8 @@
"name": "scramjet", "name": "scramjet",
"version": "1.0.0", "version": "1.0.0",
"description": "An experimental web proxy that aims to be the successor to Ultraviolet", "description": "An experimental web proxy that aims to be the successor to Ultraviolet",
"main": "index.js", "main": "./lib/index.js",
"types": "./lib/index.d.js",
"scripts": { "scripts": {
"build": "node esbuild.js", "build": "node esbuild.js",
"dev": "node esbuild.dev.js", "dev": "node esbuild.dev.js",
@ -49,4 +50,4 @@
"htmlparser2": "^9.1.0", "htmlparser2": "^9.1.0",
"meriyah": "^4.4.2" "meriyah": "^4.4.2"
} }
} }