Skip to content

Commit

Permalink
fix: wrong main file path after build
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasvtiradentes committed Jan 9, 2024
1 parent 28e5bd2 commit 371226a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"prepare": "husky install",
"start": "node dist/index.js",
"dev": "tsx ./examples/dev-example.ts",
"build": "tsc",
"build": "rimraf ./dist && tsc",
"check_package": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz",
"prepub": "echo prepublish scripts && npm run build && npm run check_package",
"commit": "cz",
Expand All @@ -39,22 +39,23 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/dotenv": "^8.2.0",
"@types/node": "^20.10.6",
"@types/node": "^20.10.7",
"@types/request": "^2.48.12",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"dotenv": "^16.3.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.2",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"rimraf": "^5.0.5",
"semantic-release": "^22.0.12",
"tsx": "^4.7.0",
"typescript": "^5.3.3"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"declaration": true,
"allowSyntheticDefaultImports": true
},
"include": ["src", "examples"]
"include": ["src"]
}

0 comments on commit 371226a

Please sign in to comment.