Skip to content

Commit 4489c56

Browse files
1.0.2
1 parent 6a1c608 commit 4489c56

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CRA-TEMPLATE-REACT-TS-TW
22

3+
## About
4+
5+
create-react-app typescript template (React 18) with neccesary packages setup: tailwindcss, react-router, react-query and husky
6+
37
## Using the template
48

59
```cmd

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cra-template-react-ts-tw",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "",
55
"main": "template.json",
66
"scripts": {

template.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"package": {
33
"scripts": {
4-
"preinstall": "git init",
5-
"postinstall": "husky install && npx husky add .husky/pre-commit \"npx lint-staged\"",
64
"husky:prepare": "husky install && npx husky add .husky/pre-commit \"npx lint-staged\"",
75
"start": "react-scripts start",
86
"build": "react-scripts build",

template/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
## Installations
44

5-
PS: make sure to initialised git before setting up
6-
75
```cmd
86
npm install
7+
npm run husky:prepare
98
```
109

1110
If you get issues with prettier or eslint, simply run:

0 commit comments

Comments
 (0)