Skip to content

Commit

Permalink
Readme and gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephs15 committed Apr 17, 2019
1 parent 33c9766 commit 1b838c7
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 38 deletions.
38 changes: 5 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

Trying out react hooks with [this Tutorial](https://medium.com/@dtkatz/react-hooks-tutorial-learn-by-building-b90ec4db2b8e)

## Available Scripts

In the project directory, you can run:

### `npm start`
### `yarn start`

Runs the app in the development mode.<br>
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.<br>
You will also see any lint errors in the console.

### `npm test`
### `yarn test`

Launches the test runner in the interactive watch mode.<br>
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`
### `yarn run build`

Builds the app for production to the `build` folder.<br>
It correctly bundles React in production mode and optimizes the build for the best performance.
Expand All @@ -36,33 +38,3 @@ If you aren’t satisfied with the build tool and configuration choices, you can
Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

### Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

### Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

### Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

### Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

### `npm run build` fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"gh-pages": "^2.0.1",
"react": "16.8.0-alpha.1",
"react-dom": "16.8.0-alpha.1",
"react-scripts": "2.1.8",
Expand All @@ -12,7 +13,9 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"predeploy": "yarn run build",
"deploy": "gh-pages -d build"
},
"eslintConfig": {
"extends": "react-app"
Expand All @@ -22,5 +25,6 @@
"not dead",
"not ie <= 11",
"not op_mini all"
]
],
"homepage": "https://stephs15.github.io/react-hooks-tutorial"
}
109 changes: 106 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,7 @@ async@^1.5.2:
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
integrity sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=

async@^2.1.4:
async@^2.1.4, async@^2.6.1:
version "2.6.2"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/async/-/async-2.6.2.tgz#18330ea7e6e313887f5d2f2a904bac6fe4dd5381"
integrity sha1-GDMOp+bjE4h/XS8qkEusb+TdU4E=
Expand Down Expand Up @@ -2452,7 +2452,7 @@ [email protected]:
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf"
integrity sha1-vXerfebelCBc6sxy8XFtKfIKd78=

commander@^2.11.0, commander@^2.19.0, commander@~2.20.0:
commander@^2.11.0, commander@^2.18.0, commander@^2.19.0, commander@~2.20.0:
version "2.20.0"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422"
integrity sha1-1YuytcHuj4ew00ACfp6U4iLFpCI=
Expand Down Expand Up @@ -3318,6 +3318,11 @@ elliptic@^6.0.0:
minimalistic-assert "^1.0.0"
minimalistic-crypto-utils "^1.0.0"

email-addresses@^3.0.1:
version "3.0.3"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/email-addresses/-/email-addresses-3.0.3.tgz#fc3c6952f68da24239914e982c8a7783bc2ed96d"
integrity sha1-/DxpUvaNokI5kU6YLIp3g7wu2W0=

emoji-regex@^6.5.1:
version "6.5.1"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/emoji-regex/-/emoji-regex-6.5.1.tgz#9baea929b155565c11ea41c6626eaa65cef992c2"
Expand Down Expand Up @@ -3914,6 +3919,28 @@ filename-regex@^2.0.0:
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26"
integrity sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=

filename-reserved-regex@^1.0.0:
version "1.0.0"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/filename-reserved-regex/-/filename-reserved-regex-1.0.0.tgz#e61cf805f0de1c984567d0386dc5df50ee5af7e4"
integrity sha1-5hz4BfDeHJhFZ9A4bcXfUO5a9+Q=

filenamify-url@^1.0.0:
version "1.0.0"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/filenamify-url/-/filenamify-url-1.0.0.tgz#b32bd81319ef5863b73078bed50f46a4f7975f50"
integrity sha1-syvYExnvWGO3MHi+1Q9GpPeXX1A=
dependencies:
filenamify "^1.0.0"
humanize-url "^1.0.0"

filenamify@^1.0.0:
version "1.2.1"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/filenamify/-/filenamify-1.2.1.tgz#a9f2ffd11c503bed300015029272378f1f1365a5"
integrity sha1-qfL/0RxQO+0wABUCknI3jx8TZaU=
dependencies:
filename-reserved-regex "^1.0.0"
strip-outer "^1.0.0"
trim-repeated "^1.0.0"

fileset@^2.0.2:
version "2.0.3"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/fileset/-/fileset-2.0.3.tgz#8e7548a96d3cc2327ee5e674168723a333bba2a0"
Expand Down Expand Up @@ -4221,6 +4248,20 @@ getpass@^0.1.1:
dependencies:
assert-plus "^1.0.0"

gh-pages@^2.0.1:
version "2.0.1"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/gh-pages/-/gh-pages-2.0.1.tgz#aefe47a43b8d9d2aa3130576b33fe95641e29a2f"
integrity sha1-rv5HpDuNnSqjEwV2sz/pVkHimi8=
dependencies:
async "^2.6.1"
commander "^2.18.0"
email-addresses "^3.0.1"
filenamify-url "^1.0.0"
fs-extra "^7.0.0"
globby "^6.1.0"
graceful-fs "^4.1.11"
rimraf "^2.6.2"

glob-base@^0.3.0:
version "0.3.0"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4"
Expand Down Expand Up @@ -4640,6 +4681,14 @@ https-browserify@^1.0.0:
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73"
integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=

humanize-url@^1.0.0:
version "1.0.1"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/humanize-url/-/humanize-url-1.0.1.tgz#f4ab99e0d288174ca4e1e50407c55fbae464efff"
integrity sha1-9KuZ4NKIF0yk4eUEB8VfuuRk7/8=
dependencies:
normalize-url "^1.0.0"
strip-url-auth "^1.0.0"

[email protected]:
version "0.4.23"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63"
Expand Down Expand Up @@ -5101,7 +5150,7 @@ is-path-inside@^1.0.0:
dependencies:
path-is-inside "^1.0.1"

is-plain-obj@^1.1.0:
is-plain-obj@^1.0.0, is-plain-obj@^1.1.0:
version "1.1.0"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e"
integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4=
Expand Down Expand Up @@ -6551,6 +6600,16 @@ normalize-range@^0.1.2:
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942"
integrity sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=

normalize-url@^1.0.0:
version "1.9.1"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/normalize-url/-/normalize-url-1.9.1.tgz#2cc0d66b31ea23036458436e3620d85954c66c3c"
integrity sha1-LMDWazHqIwNkWENuNiDYWVTGbDw=
dependencies:
object-assign "^4.0.1"
prepend-http "^1.0.0"
query-string "^4.1.0"
sort-keys "^1.0.0"

normalize-url@^3.0.0:
version "3.3.0"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559"
Expand Down Expand Up @@ -7766,6 +7825,11 @@ prelude-ls@~1.1.2:
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=

prepend-http@^1.0.0:
version "1.0.4"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc"
integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=

preserve@^0.2.0:
version "0.2.0"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
Expand Down Expand Up @@ -7933,6 +7997,14 @@ [email protected], qs@~6.5.2:
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
integrity sha1-yzroBuh0BERYTvFUzo7pjUA/PjY=

query-string@^4.1.0:
version "4.3.4"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/query-string/-/query-string-4.3.4.tgz#bbb693b9ca915c232515b228b1a02b609043dbeb"
integrity sha1-u7aTucqRXCMlFbIosaArYJBD2+s=
dependencies:
object-assign "^4.1.0"
strict-uri-encode "^1.0.0"

querystring-es3@^0.2.0:
version "0.2.1"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73"
Expand Down Expand Up @@ -8839,6 +8911,13 @@ [email protected]:
faye-websocket "^0.10.0"
uuid "^3.0.1"

sort-keys@^1.0.0:
version "1.1.2"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/sort-keys/-/sort-keys-1.1.2.tgz#441b6d4d346798f1b4e49e8920adfba0e543f9ad"
integrity sha1-RBttTTRnmPG05J6JIK37oOVD+a0=
dependencies:
is-plain-obj "^1.0.0"

source-list-map@^2.0.0:
version "2.0.1"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34"
Expand Down Expand Up @@ -9038,6 +9117,11 @@ stream-shift@^1.0.0:
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952"
integrity sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI=

strict-uri-encode@^1.0.0:
version "1.1.0"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713"
integrity sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=

string-length@^2.0.0:
version "2.0.0"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/string-length/-/string-length-2.0.0.tgz#d40dbb686a3ace960c1cffca562bf2c45f8363ed"
Expand Down Expand Up @@ -9153,6 +9237,18 @@ strip-json-comments@^2.0.1, strip-json-comments@~2.0.1:
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo=

strip-outer@^1.0.0:
version "1.0.1"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/strip-outer/-/strip-outer-1.0.1.tgz#b2fd2abf6604b9d1e6013057195df836b8a9d631"
integrity sha1-sv0qv2YEudHmATBXGV34Nrip1jE=
dependencies:
escape-string-regexp "^1.0.2"

strip-url-auth@^1.0.0:
version "1.0.1"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/strip-url-auth/-/strip-url-auth-1.0.1.tgz#22b0fa3a41385b33be3f331551bbb837fa0cd7ae"
integrity sha1-IrD6OkE4WzO+PzMVUbu4N/oM164=

[email protected]:
version "0.23.1"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/style-loader/-/style-loader-0.23.1.tgz#cb9154606f3e771ab6c4ab637026a1049174d925"
Expand Down Expand Up @@ -9446,6 +9542,13 @@ tr46@^1.0.1:
dependencies:
punycode "^2.1.0"

trim-repeated@^1.0.0:
version "1.0.0"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/trim-repeated/-/trim-repeated-1.0.0.tgz#e3646a2ea4e891312bf7eace6cfb05380bc01c21"
integrity sha1-42RqLqTokTEr9+rObPsFOAvAHCE=
dependencies:
escape-string-regexp "^1.0.2"

trim-right@^1.0.1:
version "1.0.1"
resolved "https://bin.private.zooplus.net:443/artifactory/api/npm/npm-virtual/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003"
Expand Down

0 comments on commit 1b838c7

Please sign in to comment.