Add correct library entrypoints for publishing in registry
This commit is contained in:
parent
f3ace98193
commit
c99c93507e
2
index.ts
Normal file
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user