Skip to content

Commit 8d14987

Browse files
committed
Make installation one liner.
1 parent dd64ef2 commit 8d14987

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.bowerrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"directory": "public/bower_components"
3+
}

public/bower.json renamed to bower.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"name": "webgit-client",
2+
"name": "gitonbrowser",
33
"authors": [
44
"pratyush <pratyushtamhankar@gmail.com>"
55
],
6-
"description": "Client side of the webgit project",
6+
"description": "Frontend of gitonbrowser",
77
"main": "",
88
"keywords": [
99
"GIT",
@@ -12,7 +12,7 @@
1212
"Control"
1313
],
1414
"license": "MIT",
15-
"homepage": "practicalpraty.com/tech/webgit",
15+
"homepage": "https://github.com/batprat/gitonbrowser",
1616
"private": true,
1717
"ignore": [
1818
"**/.*",
@@ -23,8 +23,8 @@
2323
],
2424
"dependencies": {
2525
"jquery": "3.2.1",
26-
"angular": "1.6.9",
27-
"angular-route": "^1.6.6",
26+
"angular": "1.7.0",
27+
"angular-route": "1.7.0",
2828
"moment": "latest",
2929
"bootstrap": "^4",
3030
"font-awesome": "4.7.0",

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
"version": "0.0.0",
44
"private": true,
55
"scripts": {
6+
"postinstall": "bower install",
67
"start": "node ./bin/www"
78
},
89
"dependencies": {
10+
"bower": "latest",
911
"body-parser": "^1.18.2",
1012
"cookie-parser": "~1.4.3",
1113
"debug": "~2.6.9",

0 commit comments

Comments
 (0)