Skip to content

Commit

Permalink
Implements clean with build script
Browse files Browse the repository at this point in the history
  • Loading branch information
didley committed Jul 30, 2023
1 parent 8e51d08 commit 15427eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "./dist/decimalInput.js",
"types": "./dist/decimalInput.d.ts",
"scripts": {
"build": "tsc",
"build": "rm -rf ./dist && tsc --build",
"tsWatch": "tsc --watch",
"lint": "eslint .",
"test": "vitest",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
"outDir": "dist",
"skipLibCheck": true
},
"include": ["src/**/*"]
"include": ["src/**/*"],
"exclude": ["src/**/*.test.ts"]
}

0 comments on commit 15427eb

Please sign in to comment.