Skip to content

Commit bd4493d

Browse files
committed
gh pages & scripts & readme
1 parent ee5b0a0 commit bd4493d

File tree

3 files changed

+176
-4
lines changed

3 files changed

+176
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# react-quizzes
22

33
[![MIT License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=plastic)](http://opensource.org/licenses/MIT)
4-
[![npm version](https://img.shields.io/badge/npm-v0.2.0-green.svg?style=plastic)](https://www.npmjs.com/package/react-quizzes)
4+
[![npm version](https://img.shields.io/badge/npm-v0.3.0-green.svg?style=plastic)](https://www.npmjs.com/package/react-quizzes)
55

66
Demo:
77
[![Edit react-quizzesExample](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/magical-chandrasekhar-88del?fontsize=14&hidenavigation=1&theme=dark)

package-lock.json

Lines changed: 168 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
},
2626
"homepage": "https://github.com/hugobarragon/react-quizzes",
2727
"dependencies": {
28-
"@types/hoist-non-react-statics": "^3.3.1",
2928
"@types/lodash.clonedeep": "^4.5.6",
3029
"@types/lodash.isequal": "^4.5.5",
3130
"@types/node": "12.12.3",
@@ -40,10 +39,12 @@
4039
"uuid": "^3.4.0"
4140
},
4241
"devDependencies": {
42+
"@types/hoist-non-react-statics": "^3.3.1",
4343
"@types/jest": "^24.9.1",
4444
"@types/react": "^16.14.8",
4545
"@types/react-dom": "^16.9.13",
4646
"copyfiles": "^2.4.1",
47+
"gh-pages": "^3.2.1",
4748
"react": "^16.14.0",
4849
"react-dom": "^16.14.0",
4950
"react-scripts": "^3.4.4",
@@ -55,8 +56,11 @@
5556
},
5657
"scripts": {
5758
"start": "react-scripts start",
58-
"build": "tsc -p ./tsconfig.compile.json",
59-
"postbuild": "copyfiles -u 1 src/**/*.css lib/",
59+
"build": "react-scripts build",
60+
"compile": "tsc -p ./tsconfig.compile.json",
61+
"postcompile": "copyfiles -u 1 src/**/*.css lib/",
62+
"predeploy": "npm run build",
63+
"deploy": "gh-pages -d build",
6064
"test": "react-scripts test",
6165
"eject": "react-scripts eject"
6266
},

0 commit comments

Comments
 (0)