Skip to content

Commit

Permalink
package/add-prepublish-script-and-exlucde-in-build (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaresAil authored Nov 25, 2022
1 parent b8980e7 commit acccfde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"license": "MIT",
"private": false,
"scripts": {
"prepublishOnly": "yarn build",
"dev:bin": "yarn build && NODE_ENV=dev node bin/commands.js",
"dev": "NODE_ENV=dev ts-node src/commands.ts",
"build": "yarn lint && rm -rf ./bin/ && tsc -p .",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
},
"exclude": ["node_modules", "bin", "__tests__", "jest"]
"exclude": ["node_modules", "bin", "src/__tests__", "jest"]
}

0 comments on commit acccfde

Please sign in to comment.