Skip to content

Commit

Permalink
Merge pull request #26 from Chamindu36/ts-dev-migration
Browse files Browse the repository at this point in the history
[TS Migration] Add Typescript packages and ts config
  • Loading branch information
Chamindu36 committed Aug 15, 2023
2 parents df3d746 + c86bb8c commit 2671502
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 15 deletions.
32 changes: 17 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^29.5.3",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"dotenv": "^16.3.1",
"firebase": "^10.0.0",
"react": "^18.2.0",
Expand All @@ -26,6 +29,7 @@
"sass": "^1.63.6",
"stripe": "^12.17.0",
"styled-components": "^6.0.4",
"typescript": "^5.1.6",
"web-vitals": "^2.1.4"
},
"scripts": {
Expand Down
20 changes: 20 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
},
"include": ["src"]
}

0 comments on commit 2671502

Please sign in to comment.