Skip to content

Commit

Permalink
fix: added strict mode to tsconfig and tsc to build script
Browse files Browse the repository at this point in the history
  • Loading branch information
srijan-paul authored and srijanpaul-deepsource committed Mar 12, 2022
1 parent 582c660 commit 030c505
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 @@ -74,7 +74,7 @@
"test": "npm-run-all -p unit lint",
"lint": "eslint \"*.?(c)js\" lib/ tests/lib/",
"fixlint": "npm run lint -- --fix",
"build": "rollup -c rollup.config.js",
"build": "rollup -c rollup.config.js && tsc --build",
"update-version": "node tools/update-version.js",
"pretest": "npm run build",
"prepublishOnly": "npm run update-version && npm run build",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"declaration": true,
"emitDeclarationOnly": true,
"outDir": "dist",
"declarationMap": true
"declarationMap": true,
"strict": true
}
}

0 comments on commit 030c505

Please sign in to comment.