File tree Expand file tree Collapse file tree 6 files changed +24
-39
lines changed
cra-template-wptheme-typescript Expand file tree Collapse file tree 6 files changed +24
-39
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "packages" : [
3
+ " packages/*"
4
+ ],
5
+ "version" : " 0.0.0"
6
+ }
Original file line number Diff line number Diff line change 1
1
{
2
- "private" : true ,
3
- "workspaces" : [
4
- " packages/*"
5
- ]
2
+ "name" : " root" ,
3
+ "private" : true ,
4
+ "devDependencies" : {
5
+ "lerna" : " ^3.19.0"
6
+ }
6
7
}
Original file line number Diff line number Diff line change 1
- # cra-template-typescript
1
+ # cra-template-wptheme- typescript
2
2
3
- This is the official TypeScript template for [ Create React App ] ( https://github.com/facebook /create-react-app ) .
3
+ This is the official TypeScript template for [ Create React WPTheme ] ( https://github.com/devloco /create-react-wptheme ) .
4
4
5
- To use this template, add ` --template typescript ` when creating a new app .
5
+ To use this template, add ` --template typescript ` when creating a new wp theme .
6
6
7
7
For example:
8
8
9
9
``` sh
10
- npx create-react-app my-app --template typescript
11
-
12
- # or
13
-
14
- yarn create react-app my-app --template typescript
10
+ npx create-react-wptheme my-theme --template typescript
15
11
```
16
-
17
- For more information, please refer to:
18
-
19
- - [ Getting Started] ( https://create-react-app.dev/docs/getting-started ) – How to create a new app.
20
- - [ User Guide] ( https://create-react-app.dev ) – How to develop apps bootstrapped with Create React App.
Original file line number Diff line number Diff line change 1
1
{
2
- "dependencies" : {
3
- "@testing-library/react" : " ^9.3.2" ,
4
- "@testing-library/jest-dom" : " ^4.2.4" ,
5
- "@testing-library/user-event" : " ^7.1.2" ,
6
- "@types/node" : " ^12.0.0" ,
7
- "@types/react" : " ^16.9.0" ,
8
- "@types/react-dom" : " ^16.9.0" ,
9
- "@types/jest" : " ^24.0.0" ,
10
- "typescript" : " ~3.7.2"
11
- }
2
+ "dependencies" : {
3
+ "@types/node" : " ^12.0.0" ,
4
+ "@types/react" : " ^16.9.0" ,
5
+ "@types/react-dom" : " ^16.9.0" ,
6
+ "typescript" : " ~3.7.2"
7
+ }
12
8
}
Original file line number Diff line number Diff line change 1
- # cra-template
1
+ # cra-template-wptheme
2
2
3
- This is the official base template for [ Create React App ] ( https://github.com/facebook /create-react-app ) .
3
+ This is the official base template for [ Create React WPTheme ] ( https://github.com/devloco /create-react-wptheme ) .
4
4
5
5
If you don't specify a template (for example, ` --template typescript ` ), this template will be used by default.
6
-
7
- For more information, please refer to:
8
-
9
- - [ Getting Started] ( https://create-react-app.dev/docs/getting-started ) – How to create a new app.
10
- - [ User Guide] ( https://create-react-app.dev ) – How to develop apps bootstrapped with Create React App.
Original file line number Diff line number Diff line change 1
1
{
2
- "dependencies" : {
3
- "@testing-library/react" : " ^9.3.2" ,
4
- "@testing-library/jest-dom" : " ^4.2.4" ,
5
- "@testing-library/user-event" : " ^7.1.2"
6
- }
2
+ "dependencies" : {}
7
3
}
You can’t perform that action at this time.
0 commit comments