Skip to content

Commit 420d607

Browse files
committed
added the files
1 parent 7f65226 commit 420d607

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"test": "echo \"Error: no test specified\" && exit 1",
88
"start": "webpack-dev-server --mode development ",
99
"dev": "webpack --mode development --output ./dist/leaf.js",
10-
"build": "webpack --mode production --output ./dist/leaf.js"
10+
"build": "webpack --mode production --output ./dist/leaf.js",
11+
"predeploy": "npm run build",
12+
"deploy": "gh-pages -d build"
1113
},
1214
"repository": {
1315
"type": "git",
@@ -23,13 +25,14 @@
2325
"bugs": {
2426
"url": "https://github.com/10secondsofcode/10secondsofcode.git/issues"
2527
},
26-
"homepage": "https://github.com/10secondsofcode/10secondsofcode.git#readme",
28+
"homepage": "http://10secondsofcode.github.io/10secondsofcode",
2729
"devDependencies": {
2830
"@babel/core": "^7.0.0",
2931
"@babel/preset-env": "^7.0.0",
3032
"@babel/preset-react": "^7.0.0",
3133
"babel-loader": "^8.0.2",
3234
"css-loader": "^1.0.0",
35+
"gh-pages": "^2.0.1",
3336
"html-loader": "^0.5.5",
3437
"html-webpack-plugin": "^3.2.0",
3538
"mini-css-extract-plugin": "^0.4.2",

0 commit comments

Comments
 (0)