Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup TypeScript #2

Merged
merged 1 commit into from May 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 13 additions & 1 deletion README.md
Expand Up @@ -17,11 +17,23 @@ This React template was created from scratch using the bare minimum package depe
Review the [commit history](https://github.com/cloud-city-crafted/react-typescript-webpack-template/commits/main) to see which files were created/edited for each step of the configuration process.

1. [Initialize Project](https://github.com/cloud-city-crafted/react-typescript-webpack-template/pull/1)
2. Setup TypeScript
2. [Setup TypeScript](https://github.com/cloud-city-crafted/react-typescript-webpack-template/pull/2)
3. Setup React
4. Setup Jest
5. Setup Webpack

## ⚛️ What?

This project template only uses the dependencies and configurations needed to:

- Develop using TypeScript (using `.tsx` files)

### 🛠 Tooling
- [TypeScript](https://www.typescriptlang.org/): A strongly typed language built on top of JavaScript.
- [typescript](https://www.npmjs.com/package/typescript): Core TypeScript programming language
- [ts-node](https://www.npmjs.com/package/ts-node): TypeScript execution engine for Node.js
- [@types/node](https://www.npmjs.com/package/@types/node): Type definitions for Node.js

## 🪪 License

This project template is [MIT licensed](https://github.com/cloud-city-crafted/react-typescript-webpack-template/blob/main/LICENSE).
342 changes: 342 additions & 0 deletions package-lock.json

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

9 changes: 7 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "react-typescript-webpack-template",
"version": "0.1.0",
"version": "0.2.0",
"description": "A React + TypeScript + Webpack Project Template",
"private": true,
"repository": {
Expand All @@ -23,5 +23,10 @@
"bugs": {
"url": "https://github.com/cloud-city-crafted/react-typescript-webpack-template/issues"
},
"homepage": "https://github.com/cloud-city-crafted/react-typescript-webpack-template#readme"
"homepage": "https://github.com/cloud-city-crafted/react-typescript-webpack-template#readme",
"devDependencies": {
"@types/node": "^17.0.36",
"ts-node": "^10.8.0",
"typescript": "^4.7.2"
}
}