Skip to content

Commit

Permalink
corrections and adjustments for building and publishing TypeScript (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
shtaif authored Aug 3, 2021
1 parent 01ac1bd commit 1af46be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/coverage

# production
/build
/dist

# misc
.DS_Store
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@
},
"scripts": {
"test": "ts-mocha",
"code-check": "yarn run test && tsc --noEmit"
"code-check": "yarn run test && tsc --noEmit",
"build": "rm -rf ./dist && tsc",
"prepublishOnly": "yarn build"
},
"files": [
"./dist"
"dist"
],
"devDependencies": {
"@tsconfig/node10": "^1.0.8",
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"./src/**/*.js"
],
"exclude": [
"**/*.spec.ts",
"**/*.test.ts"
"**/spec/**/*"
],
"compilerOptions": {
"outDir": "./dist",
Expand Down

0 comments on commit 1af46be

Please sign in to comment.