Skip to content

Commit

Permalink
fix: add .npmignore, fix package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ALPAC-4 committed Mar 8, 2024
1 parent 2124084 commit c1cc15e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions package/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
src
types
zods
tsconfig*
7 changes: 5 additions & 2 deletions package/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
{
"name": "@initia/initia-registry",
"version": "0.0.1",
"version": "0.0.4",
"description": "The package provides TypeScript type definitions and Zod integration for initia-registry.",
"type": "module",
"types": "./dist/types/index.d.ts",
"exports": {
".": "./dist/types/index.js",
"./zod": "./zods/index.ts"
"./zod": "./dist/zods/index.js"
},
"files": [
"dist"
],
"scripts": {
"build": "tsc -p tsconfig.prod.json --module commonjs",
"generate": "rm -rf ./types && rm -rf ./zods && ts-node src/generate.ts"
Expand Down

0 comments on commit c1cc15e

Please sign in to comment.