Skip to content

Commit f61971b

Browse files
committed
adds github pages
1 parent ae9e9fd commit f61971b

File tree

3 files changed

+278
-18
lines changed

3 files changed

+278
-18
lines changed

Procfile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: node index.js

package-lock.json

+268-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+9-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
"version": "0.1.0",
44
"description": "Decentralized Rating",
55
"author": "",
6-
"homepage": ".",
76
"dependencies": {
87
"@openzeppelin/contracts": "3.3.0",
9-
"@truffle/hdwallet-provider": "1.1.0",
8+
"@truffle/hdwallet-provider": "^1.2.3",
109
"babel-polyfill": "6.26.0",
1110
"babel-preset-env": "1.7.0",
1211
"babel-preset-es2015": "6.24.1",
@@ -26,11 +25,14 @@
2625
"truffle-hdwallet-provider-privkey": "0.3.0",
2726
"web3": "1.2.6"
2827
},
28+
"homepage": "http://Dimnir.github.io/ratechain",
2929
"scripts": {
3030
"start": "react-scripts start",
3131
"build": "react-scripts build",
3232
"test": "react-scripts test",
33-
"eject": "react-scripts eject"
33+
"eject": "react-scripts eject",
34+
"predeploy": "npm run build",
35+
"deploy": "gh-pages -d build"
3436
},
3537
"eslintConfig": {
3638
"extends": "react-app"
@@ -40,5 +42,8 @@
4042
"not dead",
4143
"not ie <= 11",
4244
"not op_mini all"
43-
]
45+
],
46+
"devDependencies": {
47+
"gh-pages": "^3.1.0"
48+
}
4449
}

0 commit comments

Comments
 (0)