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