Add correct library entrypoints for publishing in registry

This commit is contained in:
Theo 2023-08-16 16:36:21 -07:00
parent f3ace98193
commit c99c93507e
2 changed files with 5 additions and 4 deletions

2
index.ts Normal file

@ -0,0 +1,2 @@
export * from "./config";
export * from "./types";

@ -1,7 +1,8 @@
{
"name": "@tornado/tornado-config",
"version": "2.0.0",
"main": "\"./lib/config.js\"",
"main": "./lib/config.js",
"types": "./lib/index.d.ts",
"scripts": {
"build": "tsc"
},
@ -16,10 +17,8 @@
"Tornado Cash"
],
"files": [
"config.js",
"index.d.ts"
"lib/*"
],
"types": "index.d.ts",
"devDependencies": {
"@types/node": "^20.5.0",
"typescript": "^5.1.6"