Skip to content

Commit 80fcf7b

Browse files
committed
Add bower scaffolding for heroku
1 parent 2912c3a commit 80fcf7b

4 files changed

Lines changed: 55 additions & 0 deletions

File tree

.bowerrc

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

.buildpacks

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
https://github.com/heroku/heroku-buildpack-nodejs.git
2+
https://github.com/heroku/heroku-buildpack-ruby.git

bower.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "snap-cloud-dependencies",
3+
"version": "0.0.0",
4+
"homepage": "https://github.com/snap-cloud/snap-cloud",
5+
"authors": [
6+
"Michael Ball <cycomachead@gmail.com>"
7+
],
8+
"description": "Front end stuff for the snap-cloud app",
9+
"license": "MIT",
10+
"private": true,
11+
"dependencies": {
12+
"jquery": "~2.1.3",
13+
"pure": "~0.6.0",
14+
"jquery-ujs": "~1.0.3",
15+
"retinajs": "~1.3.0",
16+
"font-awesome": "~4.3.0"
17+
}
18+
}

package.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "snap-cloud",
3+
"version": "1.0.0",
4+
"description": "This controls the bower dependencies and build for the main rails app",
5+
"main": "index.js",
6+
"directories": {
7+
"doc": "doc",
8+
"test": "test"
9+
},
10+
"scripts": {
11+
"test": "echo \"Error: no test specified\" && exit 1"
12+
},
13+
"repository": {
14+
"type": "git",
15+
"url": "https://github.com/snap-cloud/snap-cloud.git"
16+
},
17+
"author": "Michael Ball",
18+
"license": "AGPL",
19+
"bugs": {
20+
"url": "https://github.com/snap-cloud/snap-cloud/issues"
21+
},
22+
"homepage": "https://github.com/snap-cloud/snap-cloud",
23+
"dependencies": {
24+
"bower": "^1.4.1"
25+
},
26+
"engine": {
27+
"node": "0.12.x"
28+
},
29+
"scripts": {
30+
"postinstall": "./node_modules/bower/bin/bower install"
31+
}
32+
}

0 commit comments

Comments
 (0)