mirror of
https://github.com/seigler/presentation-react-state-management
synced 2025-07-27 09:46:08 +00:00
33 lines
533 B
Markdown
33 lines
533 B
Markdown
# Presentation - React State Management
|
|
|
|
Joshua Seigler - October 2022
|
|
|
|
---
|
|
|
|
## Installation
|
|
|
|
`npm install`
|
|
|
|
## Usage
|
|
|
|
NPM scripts (run with <code>npm run <em>scriptname</em></code>)
|
|
|
|
### `start`
|
|
|
|
Run the project locally at http://localhost:1234 and watch for code changes
|
|
|
|
### `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`
|