Skip to content

Commit 8faa673

Browse files
Dawid BorutaDawid Boruta
authored andcommitted
fixes generator's commands
1 parent 907869e commit 8faa673

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Loaded templates: _templates
5050
To generate redux store item just run:
5151

5252
```sh
53-
npm run store:create:item
53+
npm run create:store:item
5454
```
5555

5656
and answer question:

packages/react-scripts/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Loaded templates: _templates
5050
To generate redux store item just run:
5151

5252
```sh
53-
npm run store:create:item
53+
npm run create:store:item
5454
```
5555

5656
and answer question:
@@ -74,7 +74,7 @@ Loaded templates: _templates
7474

7575
## Changelog
7676

77-
### 1.2.0
77+
### 1.2.1
7878
* Added component and redux store generators
7979

8080
### 1.1.1

packages/react-scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-scripts-redux-ts",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Configuration and scripts for Create React App.",
55
"repository": "diabelb/create-react-app-typescript-redux",
66
"license": "BSD-3-Clause",

packages/react-scripts/scripts/init.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ module.exports = function(
4141
build: 'react-scripts-ts build',
4242
test: 'react-scripts-ts test --env=jsdom',
4343
eject: 'react-scripts-ts eject',
44-
'component:create': './node_modules/hygen/lib/bin.js component create',
45-
'store:create:item': './node_modules/hygen/lib/bin.js store create'
46-
44+
'create:component': './node_modules/hygen/lib/bin.js component create',
45+
'create:store:item': './node_modules/hygen/lib/bin.js store create',
4746
};
4847

4948
appPackage.jest = {

0 commit comments

Comments
 (0)