mirror of
https://github.com/seigler/presentation-react-state-management
synced 2025-07-27 01:36:09 +00:00
start useState
This commit is contained in:
parent
98ab1bce45
commit
2a4cd44504
8 changed files with 168 additions and 18 deletions
22
README.md
22
README.md
|
@ -10,10 +10,24 @@ Joshua Seigler - October 2022
|
|||
|
||||
## Usage
|
||||
|
||||
`npm run start` for development or local hosting
|
||||
NPM scripts (run with <code>npm run <em>scriptname</em></code>)
|
||||
|
||||
`npm run build` to populate `./dist` with a packaged build, ready for upload
|
||||
### `start`
|
||||
|
||||
`npm run clean` to delete `./dist` and various cache folders
|
||||
Run the project locally at http://localhost:1234 and watch for code changes
|
||||
|
||||
`npm run publish` to upload `./dist` to the GitHub Pages branch
|
||||
### `publish`
|
||||
|
||||
Runs scripts `clean`, `build`, and `deploy` in order.
|
||||
|
||||
### `clean`
|
||||
|
||||
Deletes `./dist`
|
||||
|
||||
### `build`
|
||||
|
||||
Populate `./dist` with a packaged build, ready for upload
|
||||
|
||||
### `deploy`
|
||||
|
||||
Replace the contents of branch `gh-pages` with the contents of `./dist`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue